classiq 0.80.0__py3-none-any.whl → 0.81.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. classiq/interface/_version.py +1 -1
  2. classiq/interface/debug_info/debug_info.py +0 -1
  3. classiq/interface/generator/compiler_keywords.py +1 -1
  4. classiq/interface/generator/expressions/atomic_expression_functions.py +11 -7
  5. classiq/interface/generator/expressions/proxies/classical/classical_array_proxy.py +6 -2
  6. classiq/interface/generator/function_params.py +1 -1
  7. classiq/interface/generator/functions/classical_type.py +8 -0
  8. classiq/interface/generator/generated_circuit_data.py +1 -2
  9. classiq/interface/generator/types/compilation_metadata.py +4 -1
  10. classiq/interface/model/handle_binding.py +12 -2
  11. classiq/interface/model/quantum_type.py +12 -1
  12. classiq/interface/server/routes.py +0 -1
  13. classiq/model_expansions/atomic_expression_functions_defs.py +1 -1
  14. classiq/model_expansions/capturing/captured_vars.py +123 -9
  15. classiq/model_expansions/closure.py +2 -0
  16. classiq/model_expansions/evaluators/quantum_type_utils.py +3 -18
  17. classiq/model_expansions/function_builder.py +1 -17
  18. classiq/model_expansions/quantum_operations/allocate.py +18 -7
  19. classiq/model_expansions/quantum_operations/assignment_result_processor.py +4 -0
  20. classiq/model_expansions/quantum_operations/bind.py +2 -1
  21. classiq/model_expansions/quantum_operations/call_emitter.py +27 -21
  22. classiq/model_expansions/quantum_operations/emitter.py +28 -0
  23. classiq/model_expansions/quantum_operations/function_calls_cache.py +1 -16
  24. classiq/model_expansions/transformers/type_qualifier_inference.py +72 -19
  25. classiq/model_expansions/visitors/symbolic_param_inference.py +0 -6
  26. classiq/open_library/functions/amplitude_amplification.py +3 -5
  27. classiq/open_library/functions/state_preparation.py +18 -13
  28. classiq/qmod/builtins/functions/__init__.py +3 -1
  29. classiq/qmod/builtins/functions/exponentiation.py +41 -3
  30. classiq/qmod/builtins/operations.py +65 -37
  31. classiq/qmod/declaration_inferrer.py +2 -1
  32. classiq/qmod/native/pretty_printer.py +8 -9
  33. classiq/qmod/pretty_print/pretty_printer.py +9 -9
  34. classiq/qmod/qfunc.py +11 -11
  35. classiq/qmod/quantum_expandable.py +4 -0
  36. {classiq-0.80.0.dist-info → classiq-0.81.0.dist-info}/METADATA +1 -1
  37. {classiq-0.80.0.dist-info → classiq-0.81.0.dist-info}/RECORD +38 -40
  38. classiq/interface/execution/resource_estimator.py +0 -7
  39. classiq/interface/execution/result.py +0 -5
  40. {classiq-0.80.0.dist-info → classiq-0.81.0.dist-info}/WHEEL +0 -0
@@ -6,6 +6,7 @@ from typing import (
6
6
  Any,
7
7
  Callable,
8
8
  Final,
9
+ NoReturn,
9
10
  Union,
10
11
  overload,
11
12
  )
@@ -16,6 +17,7 @@ from classiq.interface.generator.functions.builtins.internal_operators import (
16
17
  REPEAT_OPERATOR_NAME,
17
18
  )
18
19
  from classiq.interface.generator.functions.classical_type import Integer
20
+ from classiq.interface.helpers.text_utils import s
19
21
  from classiq.interface.model.allocate import Allocate
20
22
  from classiq.interface.model.bind_operation import BindOperation
21
23
  from classiq.interface.model.classical_if import ClassicalIf
@@ -322,7 +324,7 @@ def within_apply(
322
324
  def repeat(
323
325
  count: Union[SymbolicExpr, int], iteration: Callable[[int], Statements]
324
326
  ) -> None:
325
- _validate_operand(iteration)
327
+ _validate_operand(iteration, num_params=1)
326
328
  assert QCallable.CURRENT_EXPANDABLE is not None
327
329
  source_ref = get_source_ref(sys._getframe(1))
328
330
  iteration_operand = prepare_arg(
@@ -396,54 +398,80 @@ def phase(expr: SymbolicExpr, theta: float = 1.0) -> None:
396
398
  )
397
399
 
398
400
 
399
- def _validate_operand(stmt_block: Any) -> None:
400
- if stmt_block is not None:
401
+ def _validate_operand(stmt_block: Any, num_params: int = 0) -> None:
402
+ if stmt_block is None:
403
+ _raise_operand_error(
404
+ lambda operation_name, operand_arg_name: (
405
+ f"{operation_name!r} is missing required argument for "
406
+ f"parameter {operand_arg_name!r}"
407
+ ),
408
+ num_params,
409
+ )
410
+ if isinstance(stmt_block, QCallable):
401
411
  return
402
- currentframe: FrameType = inspect.currentframe() # type: ignore[assignment]
412
+ op_spec = inspect.getfullargspec(stmt_block)
413
+ params = op_spec.args[: len(op_spec.args) - len(op_spec.defaults or ())]
414
+ if len(params) > num_params or (
415
+ len(params) < num_params and op_spec.varargs is None
416
+ ):
417
+ _raise_operand_error(
418
+ lambda operation_name, operand_arg_name: (
419
+ f"{operation_name!r} argument for {operand_arg_name!r} has "
420
+ f"{len(params)} parameter{s(params)} but {num_params} expected"
421
+ ),
422
+ num_params,
423
+ )
424
+
425
+
426
+ def _raise_operand_error(
427
+ error_template: Callable[[str, str], str], num_params: int
428
+ ) -> NoReturn:
429
+ currentframe: FrameType = inspect.currentframe().f_back # type: ignore[assignment,union-attr]
403
430
  operation_frame: FrameType = currentframe.f_back # type: ignore[assignment]
404
431
  operation_frame_info: inspect.Traceback = inspect.getframeinfo(operation_frame)
405
432
  operation_name: str = operation_frame_info.function
406
-
407
433
  context = operation_frame_info.code_context
408
434
  assert context is not None
409
- operand_arg_name = context[0].split("_validate_operand(")[1].split(")")[0]
410
-
411
- error_message = (
412
- f"{operation_name!r} is missing required argument for {operand_arg_name!r}."
435
+ operand_arg_name = (
436
+ context[0].split("_validate_operand(")[1].split(")")[0].split(",")[0]
413
437
  )
414
- error_message += _get_operand_hint(
415
- operation_name=operation_name,
416
- operand_arg_name=operand_arg_name,
417
- params=inspect.signature(operation_frame.f_globals[operation_name]).parameters,
418
- )
419
- raise ClassiqValueError(error_message)
420
-
421
-
422
- def _get_operand_hint_args(
423
- params: Mapping[str, inspect.Parameter], operand_arg_name: str, operand_value: str
424
- ) -> str:
425
- return ", ".join(
426
- [
427
- (
428
- f"{param.name}={operand_value}"
429
- if param.name == operand_arg_name
430
- else f"{param.name}=..."
431
- )
432
- for param in params.values()
433
- if param.name != "operand" # FIXME: Remove compatibility (CAD-21932)
434
- ]
438
+ operation_parameters = inspect.signature(
439
+ operation_frame.f_globals[operation_name]
440
+ ).parameters
441
+ raise ClassiqValueError(
442
+ error_template(operation_name, operand_arg_name)
443
+ + _get_operand_hint(
444
+ operation_name=operation_name,
445
+ operand_arg_name=operand_arg_name,
446
+ params=operation_parameters,
447
+ num_params=num_params,
448
+ )
435
449
  )
436
450
 
437
451
 
438
452
  def _get_operand_hint(
439
- operation_name: str, operand_arg_name: str, params: Mapping[str, inspect.Parameter]
453
+ operation_name: str,
454
+ operand_arg_name: str,
455
+ params: Mapping[str, inspect.Parameter],
456
+ num_params: int,
440
457
  ) -> str:
441
- return (
442
- f"\nHint: To call a function under {operation_name!r} use a lambda function as in "
443
- f"'{operation_name}({_get_operand_hint_args(params, operand_arg_name, 'lambda: f(q)')})' "
444
- f"or pass the quantum function directly as in "
445
- f"'{operation_name}({_get_operand_hint_args(params, operand_arg_name, 'f')})'."
446
- )
458
+ if operation_name == "repeat":
459
+ operand_params = " i"
460
+ else:
461
+ operand_params = (
462
+ ""
463
+ if num_params == 0
464
+ else f" {', '.join([f'p{i}' for i in range(num_params)])}"
465
+ )
466
+ args = [
467
+ (
468
+ f"{param.name}=lambda{operand_params}: ..."
469
+ if param.name == operand_arg_name
470
+ else f"{param.name}=..."
471
+ )
472
+ for param in params.values()
473
+ ]
474
+ return f"\nHint: Write '{operation_name}({', '.join(args)})'"
447
475
 
448
476
 
449
477
  def _operand_to_body(
@@ -175,7 +175,8 @@ def _get_param_name(py_type_args: Any) -> Optional[str]:
175
175
  def _validate_annotations(py_type_args: Any, py_type: Any) -> None:
176
176
  for arg in py_type_args[1:-1]:
177
177
  if (
178
- isinstance(arg, str) and not isinstance(arg, PortDeclarationDirection)
178
+ isinstance(arg, str)
179
+ and not isinstance(arg, (PortDeclarationDirection, TypeQualifier))
179
180
  ) or arg is Literal:
180
181
  raise ClassiqValueError(
181
182
  f"Operand parameter declaration must be of the form <param-type> or "
@@ -144,20 +144,19 @@ class DSLPrettyPrinter(ModelVisitor):
144
144
  )
145
145
  return f"({positional_args})"
146
146
 
147
- def _get_decl_string(self, func_decl: QuantumFunctionDeclaration) -> str:
148
- no_qualifiers_decl = "qfunc"
147
+ def _get_unchecked_string(self, func_decl: QuantumFunctionDeclaration) -> str:
149
148
  if func_decl.name not in self._compilation_metadata:
150
- return no_qualifiers_decl
151
- atomic_qualifiers = self._compilation_metadata[func_decl.name].atomic_qualifiers
152
- if len(atomic_qualifiers) == 0:
153
- return no_qualifiers_decl
154
- return f"atomic_qualifiers ({', '.join(atomic_qualifiers)})\n" f"qfunc"
149
+ return ""
150
+ unchecked = self._compilation_metadata[func_decl.name].unchecked
151
+ if len(unchecked) == 0:
152
+ return ""
153
+ return f" unchecked ({', '.join(unchecked)})\n"
155
154
 
156
155
  def visit_QuantumFunctionDeclaration(
157
156
  self, func_decl: QuantumFunctionDeclaration
158
157
  ) -> str:
159
- qfunc_decl = self._get_decl_string(func_decl)
160
- return f"{qfunc_decl} {func_decl.name}{self._visit_arg_decls(func_decl)}"
158
+ unchecked = self._get_unchecked_string(func_decl)
159
+ return f"qfunc {func_decl.name}{self._visit_arg_decls(func_decl)}{unchecked}"
161
160
 
162
161
  def visit_EnumDeclaration(self, enum_decl: EnumDeclaration) -> str:
163
162
  return f"enum {enum_decl.name} {{\n{self._visit_members(enum_decl.members)}}}\n"
@@ -203,16 +203,16 @@ class PythonPrettyPrinter(ModelVisitor):
203
203
  )
204
204
 
205
205
  def _get_qfunc_decorator(self, func_decl: QuantumFunctionDeclaration) -> str:
206
- no_qualifiers_decorator = "@qfunc"
206
+ no_unchecked_decorator = "@qfunc"
207
207
  if func_decl.name not in self._compilation_metadata:
208
- return no_qualifiers_decorator
209
- atomic_qualifiers = self._compilation_metadata[func_decl.name].atomic_qualifiers
210
- if len(atomic_qualifiers) == 0:
211
- return no_qualifiers_decorator
212
-
213
- qualifiers = (f'"{qualifier}"' for qualifier in atomic_qualifiers)
214
- qualifier_list = f"[{', '.join(qualifiers)}]"
215
- return no_qualifiers_decorator + f" (atomic_qualifiers={qualifier_list})"
208
+ return no_unchecked_decorator
209
+ unchecked = self._compilation_metadata[func_decl.name].unchecked
210
+ if len(unchecked) == 0:
211
+ return no_unchecked_decorator
212
+
213
+ unchecked_qualifiers = (f'"{qualifier}"' for qualifier in unchecked)
214
+ unchecked_list = f"[{', '.join(unchecked_qualifiers)}]"
215
+ return no_unchecked_decorator + f" (unchecked={unchecked_list})"
216
216
 
217
217
  def visit_QuantumFunctionDeclaration(
218
218
  self, func_decl: QuantumFunctionDeclaration
classiq/qmod/qfunc.py CHANGED
@@ -22,7 +22,7 @@ def qfunc(
22
22
  *,
23
23
  external: Literal[True],
24
24
  synthesize_separately: Literal[False] = False,
25
- atomic_qualifiers: Optional[list[str]] = None,
25
+ unchecked: Optional[list[str]] = None,
26
26
  ) -> Callable[[Callable], ExternalQFunc]: ...
27
27
 
28
28
 
@@ -31,13 +31,13 @@ def qfunc(
31
31
  *,
32
32
  generative: Literal[False],
33
33
  synthesize_separately: bool = False,
34
- atomic_qualifiers: Optional[list[str]] = None,
34
+ unchecked: Optional[list[str]] = None,
35
35
  ) -> Callable[[Callable], QFunc]: ...
36
36
 
37
37
 
38
38
  @overload
39
39
  def qfunc(
40
- *, synthesize_separately: bool, atomic_qualifiers: Optional[list[str]] = None
40
+ *, synthesize_separately: bool, unchecked: Optional[list[str]] = None
41
41
  ) -> Callable[[Callable], GenerativeQFunc]: ...
42
42
 
43
43
 
@@ -45,7 +45,7 @@ def qfunc(
45
45
  def qfunc(
46
46
  *,
47
47
  synthesize_separately: bool = False,
48
- atomic_qualifiers: Optional[list[str]] = None,
48
+ unchecked: Optional[list[str]] = None,
49
49
  ) -> Callable[[Callable], GenerativeQFunc]: ...
50
50
 
51
51
 
@@ -55,7 +55,7 @@ def qfunc(
55
55
  external: bool = False,
56
56
  generative: Optional[bool] = None,
57
57
  synthesize_separately: bool = False,
58
- atomic_qualifiers: Optional[list[str]] = None,
58
+ unchecked: Optional[list[str]] = None,
59
59
  ) -> Union[Callable[[Callable], QCallable], QCallable]:
60
60
  if generative is True:
61
61
  warnings.warn(
@@ -82,7 +82,7 @@ def qfunc(
82
82
  qfunc: BaseQFunc
83
83
 
84
84
  if external:
85
- _validate_directives(synthesize_separately, atomic_qualifiers)
85
+ _validate_directives(synthesize_separately, unchecked)
86
86
  return ExternalQFunc(func)
87
87
 
88
88
  if generative:
@@ -91,8 +91,8 @@ def qfunc(
91
91
  qfunc = QFunc(func)
92
92
  if synthesize_separately:
93
93
  qfunc.update_compilation_metadata(should_synthesize_separately=True)
94
- if atomic_qualifiers is not None and len(atomic_qualifiers) > 0:
95
- qfunc.update_compilation_metadata(atomic_qualifiers=atomic_qualifiers)
94
+ if unchecked is not None and len(unchecked) > 0:
95
+ qfunc.update_compilation_metadata(unchecked=unchecked)
96
96
  return qfunc
97
97
 
98
98
  if func is not None:
@@ -101,12 +101,12 @@ def qfunc(
101
101
 
102
102
 
103
103
  def _validate_directives(
104
- synthesize_separately: bool, atomic_qualifiers: Optional[list[str]] = None
104
+ synthesize_separately: bool, unchecked: Optional[list[str]] = None
105
105
  ) -> None:
106
106
  error_msg = ""
107
107
  if synthesize_separately:
108
108
  error_msg += "External functions can't be marked as synthesized separately. \n"
109
- if atomic_qualifiers is not None and len(atomic_qualifiers) > 0:
110
- error_msg += "External functions can't have atomic qualifiers."
109
+ if unchecked is not None and len(unchecked) > 0:
110
+ error_msg += "External functions can't have unchecked qualifiers."
111
111
  if error_msg:
112
112
  raise ClassiqInternalError(error_msg)
@@ -21,6 +21,9 @@ from typing_extensions import Self
21
21
 
22
22
  from classiq.interface.exceptions import ClassiqInternalError, ClassiqValueError
23
23
  from classiq.interface.generator.expressions.expression import Expression
24
+ from classiq.interface.generator.expressions.proxies.classical.qmod_struct_instance import (
25
+ QmodStructInstance,
26
+ )
24
27
  from classiq.interface.generator.functions.concrete_types import (
25
28
  NativePythonClassicalTypes,
26
29
  PythonClassicalPydanticTypes,
@@ -394,6 +397,7 @@ def _validate_classical_arg(
394
397
  )
395
398
  and not _is_legal_iterable(arg)
396
399
  and not is_dataclass(arg) # type: ignore[unreachable]
400
+ and not isinstance(arg, QmodStructInstance)
397
401
  )
398
402
  try:
399
403
  is_pydantic_classical_type = isinstance(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: classiq
3
- Version: 0.80.0
3
+ Version: 0.81.0
4
4
  Summary: Classiq's Python SDK for quantum computing
5
5
  License: Proprietary
6
6
  Keywords: quantum computing,quantum circuits,quantum algorithms,QAD,QDL
@@ -92,7 +92,7 @@ classiq/execution/qnn.py,sha256=BjwJw0LXr_I_eeZuXrFTpNVcs6pFBCvzsys8ZraRZZg,2373
92
92
  classiq/execution/user_budgets.py,sha256=FY21S7fh6KwBFw5YcZhzWzIktIMifMOLc-fO772EmxE,1184
93
93
  classiq/executor.py,sha256=uLr1640-DZtdPP0T6fCsmUf1Jj7QPumyoE09mJ8lVo0,2308
94
94
  classiq/interface/__init__.py,sha256=cg7hD_XVu1_jJ1fgwmT0rMIoZHopNVeB8xtlmMx-E_A,83
95
- classiq/interface/_version.py,sha256=her2eLdzZqx-ZTzaN5ndZ-ik1OLRQOAcVwLEfa4DNVM,197
95
+ classiq/interface/_version.py,sha256=TKmDU2L_TTzt9MBR8Quyy7bepvvJDlCgTBbwmdB_bAM,197
96
96
  classiq/interface/analyzer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
97
  classiq/interface/analyzer/analysis_params.py,sha256=dM5rwSks798cxk4FWe4_X5ToRYtgZQh34F1u0XrFkK8,3881
98
98
  classiq/interface/analyzer/cytoscape_graph.py,sha256=MpeRBIYS1TfwYwiFpgTO51IE0KoxhY510pmEM3S0rbw,2361
@@ -143,14 +143,12 @@ classiq/interface/combinatorial_optimization/solver_types.py,sha256=kcLt80fQucq_
143
143
  classiq/interface/compression_utils.py,sha256=rX4sD4_8C-liWqBICuE6VaT38yjUK_FneSA5GUmPF2A,973
144
144
  classiq/interface/debug_info/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
145
145
  classiq/interface/debug_info/back_ref_util.py,sha256=plWBiBMfFIY6aYAR3NVYComsY394ysLVdk_yFy1qcC4,791
146
- classiq/interface/debug_info/debug_info.py,sha256=mX-P1k-YAyDBZ8xMuKPBauzoMFGSxPYfL_LQ3kju-zE,4753
146
+ classiq/interface/debug_info/debug_info.py,sha256=xkDfEeMDPPExABXgkxVHuQSYOIT1f6WNCYMZcQqs_gY,4701
147
147
  classiq/interface/enum_utils.py,sha256=QxkxLGgON8vdSzLZzHFlPEBJoGOqoIwpESEfLfRqN0w,312
148
148
  classiq/interface/exceptions.py,sha256=fXl3esnLP03zds09BLxIJSN4aIwx2PVPX0Do8awfLjg,4418
149
149
  classiq/interface/execution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
150
150
  classiq/interface/execution/iqcc.py,sha256=pS4c4y37i8NtKRcXDtamdir7021A82w0gSw5Ar368kQ,838
151
151
  classiq/interface/execution/primitives.py,sha256=HU0-ZjlFfL6DVtOHPqSwDxSwEJhGoceXH_6IjJE9k7k,631
152
- classiq/interface/execution/resource_estimator.py,sha256=YJRuk9lAkhpwqegjyOrxvEY1TgHzvPnXCMAd-MQC6GE,144
153
- classiq/interface/execution/result.py,sha256=6TduBhKFw8j7Yxcgn9d2MA0lm82sEcfY1yWIKUOdHro,139
154
152
  classiq/interface/executor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
155
153
  classiq/interface/executor/constants.py,sha256=DtSx-1HArWE0hHjOZHY9WJBevt3hP7M8SrYO3eM3dgo,31
156
154
  classiq/interface/executor/estimation.py,sha256=lJEmN3Uj9bW0EY7JEZvzItwEybbBHSn7zYFz89L8fqo,389
@@ -210,7 +208,7 @@ classiq/interface/generator/circuit_code/circuit_code.py,sha256=B9k2du6_fo_-bItN
210
208
  classiq/interface/generator/circuit_code/types_and_constants.py,sha256=BVodYSj6CSXATNDaVkwpBls0NuXtPWzj9UfKp8Sx-hM,1414
211
209
  classiq/interface/generator/circuit_outline.py,sha256=w67uw-cQw5DlZBmzh2XC_Vi5yAvFWB2qxVLVrR2JHII,213
212
210
  classiq/interface/generator/commuting_pauli_exponentiation.py,sha256=prx80q_d3d8M3_Qsvy-o70VLa4wcxVsjyVoM1YMULiQ,1728
213
- classiq/interface/generator/compiler_keywords.py,sha256=b-rNQf4LWd2MJdVSrfOrR3mGdblYi367DTj8XOhrrC0,245
211
+ classiq/interface/generator/compiler_keywords.py,sha256=bDcNqbRsOMABA0JXoMJ5AKWLGS-vFbti2mnW4fCu-io,235
214
212
  classiq/interface/generator/complex_type.py,sha256=tQ-2vUkXhpWz7dOMmcRTfd3tMJfXDvFkdy-KkQwe2FA,480
215
213
  classiq/interface/generator/constant.py,sha256=cLhRil6sof0UyYRU4lKdm_aBRcmmz7dtvX5bbNpb7N8,309
216
214
  classiq/interface/generator/control_state.py,sha256=eioObKxQt-g69NF3_-2QhLwO2mA5BIkFJnvqolwGFxk,2745
@@ -221,7 +219,7 @@ classiq/interface/generator/entangler_params.py,sha256=wU5fzmTQ-sinEwsswdjsnX9_I
221
219
  classiq/interface/generator/entanglers.py,sha256=MYA87sgpZPfu68qUO9Zb0Asln1HOiVMrVj9UArX8vOI,421
222
220
  classiq/interface/generator/excitations.py,sha256=Cc7puR-ufPCvPyNoxBSlnYh3K8y6PFXE4nZwOJjUzek,163
223
221
  classiq/interface/generator/expressions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
224
- classiq/interface/generator/expressions/atomic_expression_functions.py,sha256=hRtBbuOF7TV-3a1d0WaTgBQKcOecXaTOCmrqB5OnaeI,1041
222
+ classiq/interface/generator/expressions/atomic_expression_functions.py,sha256=IeOhSmya32FaauKGUHFDbMbklMRfPK4ayzfHCjWDOX8,1126
225
223
  classiq/interface/generator/expressions/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
226
224
  classiq/interface/generator/expressions/enums/finance_functions.py,sha256=KTeQta7FNyY7ZcNBao7ZzfteNK5lFFCKjT72oKkHp5E,412
227
225
  classiq/interface/generator/expressions/evaluated_expression.py,sha256=XQ5pLPoDC5zP9i1pgvibwhm6ToJ3Jkwi53gndZn-F6A,2404
@@ -233,7 +231,7 @@ classiq/interface/generator/expressions/non_symbolic_expr.py,sha256=9JzU1y6oYmDj
233
231
  classiq/interface/generator/expressions/proxies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
234
232
  classiq/interface/generator/expressions/proxies/classical/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
235
233
  classiq/interface/generator/expressions/proxies/classical/any_classical_value.py,sha256=J5y_Gz4NvkUfSslcM7beBxgzyncVeUacf_5XkYIejyM,1370
236
- classiq/interface/generator/expressions/proxies/classical/classical_array_proxy.py,sha256=h8G_j__MBY874DlswgXUzGttBK_piYoICLB1Y2ARFZQ,5671
234
+ classiq/interface/generator/expressions/proxies/classical/classical_array_proxy.py,sha256=BIHLwj1diTPRYYJvpiKom9AAYT9ffUhs2InOD9timG0,5824
237
235
  classiq/interface/generator/expressions/proxies/classical/classical_proxy.py,sha256=2FQ5d37i2BxzfTG1HrboxhUaYxH6MFKAD-Gw-ojd6Rg,691
238
236
  classiq/interface/generator/expressions/proxies/classical/classical_scalar_proxy.py,sha256=S0ydGd4QN5x3zCqTwkj5-cOBJzjeJo0-C4JEcU3bteg,1059
239
237
  classiq/interface/generator/expressions/proxies/classical/classical_struct_proxy.py,sha256=Teu-x20UBPvh4CbDb75-zX5ZxZld0mFrju7tlBEuPUA,1256
@@ -250,19 +248,19 @@ classiq/interface/generator/finance.py,sha256=qlaBNQomMaxkbHjxXKZ2O9w9LK3im4_hyG
250
248
  classiq/interface/generator/function_param_library.py,sha256=MzxtngUMoyRxxTZ3CRH_OR23Q5S-cxuxDsH0qwY-ZiM,630
251
249
  classiq/interface/generator/function_param_list.py,sha256=C__iX_ETyhm6B-ecfzFUQY7Tyz6aMVWx8_6ZUQuPg3M,503
252
250
  classiq/interface/generator/function_param_list_without_self_reference.py,sha256=RE2eQ__0defLCHUQtFGzglAGFoDghFv0n7dUXLzuX04,5667
253
- classiq/interface/generator/function_params.py,sha256=qo0JrN5nbNmh3nB2WUMftMS-c4o-oCh6KnljLBe7bLg,9677
251
+ classiq/interface/generator/function_params.py,sha256=GNWfJu_lmcNIZni6PwT0RvsQz0pVrvWiWzfPAnWRneI,9679
254
252
  classiq/interface/generator/functions/__init__.py,sha256=HXHq8Fw2zHG3AYuRXrDEQdJ-CEFX7ibsNCp8czuCmmM,73
255
253
  classiq/interface/generator/functions/builtins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
256
254
  classiq/interface/generator/functions/builtins/internal_operators.py,sha256=m9x89AuTbZ51P1UcTDOACZ4PLNDx1mA0KeH7lCZy_uc,461
257
255
  classiq/interface/generator/functions/classical_function_declaration.py,sha256=zgZj1Zbvu7Hsz6qaPQOyJnExFcbeCrRczalfD1wzfOs,1275
258
- classiq/interface/generator/functions/classical_type.py,sha256=94P7o4-b4wpyMAttwEqlY5tOEjzH0eMH-V0amhMe85k,10089
256
+ classiq/interface/generator/functions/classical_type.py,sha256=Pjj0hhQ6lJHj2ZhvgQ3uv9Dsf5sR1RHedyQiDBe9pOA,10228
259
257
  classiq/interface/generator/functions/concrete_types.py,sha256=b09MQoj2o1bdGaipTd8n7fS0X-PEfd9JUGaeF0BmTuI,1408
260
258
  classiq/interface/generator/functions/function_declaration.py,sha256=G0kjoaQeW_OvTTy6TwcKC0BW1pJBn_osIf_Cydj_0ew,595
261
259
  classiq/interface/generator/functions/port_declaration.py,sha256=ESJE_19jOg_zS1reFN5dq0xgobZ6J3C3DsIs6EME1c4,1100
262
260
  classiq/interface/generator/functions/qmod_python_interface.py,sha256=x8GA4Cr6YyfC6prGXv0A0I9G9GSnLHNito2nfN1GZDI,93
263
261
  classiq/interface/generator/functions/type_name.py,sha256=Uz4D1EbmI-aDo0Sx-Ira1hubFPGDQcWSWjr4XKf7z10,6273
264
262
  classiq/interface/generator/functions/type_qualifier.py,sha256=I_G_W3oHLGLj-aavtKRAdObb4V37ESGLSwXMs-S9xuQ,892
265
- classiq/interface/generator/generated_circuit_data.py,sha256=0yBJRdztC5DtVRD2haC0-Lc7ZV5QgMahXp0lZD-uOWs,13991
263
+ classiq/interface/generator/generated_circuit_data.py,sha256=m6t4Ajwm5m5afvJdYvfZ8Z4QlTs7ATiPH7sCSfa8whQ,13939
266
264
  classiq/interface/generator/grover_diffuser.py,sha256=c52p2_hpjBO0qUDsqFMQ_xffBIDPJlrfz3kIy2Mh2Gk,3750
267
265
  classiq/interface/generator/grover_operator.py,sha256=_VzBJ3qO0O0MJzsHf8LF7_ooXnsz1p_I5rjQQFf1Ptg,4119
268
266
  classiq/interface/generator/hadamard_transform.py,sha256=NI4oZBpDCGfaw2OTb5SL3iSGI_nDtyUgElTCO4pEKnk,673
@@ -334,7 +332,7 @@ classiq/interface/generator/synthesis_metadata/synthesis_execution_data.py,sha25
334
332
  classiq/interface/generator/transpiler_basis_gates.py,sha256=ffnVjysrQVFq1MSjmlFia4akK9w3cIlLvAa-8_MOY9o,2450
335
333
  classiq/interface/generator/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
336
334
  classiq/interface/generator/types/builtin_enum_declarations.py,sha256=1LB7uwf53QOu-f5TfQyGYlkYmhTi8zAhtHMvZPOr-vM,2330
337
- classiq/interface/generator/types/compilation_metadata.py,sha256=be0M8IIbq8WV1LchrvEPUwnlzfw6mcRRuvGc6rDfgRA,277
335
+ classiq/interface/generator/types/compilation_metadata.py,sha256=amM7R3e89Ztt1bw9wxDHtZnueHRC_6pvnATZQY8NRTI,439
338
336
  classiq/interface/generator/types/enum_declaration.py,sha256=Bz52SsXHAai205Utv-3NOolUP0HYT8KnMuUF16Iq_y0,3385
339
337
  classiq/interface/generator/types/qstruct_declaration.py,sha256=Qw6cHW_elZmrs4UO0z7lgS7TWb0hEUEJ5Ur-Ko0bCR4,485
340
338
  classiq/interface/generator/types/struct_declaration.py,sha256=2qKVV-pdqeUGiwKh2-5W2Ci4z0aQG4TG91MuQ82fa_A,959
@@ -374,7 +372,7 @@ classiq/interface/model/bounds.py,sha256=FP6OfnduUiBRRes9t6MG9Qavdw200QMwepMj_oZ
374
372
  classiq/interface/model/classical_if.py,sha256=-QTpk4ZVSzIfCbjGJ-5XMAi5GSZolR87G-bVhmHSSVE,699
375
373
  classiq/interface/model/classical_parameter_declaration.py,sha256=tcAw-knjFqeHg_snv7qBJuJDrUhmL0v1-Q_YfVgRnEc,1261
376
374
  classiq/interface/model/control.py,sha256=D2AxQG5Fb6uT-Bf1HYA20ESJ11Z0Nkkb6apHzD9_XOg,1534
377
- classiq/interface/model/handle_binding.py,sha256=hCnyNSWG429VEyyKdDXaczyTgGEfAk6G-WKddQkiDyg,12022
375
+ classiq/interface/model/handle_binding.py,sha256=Z6GD3eFAfuzj-smogGyJ3ZbZcTZZ4QCqxNrdgBpLdnw,12285
378
376
  classiq/interface/model/inplace_binary_operation.py,sha256=NkQY99yXE8y7aqyAolFUXkSi7gcIuuyFMYdB8hA2KBw,1630
379
377
  classiq/interface/model/invert.py,sha256=-NuT2Fb9sNIvS6x_14wqLSiqngRlCdmdmBqpAzZMp6M,458
380
378
  classiq/interface/model/model.py,sha256=J9jP33rnUAPnd576w9SZpu3cd-151p_4376qh0GTfHY,7024
@@ -392,7 +390,7 @@ classiq/interface/model/quantum_function_call.py,sha256=dkMBc9o-ZkxfYLbdVG_ma_CY
392
390
  classiq/interface/model/quantum_function_declaration.py,sha256=Er0RfxfpcVO5-ufMkBqSFxKz0BHtu7zCMKnTWOwU_ZM,8675
393
391
  classiq/interface/model/quantum_lambda_function.py,sha256=Pbr9ZuQ0l8123j3Zc-QGLD3efzyoHv3shohYY_yIEF4,2499
394
392
  classiq/interface/model/quantum_statement.py,sha256=xGkT7Ls4mEEQBvFvSrLZIVRCYBPYaG5Lf0eIN7vvqDw,3875
395
- classiq/interface/model/quantum_type.py,sha256=l4UD2beEF2UqfUwlHZaDvhzgvQhmSUYN4fIEaihtyuU,11905
393
+ classiq/interface/model/quantum_type.py,sha256=YE1700CCyztxfJhV2Kbltr3PfEhJqds6vh-MKfqbjhc,12282
396
394
  classiq/interface/model/quantum_variable_declaration.py,sha256=Vmx-aHnss8E_ghqX_wi4Njp-dEtYK-WwYHtHAwmGZxk,229
397
395
  classiq/interface/model/repeat.py,sha256=1j8QBxO3swEx6-hByMeLTRSPB3Tf2aOLFUUbKqSJvCg,662
398
396
  classiq/interface/model/statement_block.py,sha256=CWed4nDefWPK-G3vxayJ9dA13uXLfuKpPWyQkxB41G0,2260
@@ -406,14 +404,14 @@ classiq/interface/pyomo_extension/pyomo_sympy_bimap.py,sha256=sE8lGR2qQDwI-a-7Mg
406
404
  classiq/interface/pyomo_extension/set_pprint.py,sha256=jlyYUHfQXwyzPQIzstnTeIK6T62BcSPn3eJdD1Qjy7E,344
407
405
  classiq/interface/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
408
406
  classiq/interface/server/global_versions.py,sha256=EyUtBCoGHjgS4jybiHI8wOZq3WOqvta2WYZc5MARkoA,274
409
- classiq/interface/server/routes.py,sha256=Ptdwb5bCSfJLeiGKa9A-QAYjWtDZIdJZfnu9OyxvGEM,3896
407
+ classiq/interface/server/routes.py,sha256=ciplVBRW9MzBE6ZdFyGSRXuKiofqwUke6CEC_qHyDu8,3830
410
408
  classiq/interface/source_reference.py,sha256=H31MKyWVq6pHdJ8fgjd56AvXBx6qWvqXJBERoElS2fk,1881
411
409
  classiq/model_expansions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
412
- classiq/model_expansions/atomic_expression_functions_defs.py,sha256=FUIYFW8xO1YivexVwTDEKUFFm6-N5xAawUjAvQWQpDk,12341
410
+ classiq/model_expansions/atomic_expression_functions_defs.py,sha256=5XPbLeU8fr1oHITIRqKzPzjn_uyNE3VkJZ9SiakegqQ,12381
413
411
  classiq/model_expansions/capturing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
414
- classiq/model_expansions/capturing/captured_vars.py,sha256=sK_oxz2VLrabF6VnvWTUTz3cKKdp1jd6-YZZSWK680Q,27542
412
+ classiq/model_expansions/capturing/captured_vars.py,sha256=iziQN_VRQnSq4nG-CfwruLRIMLN2FnftgQKz8idYwhA,32078
415
413
  classiq/model_expansions/capturing/mangling_utils.py,sha256=wfCsjP0pScZv9YP6JXq3oVhkS-lCFyUoZ9IROBHS3Ek,1858
416
- classiq/model_expansions/closure.py,sha256=e0jdnKZjKyyIjKLYrVMqdO_7umDKj4hV72gLZL48bHQ,3625
414
+ classiq/model_expansions/closure.py,sha256=FDw0eybba9IEeOP1Wa2DT_NXn4h8b79dutddqkfCYSA,3735
417
415
  classiq/model_expansions/debug_flag.py,sha256=JWzl9FFq2CLcvTg_sh-K8Dp_xXvewsTuFKhPjTCrsrs,107
418
416
  classiq/model_expansions/evaluators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
419
417
  classiq/model_expansions/evaluators/arg_type_match.py,sha256=vri_cwnCv1E3Tmk2XOXjYvhqKJHU18upxNbkv2d7xBU,6155
@@ -422,10 +420,10 @@ classiq/model_expansions/evaluators/classical_expression.py,sha256=BzPhVpgnsZUjp
422
420
  classiq/model_expansions/evaluators/classical_type_inference.py,sha256=S-J-JHzqV3weEt1n3dO1btaJRrDhUjk1SlWOagbVZNc,4688
423
421
  classiq/model_expansions/evaluators/control.py,sha256=rFSP5kuQZfh0OPMuf0OmiDVlX_c0stl2mKX4tnIhAHA,4110
424
422
  classiq/model_expansions/evaluators/parameter_types.py,sha256=IrMXLlu_pklWVBI9JGeRxQ8TxUdIz85iI6cpPngyVPE,12166
425
- classiq/model_expansions/evaluators/quantum_type_utils.py,sha256=rXtaKqlT2VUo4JLlLsWbIDb1LHcpkYvUYfEblvRoVc4,8824
423
+ classiq/model_expansions/evaluators/quantum_type_utils.py,sha256=H2Wj5l_08wRX_TS_zJ6mD1fwWl5b2bt6k4VjAgxtISo,8261
426
424
  classiq/model_expansions/evaluators/type_type_match.py,sha256=zo4ijsgtPNBbxBW6r3p7emDJr3LJi-P4YoiArpE5TbA,3256
427
425
  classiq/model_expansions/expression_evaluator.py,sha256=zMGmVvBvItaz_rX3XqFLrkDZiDkODa_dIl796rFgr1U,4790
428
- classiq/model_expansions/function_builder.py,sha256=oVmXhyEu6wr8Ru8LSxIqxwn9gdDoQ26SAPlNnYWCGMI,8697
426
+ classiq/model_expansions/function_builder.py,sha256=5CKygDYo6dpGVS_88UxTBL9z7gP8VaNLPh3xcUlP-8o,8185
429
427
  classiq/model_expansions/generative_functions.py,sha256=pdesJ83Ze_G4yZPPuwneuwMJJEyOXIF_rfdYRScr3lE,8078
430
428
  classiq/model_expansions/interpreters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
431
429
  classiq/model_expansions/interpreters/base_interpreter.py,sha256=8l-52QAK-_DfoIGjDf47tsO1STcY5ltkyjJryf_sU9U,11986
@@ -433,19 +431,19 @@ classiq/model_expansions/interpreters/frontend_generative_interpreter.py,sha256=
433
431
  classiq/model_expansions/interpreters/generative_interpreter.py,sha256=pdZHvhKLWvhMe7di7qKwGk29irappWrdW28YWXVoowQ,13054
434
432
  classiq/model_expansions/model_tables.py,sha256=dlrOGRS2x4Fd_dzClIcV7V8edmbbQzePv9eqxtJQrpo,620
435
433
  classiq/model_expansions/quantum_operations/__init__.py,sha256=unuHvw4nfyOwE_UyOcyLNHJfr_ZutX7msHNZ8yrToDM,398
436
- classiq/model_expansions/quantum_operations/allocate.py,sha256=3xd30AsxJ4NcgEF_zfYXOTcMdHEd-L-L1BZnD918f-M,6977
434
+ classiq/model_expansions/quantum_operations/allocate.py,sha256=NvC6iiocMXYb4AMCRIxap1fZ6VlBNtCzIKH8jLwgpmY,7352
437
435
  classiq/model_expansions/quantum_operations/arithmetic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
438
436
  classiq/model_expansions/quantum_operations/arithmetic/explicit_boolean_expressions.py,sha256=iXmpt6ibVY7EcqZWNpqL2KXqeC6ZVnT8tsTEwu4y_Dk,2221
439
- classiq/model_expansions/quantum_operations/assignment_result_processor.py,sha256=8lEJHGfi20rfWRwl8sMzLbajNEc2X-_OX99wjIgnvCc,11023
440
- classiq/model_expansions/quantum_operations/bind.py,sha256=h2eaYg0PE0PTI-bjvb5JYG_mpJo94zHhRoxL93_B6iQ,5734
437
+ classiq/model_expansions/quantum_operations/assignment_result_processor.py,sha256=IQuKNrHXbid9W-kswSE6yfn9mqhBslNR67PrHIqgD7k,11128
438
+ classiq/model_expansions/quantum_operations/bind.py,sha256=FK6ZoYoG3Y5uUyCU0q1ZqB9BcyoTdpY0imkRkhJlx3k,5753
441
439
  classiq/model_expansions/quantum_operations/block_evaluator.py,sha256=06EYOb5CVDUvqYXKk-s-rcoY3rQ2Dr2XWUkqNzT0N0w,4734
442
440
  classiq/model_expansions/quantum_operations/bounds.py,sha256=hvy7mJaM5ReHewvoLg3yIdJrxrFWQ6BUwWvJnbTnn0g,1171
443
- classiq/model_expansions/quantum_operations/call_emitter.py,sha256=D22QEHUZf1uhvSfa61XNL7Im1CyWgEyaqueHuPo4g-8,18542
441
+ classiq/model_expansions/quantum_operations/call_emitter.py,sha256=D_cBSWRv3sPUcgdIIS1nVzC3eiJGP_Ok8hILJBkwR4A,18716
444
442
  classiq/model_expansions/quantum_operations/composite_emitter.py,sha256=AQp3cYaUUA7eEKNwmZwIq1KEdDlTKRaXiop9pXxSVZg,815
445
443
  classiq/model_expansions/quantum_operations/declarative_call_emitter.py,sha256=IHCS_jqmKcFNSyVCj5MYAe86LZKaf1vEAFTYaLAjVIs,3641
446
- classiq/model_expansions/quantum_operations/emitter.py,sha256=E2-5curYQ9i83jK3UkKrqX6zxkcuBzd89x91RjiRLXU,9953
444
+ classiq/model_expansions/quantum_operations/emitter.py,sha256=320bpN7oyMrIlo4guEEUFbM0YLABTxDh9xGj96nVdu8,11155
447
445
  classiq/model_expansions/quantum_operations/expression_evaluator.py,sha256=X3hzj4SxCz100t06ot8Xvl7oqlccRIl6f_HSa0XM9kc,1579
448
- classiq/model_expansions/quantum_operations/function_calls_cache.py,sha256=m2Q5wck4c4M8hbEtik6rzrtsH3BEvn_LF3ygRIyceO4,3241
446
+ classiq/model_expansions/quantum_operations/function_calls_cache.py,sha256=maEDjkiPPZnT58qCD_lCXhW8_7ylv6r7XbCuTdR1BiA,2632
449
447
  classiq/model_expansions/quantum_operations/handle_evaluator.py,sha256=ML3xQ_Z9yNDkf8dncoWQzEr5O8EM6CyVof52QM0Zu1U,1107
450
448
  classiq/model_expansions/quantum_operations/quantum_function_call.py,sha256=4KlLymaYI19taotE6xHyIJJVQrFTuM6n-bbpLGm5KCw,3345
451
449
  classiq/model_expansions/quantum_operations/repeat_block_evaluator.py,sha256=kV6quFtPq8YFrYqM5JrERxDRYJrjJOBueTvNOu-qAgc,1412
@@ -459,7 +457,7 @@ classiq/model_expansions/sympy_conversion/sympy_to_python.py,sha256=03fkNV_GvsUU
459
457
  classiq/model_expansions/transformers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
460
458
  classiq/model_expansions/transformers/ast_renamer.py,sha256=Ve3ix6u_xbbxqU2SF0Z4F0-4oIhN8lyUPID1O387C-U,806
461
459
  classiq/model_expansions/transformers/model_renamer.py,sha256=eQ1XLcUp4MNtIvKxJgKxg8Qe-ayl7TXRqB9vEX05YUg,5600
462
- classiq/model_expansions/transformers/type_qualifier_inference.py,sha256=heDDer7eLnkFLH_XXkFtDJXgy3OjaI64PVeH-FBkAX4,7758
460
+ classiq/model_expansions/transformers/type_qualifier_inference.py,sha256=dRFFkt9Iovyeh1TfsUYQoevsV9OHoppHN36Fy0Mnvqw,9672
463
461
  classiq/model_expansions/transformers/var_splitter.py,sha256=lojo3zHj4B78g2oJlYfjrnpRdlNbKMtZ5dx9q5HlubM,7871
464
462
  classiq/model_expansions/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
465
463
  classiq/model_expansions/utils/counted_name_allocator.py,sha256=9LPLBm-4ZrpC_0r1rbogyF11FnLaGCUyzwWpcBJoSmA,297
@@ -467,11 +465,11 @@ classiq/model_expansions/utils/handles_collector.py,sha256=PG18tyg7x8n8gZYC1MzY8
467
465
  classiq/model_expansions/utils/sympy_utils.py,sha256=nfmAj2r5NawLlANA5M2IkN3PmQoxNAYYPdaxz79uoEE,682
468
466
  classiq/model_expansions/visitors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
469
467
  classiq/model_expansions/visitors/boolean_expression_transformers.py,sha256=a8ITXY48uROZFd9MF8tXdXs14Uxh8XbBpuvRXvRehjY,8067
470
- classiq/model_expansions/visitors/symbolic_param_inference.py,sha256=nFdTF_uVAHoGq3mkP_MHcVUYi-c1NZ5lIhgw-5zymA8,8261
468
+ classiq/model_expansions/visitors/symbolic_param_inference.py,sha256=mbxS68OJyFp1ALNi46m0x-MglSx3o-q7RL_AwCwDoS0,7965
471
469
  classiq/model_expansions/visitors/variable_references.py,sha256=0Aj1gXNV4OYZ0x41a7eoNGW2axnABMoEgWBUPxlw4kE,6631
472
470
  classiq/open_library/__init__.py,sha256=bmg_qqXCXo85hcU7_QCce-qYGrpAVSFNwTKCClsclrg,114
473
471
  classiq/open_library/functions/__init__.py,sha256=gPygxYC3jEyGAjXguGepuT9h6-8iIgD5W2ocP7-LFGw,3424
474
- classiq/open_library/functions/amplitude_amplification.py,sha256=4lmK7-26VhZmWhBmhYCNrA44A8uo2Njycg8lFcVLc_U,4198
472
+ classiq/open_library/functions/amplitude_amplification.py,sha256=O21jANyhXGQuvmByDdOaFkaReL5BkCUkGMLM0tEFBZ0,4176
475
473
  classiq/open_library/functions/amplitude_estimation.py,sha256=iCkca5SQN_HQoJWk1_tLT56fHT72hu5QIt2pxSZQRko,1766
476
474
  classiq/open_library/functions/discrete_sine_cosine_transform.py,sha256=mutvfffkrEEFrFJp1bUliJBnOEnkv4rUQ7q1Pka9V8E,4439
477
475
  classiq/open_library/functions/grover.py,sha256=yoMnx4jAF0b2hQqwaKMpPgdbqe9ZCsx2u95Yr029q_I,4367
@@ -483,7 +481,7 @@ classiq/open_library/functions/qaoa_penalty.py,sha256=Uz_ZSn7fRwynP5w2eSOEcft2z4
483
481
  classiq/open_library/functions/qft_functions.py,sha256=7pdPBq48QvyQkxHrF3rEKTf0J50qUu_2bN17lfSc7I0,1382
484
482
  classiq/open_library/functions/qpe.py,sha256=e7MBpOthBn73BdqhWpNGT0lkd6Jw3ZG7tE6n--IM0jc,2140
485
483
  classiq/open_library/functions/qsvt.py,sha256=wpLq0P-pmhdTaRQJJWRHwbTZqRnE1M58MfQ2y1C0YUI,14271
486
- classiq/open_library/functions/state_preparation.py,sha256=J0sQGO0Btfmlwbb2GWoAGLtaL1BabZpHYCSQcL3qzbo,16188
484
+ classiq/open_library/functions/state_preparation.py,sha256=47B0Zys51ph5XJbf9pooEVdIRatI1MEfETI1eYBx7Yg,16553
487
485
  classiq/open_library/functions/swap_test.py,sha256=hAjiJjZGeJP2qzEkVYmBVlEK44VcNibWZ-KqJwPEcFY,1048
488
486
  classiq/open_library/functions/utility_functions.py,sha256=-0r7dUdh1KJa93QORRlmPFM8ZDObyreB5Q5Jx4d9RBM,2539
489
487
  classiq/open_library/functions/variational.py,sha256=KYoqPKYRjgUXk_10RvogV0YiCG5kl7GZBHBJeeX82II,1715
@@ -494,41 +492,41 @@ classiq/qmod/builtins/classical_execution_primitives.py,sha256=AeGU2ESyF2jK0HSMJ
494
492
  classiq/qmod/builtins/classical_functions.py,sha256=OglbvAIiL0SiegxVqsvFi-fFz-PfDaT_GYC_z-u5vUw,2256
495
493
  classiq/qmod/builtins/constants.py,sha256=FURSVt0dlIAw_xkGMyj89z4eub7vUdvUrPzaLTGUQxk,222
496
494
  classiq/qmod/builtins/enums.py,sha256=2mjLKd0vthY42r4LhNUMnjEVVYxznDuE1HOIfLRyYmk,3431
497
- classiq/qmod/builtins/functions/__init__.py,sha256=bgJYkfBJc3Qucec8NQVQWuZ4ZiykgesNHC4iNG8NZkQ,3062
495
+ classiq/qmod/builtins/functions/__init__.py,sha256=76k-syRzDVzufnXNf_bqVhJdNIGjhu11cFU2JD9kFTw,3130
498
496
  classiq/qmod/builtins/functions/allocation.py,sha256=EZIeH4TolhL_6DObs4kjkDu5jDEtEdyQRQvBNWzaJ-8,6840
499
497
  classiq/qmod/builtins/functions/arithmetic.py,sha256=7PU09njluZFabSOwDms5e1w5YenVBxHhN-x9tMZuKv4,1956
500
498
  classiq/qmod/builtins/functions/benchmarking.py,sha256=TYY1VRd5DHl-mKTKeW5wF1txZgFsb3yPXM_rdgoLWCo,250
501
499
  classiq/qmod/builtins/functions/chemistry.py,sha256=Ifvbh1uAofEvHigOjtRoW9OoEMnmXQ87lTwGC8UjTWQ,1162
502
- classiq/qmod/builtins/functions/exponentiation.py,sha256=7A9zYNJxt0ALZIHnPGF19NeE3fiSbqVqd159EZGBRY4,5804
500
+ classiq/qmod/builtins/functions/exponentiation.py,sha256=2NSdcIOQYKiRPIxhvNl5AGKXDlnrH-AwzK2A7-WSsP8,7574
503
501
  classiq/qmod/builtins/functions/finance.py,sha256=zo-UZ_R_8UMw0FCLJQsw_CEMAKV4derY00tnbAPC2yw,861
504
502
  classiq/qmod/builtins/functions/mid_circuit_measurement.py,sha256=UYtVbsl1vZSBU7x64-3s5EgbZ28fbvGx86j30rsts3w,415
505
503
  classiq/qmod/builtins/functions/operators.py,sha256=3IWFjUFhljY5CEe2ZU9Z8m33FzwM9E80IADcDcxVuNI,270
506
504
  classiq/qmod/builtins/functions/qsvm.py,sha256=j5UbMWfl2UNtBewjSWgXq-fvHuAznpINw_b5-_XEKdU,586
507
505
  classiq/qmod/builtins/functions/standard_gates.py,sha256=-uD8ZU4v2ky9EhHhGPnfVgr4YY63UBLBbtyzj260Xww,15896
508
- classiq/qmod/builtins/operations.py,sha256=qOjq8UIbPB4tclxO1FzWovK_bnGMTUhV4CTQDKZXBlc,17301
506
+ classiq/qmod/builtins/operations.py,sha256=_28OVc5gCoxMcDvBCs6-7ZiHV4vVuwd9obWiZq1wEEQ,18128
509
507
  classiq/qmod/builtins/structs.py,sha256=OpuKgF9pdDNEyWotCL4pKnGyCKY8o60pJG9eQvYAZwI,4126
510
508
  classiq/qmod/cfunc.py,sha256=e3zWNEloBBPy-wJaGI1K5cdNFbd3oq0o4TUY2YDr6ks,1087
511
509
  classiq/qmod/classical_function.py,sha256=iHm6T719PUZQPwuNSkouaMA8J9yHrrHUpP-2AQjsA5g,1088
512
510
  classiq/qmod/cparam.py,sha256=WqWG_XLYU4SVYDHHXsZNFu0QcE4dfaEM-0C_Q1OOFs0,2007
513
511
  classiq/qmod/create_model_function.py,sha256=vZowFbyQLSXo42Tmlogc9MDQTRgc_IkZVWaidP_ehV4,2858
514
- classiq/qmod/declaration_inferrer.py,sha256=4Hgb4tXSU_NcwM-3-01dO0Cn-AZPhsI1ofTfy7nHPRI,8415
512
+ classiq/qmod/declaration_inferrer.py,sha256=G5ogmqeBdYwuwH_Ntb-cxLHyi1-wHgRGFnovxwwHJiQ,8444
515
513
  classiq/qmod/expression_query.py,sha256=24gsE5hJ1o9ZuqPILH7aaoOzKRQY2RZtvIK35xuubGA,1629
516
514
  classiq/qmod/generative.py,sha256=CAZTRNKA0sqp9chfWnYVsW_P0jcI45_VE-VQ-fcZF60,1513
517
515
  classiq/qmod/global_declarative_switch.py,sha256=30QOkNsDdsVdk14TNx-AetFbBskoXGpHQ-k--vNqVWc,427
518
516
  classiq/qmod/model_state_container.py,sha256=ZLP-yGf9syJy3uH6Bm5NhesoVfihADidvNP4tYYZwgs,2147
519
517
  classiq/qmod/native/__init__.py,sha256=gm0L3ew0KAy0eSqaMQrvpnKWx85HoA1p9ADaAlyejdA,126
520
518
  classiq/qmod/native/expression_to_qmod.py,sha256=5UakdOGiJFJkPthFD7FrO2Z4mQsqZMNOg9xHTAmPVC4,7389
521
- classiq/qmod/native/pretty_printer.py,sha256=oPghB2fOY2al5EsXrX0IxfcfU2Kz5qVQ7FQzAY26UaY,18405
519
+ classiq/qmod/native/pretty_printer.py,sha256=k-ed_vmtl54U25BTJP9IWFmE2ufyoTbwDgVwqGBXnrk,18301
522
520
  classiq/qmod/pretty_print/__init__.py,sha256=jhR0cpXumOJnyb-zWnvMLpEuUOYPnnJ7DJmV-Zxpy1I,132
523
521
  classiq/qmod/pretty_print/expression_to_python.py,sha256=Ej_xAJApE6mvesmgVNCXKu4G3owwdTysw1m6xn3Vpww,7797
524
- classiq/qmod/pretty_print/pretty_printer.py,sha256=Mx0EAda7C14CX_jvxt4We8HrrW2ox4mLDtIVK1S6hL0,25523
522
+ classiq/qmod/pretty_print/pretty_printer.py,sha256=Glz9EbTGbxwNatLukz4YrX1yaHfkLlzbamhcA-a2KWk,25499
525
523
  classiq/qmod/python_classical_type.py,sha256=T77o5wNb5EnzMctK5uW2I0KFP_ZbTN3d2JHnMVn_6O0,3064
526
- classiq/qmod/qfunc.py,sha256=islHk7znWoB5kqHLURHFrDEpRvDB3hb6YVaKATHC0Mo,3532
524
+ classiq/qmod/qfunc.py,sha256=bJDc-IAzm9rxlDMLMUJzWlgWnkEUWguUMwjSL15GzFc,3431
527
525
  classiq/qmod/qmod_constant.py,sha256=U01qRjD8e4tJ83cTeLfD7ndIyXoZu3CrJdlES-iwFAE,5202
528
526
  classiq/qmod/qmod_parameter.py,sha256=d-MxBYtL1sV-J67RTI9ga6Ll40_B51MjHUp3dfjS9ts,6659
529
527
  classiq/qmod/qmod_variable.py,sha256=wK5LrILn6wKfizR9V7rrejCw7PPGRjnl8Bol_hHCQLY,25964
530
528
  classiq/qmod/quantum_callable.py,sha256=RifbkZEmZ4COOHfluPD2jfd-qYSda2ytW173diR3tI4,2501
531
- classiq/qmod/quantum_expandable.py,sha256=-uohubbObpg8SVI7e-3wAJso-xgZ0slfAqlOvV1QZ_E,18647
529
+ classiq/qmod/quantum_expandable.py,sha256=5aLIdMH2myRwjXD-G9prHqg9LPqVxGG9qEGVGKzP7qo,18818
532
530
  classiq/qmod/quantum_function.py,sha256=At5PR0oUwdEx-QVHv3Aul3JGSufJHLiwf_Rv2lW6TFo,13345
533
531
  classiq/qmod/semantics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
534
532
  classiq/qmod/semantics/annotation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -555,6 +553,6 @@ classiq/qmod/write_qmod.py,sha256=QddTcpXsjLahq3ZATGTIKZW3aj99RtG6MPUHZTKaw38,35
555
553
  classiq/quantum_program.py,sha256=q4vTnRqNr4VWjrZPJVreX3L_C3s60Nnb1GOp3Wv3SJ0,2088
556
554
  classiq/synthesis.py,sha256=nP8lMJ5FqCuR8tJoOgrytm7lRsKtWbXW6mooDfgJxFI,8650
557
555
  classiq/visualization.py,sha256=q-GepvUJf2-tDqof0isaNwWAlf3W3_1dxvlsak1U0ng,983
558
- classiq-0.80.0.dist-info/METADATA,sha256=XsbjXmKKWFjPVoZ2TkRfFHxNxVHLF_Ev-oMBCAE6vhs,3382
559
- classiq-0.80.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
560
- classiq-0.80.0.dist-info/RECORD,,
556
+ classiq-0.81.0.dist-info/METADATA,sha256=BKaL0bG3mP42oeRH2efI276xOBM4AvXjh6t73M-8ikY,3382
557
+ classiq-0.81.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
558
+ classiq-0.81.0.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- import pydantic
2
-
3
-
4
- class ResourceEstimatorParams(pydantic.BaseModel):
5
- circuit_id: str
6
- error_budget: float
7
- physical_error_rate: float
@@ -1,5 +0,0 @@
1
- from classiq.interface.helpers.versioned_model import VersionedModel
2
-
3
-
4
- class ResourceEstimatorResult(VersionedModel):
5
- report_json: str