classiq 0.33.0__py3-none-any.whl → 0.34.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 (35) hide show
  1. classiq/_internals/api_wrapper.py +9 -20
  2. classiq/_internals/jobs.py +9 -2
  3. classiq/executor.py +3 -10
  4. classiq/interface/_version.py +1 -1
  5. classiq/interface/backend/backend_preferences.py +17 -0
  6. classiq/interface/backend/pydantic_backend.py +8 -0
  7. classiq/interface/backend/quantum_backend_providers.py +13 -1
  8. classiq/interface/chemistry/ground_state_problem.py +1 -1
  9. classiq/interface/chemistry/operator.py +198 -0
  10. classiq/interface/executor/execution_request.py +2 -12
  11. classiq/interface/generator/functions/core_lib_declarations/quantum_functions/atomic_quantum_functions.py +2 -2
  12. classiq/interface/generator/functions/core_lib_declarations/quantum_functions/std_lib_functions.py +20 -110
  13. classiq/interface/generator/generated_circuit.py +8 -44
  14. classiq/interface/generator/generated_circuit_data.py +2 -11
  15. classiq/interface/generator/model/preferences/preferences.py +2 -2
  16. classiq/interface/generator/quantum_function_call.py +1 -1
  17. classiq/interface/hardware.py +1 -0
  18. classiq/interface/ide/show.py +1 -14
  19. classiq/interface/model/quantum_function_call.py +9 -339
  20. classiq/interface/model/quantum_statement.py +3 -2
  21. classiq/interface/server/routes.py +5 -6
  22. classiq/model/function_handler.pyi +88 -88
  23. classiq/qmod/declaration_inferrer.py +34 -17
  24. classiq/qmod/model_state_container.py +6 -3
  25. classiq/qmod/qmod_builtins.py +892 -4
  26. classiq/qmod/qmod_parameter.py +24 -8
  27. classiq/qmod/quantum_expandable.py +6 -2
  28. classiq/qmod/quantum_function.py +9 -9
  29. {classiq-0.33.0.dist-info → classiq-0.34.0.dist-info}/METADATA +1 -1
  30. {classiq-0.33.0.dist-info → classiq-0.34.0.dist-info}/RECORD +31 -35
  31. classiq/interface/model/clients/__init__.py +0 -0
  32. classiq/interface/model/clients/qmod/__init__.py +0 -0
  33. classiq/interface/model/clients/qmod/qmod_builtins.py +0 -905
  34. classiq/interface/model/semantics.py +0 -15
  35. {classiq-0.33.0.dist-info → classiq-0.34.0.dist-info}/WHEEL +0 -0
@@ -34,8 +34,13 @@ class QParamScalar(QParam, Symbol):
34
34
 
35
35
  class QParamList(QParam):
36
36
  def __init__(
37
- self, expr_str: str, list_type: Union[ClassicalList, ClassicalArray]
37
+ self,
38
+ expr_str: str,
39
+ list_type: Union[ClassicalList, ClassicalArray],
40
+ *,
41
+ qmodule: ModelStateContainer,
38
42
  ) -> None:
43
+ self._qmodule = qmodule
39
44
  self._expr_str = expr_str
40
45
  self._list_type = list_type
41
46
 
@@ -44,7 +49,9 @@ class QParamList(QParam):
44
49
 
45
50
  def __getitem__(self, key: Any) -> QParam:
46
51
  return create_param(
47
- f"{self._expr_str}[{str(key)}]", self._list_type.element_type
52
+ f"{self._expr_str}[{str(key)}]",
53
+ self._list_type.element_type,
54
+ qmodule=self._qmodule,
48
55
  )
49
56
 
50
57
  def __len__(self) -> int:
@@ -57,7 +64,10 @@ class QParamList(QParam):
57
64
 
58
65
 
59
66
  class QParamStruct(QParam):
60
- def __init__(self, expr_str: str, struct_type: Struct) -> None:
67
+ def __init__(
68
+ self, expr_str: str, struct_type: Struct, *, qmodule: ModelStateContainer
69
+ ) -> None:
70
+ self._qmodule = qmodule
61
71
  self._expr_str = expr_str
62
72
  self._struct_type = struct_type
63
73
 
@@ -69,7 +79,7 @@ class QParamStruct(QParam):
69
79
  self._struct_type.name
70
80
  )
71
81
  if struct_decl is None:
72
- struct_decl = ModelStateContainer.TYPE_DECLS.get(self._struct_type.name)
82
+ struct_decl = self._qmodule.type_decls.get(self._struct_type.name)
73
83
  assert struct_decl is not None
74
84
  field_type = struct_decl.variables.get(field_name)
75
85
  if field_type is None:
@@ -77,7 +87,11 @@ class QParamStruct(QParam):
77
87
  f"Struct {self._struct_type.name!r} doesn't have field {field_name!r}"
78
88
  )
79
89
 
80
- return create_param(f"get_field({self._expr_str},{field_name!r})", field_type)
90
+ return create_param(
91
+ f"get_field({self._expr_str},{field_name!r})",
92
+ field_type,
93
+ qmodule=self._qmodule,
94
+ )
81
95
 
82
96
 
83
97
  _P = ParamSpec("_P")
@@ -95,10 +109,12 @@ class Array(ArrayBase[_P]):
95
109
  pass
96
110
 
97
111
 
98
- def create_param(expr_str: str, ctype: ClassicalType) -> QParam:
112
+ def create_param(
113
+ expr_str: str, ctype: ClassicalType, qmodule: ModelStateContainer
114
+ ) -> QParam:
99
115
  if isinstance(ctype, ClassicalList) or isinstance(ctype, ClassicalArray):
100
- return QParamList(expr_str, ctype)
116
+ return QParamList(expr_str, ctype, qmodule=qmodule)
101
117
  elif isinstance(ctype, Struct):
102
- return QParamStruct(expr_str, ctype)
118
+ return QParamStruct(expr_str, ctype, qmodule=qmodule)
103
119
  else:
104
120
  return QParamScalar(expr_str)
@@ -23,6 +23,7 @@ from classiq.interface.model.quantum_function_declaration import (
23
23
  from classiq.interface.model.quantum_statement import QuantumStatement
24
24
  from classiq.interface.model.quantum_type import QuantumType
25
25
 
26
+ from classiq.qmod.model_state_container import QMODULE, ModelStateContainer
26
27
  from classiq.qmod.qmod_parameter import QParam, create_param
27
28
  from classiq.qmod.qmod_variable import QVar, create_qvar_for_port_decl
28
29
  from classiq.qmod.quantum_callable import QCallable, QExpandableInterface
@@ -35,7 +36,8 @@ class QExpandable(QCallable, QExpandableInterface, ABC):
35
36
  STACK: ClassVar[List["QExpandable"]] = list()
36
37
 
37
38
  def __init__(self, py_callable: Callable) -> None:
38
- self._py_callable = py_callable
39
+ self._qmodule: ModelStateContainer = QMODULE
40
+ self._py_callable: Callable = py_callable
39
41
  self._local_handles: List[LocalVariableDeclaration] = list()
40
42
  self._body: List[QuantumStatement] = list()
41
43
 
@@ -88,7 +90,9 @@ class QExpandable(QCallable, QExpandableInterface, ABC):
88
90
  actual_name = (
89
91
  rename_dict[arg.name] if arg.name in rename_dict else arg.name
90
92
  )
91
- result.append(create_param(actual_name, arg.classical_type))
93
+ result.append(
94
+ create_param(actual_name, arg.classical_type, qmodule=self._qmodule)
95
+ )
92
96
  elif isinstance(arg, PortDeclaration):
93
97
  result.append(create_qvar_for_port_decl(arg))
94
98
  else:
@@ -12,7 +12,6 @@ from classiq.interface.model.quantum_function_declaration import (
12
12
 
13
13
  from classiq.exceptions import ClassiqError
14
14
  from classiq.qmod.declaration_inferrer import infer_func_decl
15
- from classiq.qmod.model_state_container import ModelStateContainer
16
15
  from classiq.qmod.qmod_parameter import QParam
17
16
  from classiq.qmod.qmod_variable import QVar
18
17
  from classiq.qmod.quantum_callable import QCallable
@@ -55,8 +54,9 @@ class QFunc(QExpandable):
55
54
 
56
55
  @property
57
56
  def func_decl(self) -> QuantumFunctionDeclaration:
58
- return ModelStateContainer.NATIVE_DEFS.get(
59
- self._py_callable.__name__, infer_func_decl(self._py_callable)
57
+ return self._qmodule.native_defs.get(
58
+ self._py_callable.__name__,
59
+ infer_func_decl(self._py_callable, qmodule=self._qmodule),
60
60
  )
61
61
 
62
62
  def __call__(self, *args: Any, **kwargs: Any) -> None:
@@ -69,8 +69,8 @@ class QFunc(QExpandable):
69
69
  execution_preferences: Optional[ExecutionPreferences] = None,
70
70
  preferences: Optional[Preferences] = None,
71
71
  ) -> Model:
72
- ModelStateContainer.TYPE_DECLS = dict()
73
- ModelStateContainer.NATIVE_DEFS = dict()
72
+ self._qmodule.type_decls = dict()
73
+ self._qmodule.native_defs = dict()
74
74
  self._add_native_func_def()
75
75
  model_extra_settings: List[Tuple[str, Any]] = [
76
76
  ("constraints", constraints),
@@ -78,16 +78,16 @@ class QFunc(QExpandable):
78
78
  ("preferences", preferences),
79
79
  ]
80
80
  return Model(
81
- functions=list(ModelStateContainer.NATIVE_DEFS.values()),
82
- types=list(ModelStateContainer.TYPE_DECLS.values()),
81
+ functions=list(self._qmodule.native_defs.values()),
82
+ types=list(self._qmodule.type_decls.values()),
83
83
  **{key: value for key, value in model_extra_settings if value},
84
84
  )
85
85
 
86
86
  def _add_native_func_def(self) -> None:
87
- if self.func_decl.name in ModelStateContainer.NATIVE_DEFS:
87
+ if self.func_decl.name in self._qmodule.native_defs:
88
88
  return
89
89
  self.expand()
90
- ModelStateContainer.NATIVE_DEFS[self.func_decl.name] = NativeFunctionDefinition(
90
+ self._qmodule.native_defs[self.func_decl.name] = NativeFunctionDefinition(
91
91
  **self.func_decl.__dict__, local_handles=self.local_handles, body=self.body
92
92
  )
93
93
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: classiq
3
- Version: 0.33.0
3
+ Version: 0.34.0
4
4
  Summary: Classiq's Python SDK for quantum computing
5
5
  Home-page: https://classiq.io
6
6
  License: Proprietary
@@ -4,7 +4,7 @@ classiq/_analyzer_extras/_ipywidgets_async_extension.py,sha256=hDI7dO8TBZPKwNT5T
4
4
  classiq/_analyzer_extras/interactive_hardware.py,sha256=pGf7dAZQP76E9CZh0-rOYA6ElCH_zExOTROlqVc1t6M,3262
5
5
  classiq/_internals/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  classiq/_internals/_qfunc_ext.py,sha256=bcF73QcryZSaRd2nVDe5yRUwTM3mBuRDBnWylN34KdU,208
7
- classiq/_internals/api_wrapper.py,sha256=mvh4LrVg4i_sosy3YmcdzTtgngrWlIs4eaJgdHlruJc,9111
7
+ classiq/_internals/api_wrapper.py,sha256=uZYsT8zWqSr9N5Fd9_EC23S5Fh-udurFGNFQVMbruY4,8606
8
8
  classiq/_internals/async_utils.py,sha256=UJyXyNO93pRwzDVWYbDFQeUTW92X3AfcKudxi81Ruvo,5819
9
9
  classiq/_internals/authentication/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  classiq/_internals/authentication/auth0.py,sha256=1lRgPkEh_zmexuQ_yCwBFyuWmVvIFlZYAgarcA_oaL4,3197
@@ -17,7 +17,7 @@ classiq/_internals/config.py,sha256=LIUS8NFFs47ywyHK8Oifc0N-zbA3uN54h1i8Xr-vEuE,
17
17
  classiq/_internals/enum_utils.py,sha256=QxkxLGgON8vdSzLZzHFlPEBJoGOqoIwpESEfLfRqN0w,312
18
18
  classiq/_internals/help.py,sha256=9gl64Y8nKW-f-8pYt7lMozOP6uERcIIf8dotgn_WKA0,460
19
19
  classiq/_internals/host_checker.py,sha256=xTR_ByxxOfxpceZxOjDZuqQw_sgu-QPPGIf_UBiy8J0,3166
20
- classiq/_internals/jobs.py,sha256=xpHOkmujNVNeumjwGmnjt9aAbjQCZ4IA-ICoqpe5mbI,6116
20
+ classiq/_internals/jobs.py,sha256=xlUWCJiCrCWccIFoISHt91tnDgz6f65Txv3u-2tVo4k,6256
21
21
  classiq/_internals/logger.py,sha256=TGV37AR6aezLUzKUz4V1JercHeC68o_nNMlIRNHSRFM,634
22
22
  classiq/_internals/type_validation.py,sha256=ifHSm9YAFNPTHDcrq9ORQi1bfQeQ0BIpVuoAvGe1oi8,1357
23
23
  classiq/analyzer/__init__.py,sha256=qPMmlHic9bHkjQ71aPJbHph1IVrY_lsOpcvjLPOJE4s,211
@@ -78,9 +78,9 @@ classiq/builtin_functions/suzuki_trotter.py,sha256=tLYi0TuklAH7uRHiLDMPuEFHVBGtC
78
78
  classiq/exceptions.py,sha256=iGc4OVN0zaTmBuZ-UbgcBUQeEdxAdcD6Gq6h8p_K8WY,2453
79
79
  classiq/execution/__init__.py,sha256=9SMoUq9llSL12useyy0TN5xromfGnnLlnJ3L48BNDwM,778
80
80
  classiq/execution/jobs.py,sha256=FGkLz0KvsvUkbkBKhltwZykDJeceJqaIR46OdOK7GHI,2628
81
- classiq/executor.py,sha256=J9LoTsrXqXY3Jks814GdOEkgFBFKIxx6BnXQlyMdMlE,5222
81
+ classiq/executor.py,sha256=aTEsZNR6pCXimCnGCS-2IKP_7mOWD_iclzz-MPJ8Q_0,5055
82
82
  classiq/interface/__init__.py,sha256=cg7hD_XVu1_jJ1fgwmT0rMIoZHopNVeB8xtlmMx-E_A,83
83
- classiq/interface/_version.py,sha256=i9So_f20xE1vJBJf0CPmLQFCxDHbQchUosME0l5jAHk,197
83
+ classiq/interface/_version.py,sha256=DNd3v06Oe4NE4F_g-DWdanbOLpOMCx_cc_GvC5vadpA,197
84
84
  classiq/interface/analyzer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
85
  classiq/interface/analyzer/analysis_params.py,sha256=Evy_ERDGzEah0tMN10cp3P6QnhRq6_8A2trEhnlKNOc,3120
86
86
  classiq/interface/analyzer/cytoscape_graph.py,sha256=xcGMwxwrRvBjZ_JXMwmahBOmRQ7ryR1zpW_zppUvMos,2118
@@ -88,19 +88,19 @@ classiq/interface/analyzer/result.py,sha256=zS61nIt2U1VbzlpcXkZxTAIX2DHMnlheOjkX
88
88
  classiq/interface/applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
89
  classiq/interface/applications/qsvm.py,sha256=9apKHMXRcVjxgLLe2RpmNAKrY0mliI52fOSPi1LmnpU,3415
90
90
  classiq/interface/backend/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
- classiq/interface/backend/backend_preferences.py,sha256=H9lSb2TNNHrvdyyNrHI49LUc1iqFbVO0D858TUWdnmY,8598
91
+ classiq/interface/backend/backend_preferences.py,sha256=xps-UBFRudbQQYuJUs2C3_Zw9WGp-cQl9CwpOa0tIok,9213
92
92
  classiq/interface/backend/ionq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
93
  classiq/interface/backend/ionq/ionq_quantum_program.py,sha256=6AmVz8u5LOUgGAWWx1LypkYQT_uVKZBYfcanFMmzOds,1584
94
- classiq/interface/backend/pydantic_backend.py,sha256=OMg-cnBElUE0KHwnqONpLFygnp9CgMDaDabbKxVSiGk,1323
95
- classiq/interface/backend/quantum_backend_providers.py,sha256=WpgdPa02Qqi-HyGX5L4A2c--ti8_0EuPoyVNuXdMuTc,5075
94
+ classiq/interface/backend/pydantic_backend.py,sha256=AaCjcGwNKU4HASAAnmcRBNGWil6ySJWG6bWrWL5zIKo,1579
95
+ classiq/interface/backend/quantum_backend_providers.py,sha256=-ELNMnigaLUJUysyMwARuuWASira18tcIBtqCV_a29s,5535
96
96
  classiq/interface/chemistry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
97
  classiq/interface/chemistry/ansatz_library.py,sha256=3ki3uaV77cUxUxUzDbn3mVhjvMoKejJ5bIR1kXpBT1k,360
98
98
  classiq/interface/chemistry/elements.py,sha256=Yy8L80SBVgmuKQyW-GlZKzwTqnP1O9po-FGFmKMJLRA,1181
99
99
  classiq/interface/chemistry/fermionic_operator.py,sha256=_6ZObB2Ah9_wyCfEs0rCeU1otEN0cgLqgWOKH8ELazg,7109
100
- classiq/interface/chemistry/ground_state_problem.py,sha256=xIfQJJDoQfQqc4cD4yElxg06W89IxVXEzz6ByRymn0w,3641
100
+ classiq/interface/chemistry/ground_state_problem.py,sha256=jkd51ywU5dTnmDmhU8SAJ-ql-84fE8PB_x5FWQ1rPSg,3601
101
101
  classiq/interface/chemistry/ground_state_result.py,sha256=zXfQoiGbhPmrZrlB7jbeAXXj7UX0QN7WrOa1CgJwUQU,175
102
102
  classiq/interface/chemistry/molecule.py,sha256=GVaMoTFKVkbsClz9GJFngsqUrwqB_vSKaL1OiIkHw8U,2516
103
- classiq/interface/chemistry/operator.py,sha256=g3MTPjReJynREl8_OZ2v2jdFEQgQidR4iG1GRJR5f8E,9728
103
+ classiq/interface/chemistry/operator.py,sha256=45bU51gXsOFlx7c6cwGOGFyqfW6GP0zNmpaFjkin9Xc,17287
104
104
  classiq/interface/combinatorial_optimization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
105
  classiq/interface/combinatorial_optimization/encoding_types.py,sha256=vejxz2tYQodCq9N92lFZAYcAZB8iPh4WH-KSTc-5rwI,127
106
106
  classiq/interface/combinatorial_optimization/examples/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -129,7 +129,7 @@ classiq/interface/executor/aws_execution_cost.py,sha256=ZiH5Cors_iYxynZ0fIBOzxXH
129
129
  classiq/interface/executor/error_mitigation.py,sha256=PjTfCddewZxVcZAnbGBrjpcslpgBgsc8I48PSVGc6iw,190
130
130
  classiq/interface/executor/estimation.py,sha256=aBgobzWpIUUpleohMp5_3MwF8lXJ_L-pwnLfeiODBv4,398
131
131
  classiq/interface/executor/execution_preferences.py,sha256=lB5gBMFaeyEPmvWreZkJSt2SgQMwn8buahQbFk5p0qc,6802
132
- classiq/interface/executor/execution_request.py,sha256=HdHGXkuNsfPACUXmxAh178nFg4oK24tS3LdM7WYYET8,5914
132
+ classiq/interface/executor/execution_request.py,sha256=H8NWJBoXSRM1fpbwtlkn3m8qAvRdhxpxO6zVKk0Ur1A,5701
133
133
  classiq/interface/executor/iqae_result.py,sha256=zJKLeRmcVqbOmR5wHJYZ8EbIHXXQhOMa52wFtXqoOmA,562
134
134
  classiq/interface/executor/optimizer_preferences.py,sha256=-u_fe2PZ-fHGGkiMj5BQKGyAeLuTJyQPBtjqp6kXtO0,3802
135
135
  classiq/interface/executor/quantum_instruction_set.py,sha256=AmUmbfsOpPpcZyP2B4O5LeDquwKUosfudcbZQ0WP5uM,500
@@ -220,10 +220,10 @@ classiq/interface/generator/functions/classical_function_declaration.py,sha256=G
220
220
  classiq/interface/generator/functions/classical_type.py,sha256=44YPR2bvGu_ikW_Ac6aizp8DbnBiRusOKAo32mRNq2Y,7145
221
221
  classiq/interface/generator/functions/core_lib_declarations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
222
222
  classiq/interface/generator/functions/core_lib_declarations/quantum_functions/__init__.py,sha256=wAJ6EmE1BbKRw34qWEXTAZC6W5u2DqwLQHlOdd9bWpQ,570
223
- classiq/interface/generator/functions/core_lib_declarations/quantum_functions/atomic_quantum_functions.py,sha256=-hxWbBcx-6PiPfvAUZcOt4Se0utvCHPnSPr_vO4iltg,12911
223
+ classiq/interface/generator/functions/core_lib_declarations/quantum_functions/atomic_quantum_functions.py,sha256=e1ldHWxVPr-DECzOwJtqfi5zK0_gYAQQeN5ZcU6QV38,12911
224
224
  classiq/interface/generator/functions/core_lib_declarations/quantum_functions/chemistry_functions.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
225
225
  classiq/interface/generator/functions/core_lib_declarations/quantum_functions/exponentiation_functions.py,sha256=OsRIEnKLJCiN8CbGVmk5ZVXykITSeDk57R5jrHL4wFY,2573
226
- classiq/interface/generator/functions/core_lib_declarations/quantum_functions/std_lib_functions.py,sha256=fK3fLin-5wxa9R6U0VlcqI9ePrAjozwq65qqeW59AMw,17314
226
+ classiq/interface/generator/functions/core_lib_declarations/quantum_functions/std_lib_functions.py,sha256=qb8lmMgHZB6TCgfWaY47U-Cv9eNytUF_Y6xyo_tqLJs,15362
227
227
  classiq/interface/generator/functions/core_lib_declarations/quantum_operators.py,sha256=blSUb9_rB9og_vgBnxOGjVxvReAFJ6CcyHszEzM2YdI,3431
228
228
  classiq/interface/generator/functions/foreign_function_definition.py,sha256=CoafVCnsB_G4ozqapQywHTkLouMmYvzWw-nIEtGbPV0,3901
229
229
  classiq/interface/generator/functions/function_declaration.py,sha256=5Ll05tCSigwYpo13xJhezUx0jxETfKDs9EeB1whRf5A,661
@@ -234,8 +234,8 @@ classiq/interface/generator/functions/qmod_python_interface.py,sha256=DVHHTMtbWn
234
234
  classiq/interface/generator/functions/quantum_function_declaration.py,sha256=C5Hz9erjSR14C-fRTuYWWHl7hTswFiISqj1lRSj8Qzo,2168
235
235
  classiq/interface/generator/functions/register.py,sha256=wsFYT0gJxzPuqRophEBiFLcIA0A2zC3KuDJYpxFB8aQ,1222
236
236
  classiq/interface/generator/functions/register_mapping_data.py,sha256=EKioftar-PsSeyzeb6RIUQTMwUFWN1W4VE1XgeMt07s,3973
237
- classiq/interface/generator/generated_circuit.py,sha256=c_OTYDdHuZhfVFBQX4wMg4Kt17T3GvHj1tu7hw5Y07M,7321
238
- classiq/interface/generator/generated_circuit_data.py,sha256=I32C0GJUEviKjJ0wj4AbECw6D5L2G0MAmO_nPIqYaaY,3741
237
+ classiq/interface/generator/generated_circuit.py,sha256=dlK_YQfKSKzaTwfRxF3ALU3YFM6NQDaTt1rbB9LEMZg,6257
238
+ classiq/interface/generator/generated_circuit_data.py,sha256=vNIwJJ7c1ldp79XbXKL5wOBrea0K5Qi62L1C8WP8Sk0,3583
239
239
  classiq/interface/generator/grover_diffuser.py,sha256=9EMpmHdQKjGISZEWB37C58IFGqLSUu9jKySy-hNG6WA,3521
240
240
  classiq/interface/generator/grover_operator.py,sha256=yM_xH0be-NPODb2xDVtDYSC1HKUalOmvWX7io7SwxUs,3742
241
241
  classiq/interface/generator/hadamard_transform.py,sha256=NI4oZBpDCGfaw2OTb5SL3iSGI_nDtyUgElTCO4pEKnk,673
@@ -260,7 +260,7 @@ classiq/interface/generator/model/classical_main_validator.py,sha256=mojSgwu9Epz
260
260
  classiq/interface/generator/model/constraints.py,sha256=C0CrE13RLz6IaIX6WFAQCcQ3DozG4I3j2jXDMMxyeyQ,1567
261
261
  classiq/interface/generator/model/model.py,sha256=QhULCblOdn_5eHbUhS3ub-6UGOM0vwNz6aeEqG-tXqg,8549
262
262
  classiq/interface/generator/model/preferences/__init__.py,sha256=KTNkU8hK3cpqzXvw_C1maxhBRTm1H53WUen1jJwZ0fQ,256
263
- classiq/interface/generator/model/preferences/preferences.py,sha256=TvbDBd0FC_DrT4Cm3-QuRhvf7_y5A5bgOgQv_bKyLJY,7545
263
+ classiq/interface/generator/model/preferences/preferences.py,sha256=WB8Xt344SbvaKLmrduQE_4IQQUNQNlz7lyVP_rTQydw,7530
264
264
  classiq/interface/generator/model/preferences/randomness.py,sha256=nAI8Fu9NQ0uJxuwIQCUDspJKMCQVHBbvPNqCTtrBEos,248
265
265
  classiq/interface/generator/noise_properties.py,sha256=ckenOuNW_AaQ_Gmxeq_gp5qhv1NWo-IytvpuHkpf_zc,411
266
266
  classiq/interface/generator/oracles/__init__.py,sha256=CB95SeU1BsqVWxQssKJYzB4DGje87UQAKGuyv-vkx7k,122
@@ -276,7 +276,7 @@ classiq/interface/generator/preferences/optimization.py,sha256=tbFJ-fVZ0Oz-kfWG7
276
276
  classiq/interface/generator/qft.py,sha256=SDLcPWYxshDfPl-tAfhpRFb30NpPRRFpje5Jrrkb9Gs,1184
277
277
  classiq/interface/generator/qpe.py,sha256=Anz03KnvyaoRmZbIWYdz8s8YvU12UZhrx7aO4I7z5zE,6371
278
278
  classiq/interface/generator/qsvm.py,sha256=aSzxB6XNU68DOQcFWi3ueY0z2nvyXwWiEhqYCZr9LsI,3067
279
- classiq/interface/generator/quantum_function_call.py,sha256=42APyWxvXdCwyTEsFEE67hwuZ4vpT9_srJW438aWGUM,22931
279
+ classiq/interface/generator/quantum_function_call.py,sha256=7s0rMB7RDHxME1IKn1XAM93uk7bU7YP56IgAQIZyWDA,22945
280
280
  classiq/interface/generator/randomized_benchmarking.py,sha256=YYdC0IchmKfQldbQ1WRcTIyNygFkDXusr35XOIcfy6M,571
281
281
  classiq/interface/generator/range_mixer.py,sha256=WwAPaGkQsLsobNsoY0PggZRPERKTE6FlD1l23Hl3xfU,2335
282
282
  classiq/interface/generator/range_types.py,sha256=SKMzxENxY0xQHrNQ7uK7G2vxUre8NCF1j1inHy3H54E,1994
@@ -321,7 +321,7 @@ classiq/interface/generator/validations/validator_functions.py,sha256=yvZuPISXpi
321
321
  classiq/interface/generator/visitor.py,sha256=cOUZ6l7jnLQcmYACYU-KIZG77Ed8yS_z5UBfUKSeBL8,2770
322
322
  classiq/interface/grover/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
323
323
  classiq/interface/grover/grover_modelling_params.py,sha256=eMXdjfuGlVq5qD3QyG-C8mAyIBAoxzkjF052M4b1i-k,390
324
- classiq/interface/hardware.py,sha256=h3RVMhdSQQrvPijZy0MDDjRqOnfrbeOxtxdvwZshChg,1701
324
+ classiq/interface/hardware.py,sha256=GCOLLjL-SeWQcQpfxw9_83kE1Qx5TvJgBx0RkqFO4j4,1737
325
325
  classiq/interface/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
326
326
  classiq/interface/helpers/custom_pydantic_types.py,sha256=7967RP6SFh2FJb4pL_kcFLJlfLXp4lljMCXSACqXxxI,2788
327
327
  classiq/interface/helpers/hashable_mixin.py,sha256=w6aqoVdjqbjTOetwS2lbgiOPUQLcJFY0vPiz_cqNAuk,1079
@@ -331,14 +331,11 @@ classiq/interface/helpers/validation_helpers.py,sha256=jKpSmNzlWfnRgHhbrAc91Y-V5
331
331
  classiq/interface/helpers/versioned_model.py,sha256=6L4SPvenoqJzKdOxZISXCSf1e87YFZ06zn_qRehd-kU,720
332
332
  classiq/interface/ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
333
333
  classiq/interface/ide/ide_data.py,sha256=Z3keVfjxK8dpC64ZJ0PEoLWgtmOaxiv2CgBzkxbFVmY,2508
334
- classiq/interface/ide/show.py,sha256=sWUxzbjH3OK7vFIV-VKRG9wLJdQwRu4fwunBEOqDzrg,1744
334
+ classiq/interface/ide/show.py,sha256=5BsBF3uc7ZjQUwyZys2ZHnFWQ8x8aJ1jY6_sOg0DaQY,1088
335
335
  classiq/interface/jobs.py,sha256=nuVHoggqscHJF6KH9r_l4h78d3dh9ifX1ADuCGZk3Ic,780
336
336
  classiq/interface/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
337
  classiq/interface/model/bind_operation.py,sha256=mRzvgjb-N2SknQWvE0obaPo6ZdxiX1bHWZwmVQNch1w,580
338
338
  classiq/interface/model/classical_parameter_declaration.py,sha256=ZpxdjziuecQ6n368dZNEC-3QYV4RBajjF6z2-hmZunM,219
339
- classiq/interface/model/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
340
- classiq/interface/model/clients/qmod/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
341
- classiq/interface/model/clients/qmod/qmod_builtins.py,sha256=jAFCh1Xy44nTDgBKPUatj6QiJCOXzf1qQGZuOJ-waYY,15809
342
339
  classiq/interface/model/common_model_types.py,sha256=-qwbP5DBsdmSuB8YF_OTu_aGvAUtOg_2hWCRboIyJic,518
343
340
  classiq/interface/model/handle_binding.py,sha256=Lg3XNrG0JOENpbLPLk1hNnxQ5115eHGwS79Reak-7R0,526
344
341
  classiq/interface/model/local_variable_declaration.py,sha256=0h7rz39QYJ-4ziQBuPSphJvbVEDzFbNok-rTE0uBWCw,172
@@ -349,14 +346,13 @@ classiq/interface/model/quantum_expressions/__init__.py,sha256=47DEQpj8HBSa-_TIm
349
346
  classiq/interface/model/quantum_expressions/amplitude_loading_operation.py,sha256=Ow1uLnmkWv6-4eJB85gOIHJc1agE4t0g4ExnWCyaNXQ,1764
350
347
  classiq/interface/model/quantum_expressions/arithmetic_operation.py,sha256=fu7BvFYkYDB_v6jJzgldpuzweC0-NsCBeOXkxJpbBVI,1469
351
348
  classiq/interface/model/quantum_expressions/quantum_expression.py,sha256=ESBkgeUiwUwILjD6KpfXgJ6JpueA7qQl8_YfQGF450s,2445
352
- classiq/interface/model/quantum_function_call.py,sha256=HkvPTt6Hq-oGAczGcHwLHY19CQ33jCyqlXRFu7w1wIw,26904
349
+ classiq/interface/model/quantum_function_call.py,sha256=OPTBGfLsd2JkZ9_wUVHxmWGbJQInlSW1N53iQzT5I_g,15398
353
350
  classiq/interface/model/quantum_function_declaration.py,sha256=XBdsx8XeHKZV4VXLs7iUKs6dVgFyB4O4jPibmCfZLKY,7327
354
- classiq/interface/model/quantum_statement.py,sha256=x7ubXlkhawEWC-0OqrG3ypHSeVye3mHQ5qEaGdYcpfk,656
351
+ classiq/interface/model/quantum_statement.py,sha256=ExFC1KBoVrAj2aRdtHzhEf01sR2iDY-tXR-WmQcONGc,701
355
352
  classiq/interface/model/quantum_type.py,sha256=QnuVRPN41VBkYCjGBiLfJCt9qcRSQWtGQvzGi5yEMhw,4348
356
353
  classiq/interface/model/quantum_variable_declaration.py,sha256=w-YTAyVItcEVUBBBb7jmxXrfw7oBepZPL-IXUztf-Vg,966
357
354
  classiq/interface/model/resolvers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
358
355
  classiq/interface/model/resolvers/function_call_resolver.py,sha256=FTvLFq2qtULnelozzYK4WdYr3YdqAtL4pACyK7qquLI,1422
359
- classiq/interface/model/semantics.py,sha256=_VWWFj4BhNbWi5gUPPIJYiuwq9mzJngJx0lxknXegHg,349
360
356
  classiq/interface/model/validation_handle.py,sha256=MnGJ1LJS_aQG6WH0NusSHJjjrjQXQgy5F1Cfvnguiz8,1310
361
357
  classiq/interface/model/validations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
358
  classiq/interface/model/validations/handle_validation_base.py,sha256=UFlJEMhmXUNYLRy_Mje2UJNOBfX2WJCzYjFzlBcaYjw,2134
@@ -370,25 +366,25 @@ classiq/interface/pyomo_extension/pyomo_sympy_bimap.py,sha256=6k1-q-5JGXGWBBDeuZ
370
366
  classiq/interface/pyomo_extension/set_pprint.py,sha256=jlyYUHfQXwyzPQIzstnTeIK6T62BcSPn3eJdD1Qjy7E,344
371
367
  classiq/interface/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
372
368
  classiq/interface/server/global_versions.py,sha256=Oh6K8kD3mVSYeEjHNHbmDUezcfbrhSLswuF0F_mE-8E,384
373
- classiq/interface/server/routes.py,sha256=xGoy9fIg89SR6_gq2MiHJpSJ3lS8daB66lOIBxnhjAk,3184
369
+ classiq/interface/server/routes.py,sha256=_jUl11L-SOJ2zjs4VwCUDQ0mEfAq7Wo4gLzL_A-W1Q4,2976
374
370
  classiq/model/__init__.py,sha256=bENuUuiBJWtaD0h3_hDf7yef3ocMhP-Lu9OP7DcBwYU,385
375
371
  classiq/model/composite_function_generator.py,sha256=G8nNXG5OMG5T4f7zV7d5zZJ54quj5JOpsUr2LpwBzTo,1466
376
372
  classiq/model/function_handler.py,sha256=RnolfA5HLexXwPDjaj7qJj5tlN2IJwY8r_uEmJGMNHs,22743
377
- classiq/model/function_handler.pyi,sha256=qqXhm1YeCAUF6zkG4L3PN2Ezme24ZJ4a-vjuuZKIK_s,15565
373
+ classiq/model/function_handler.pyi,sha256=aiD33V3dJfajiVBZv20mv2W6_Yv2-WRAOE_X2DFJJuU,15574
378
374
  classiq/model/logic_flow.py,sha256=vBaNG1Y1QsR2LoKcSbCJ0N4Ng6wfN1mR5PtR2PDjzQU,5208
379
375
  classiq/model/logic_flow_change_handler.py,sha256=pi35yAeRGce0fuKF9iM1DKk08Ep3nDFZdyAQzisZAIc,2211
380
376
  classiq/model/model.py,sha256=Xo_S5ShcdH89fD7IxENxTC2SNO-r_47mS_pQACUrhWc,7975
381
377
  classiq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
382
378
  classiq/qmod/__init__.py,sha256=LMQdl9dGAL0RAPEkETgijSnfB4OOl2KFsETxixspr6o,531
383
- classiq/qmod/declaration_inferrer.py,sha256=b1nkpZo3oeTuy-cNjnMOw-WWozW7A7ku072hFLNeaHI,4761
384
- classiq/qmod/model_state_container.py,sha256=mSCGx2r68j1v3C8IuYnWxDAofpAwZgNqh0an2v3Tbt0,309
385
- classiq/qmod/qmod_builtins.py,sha256=P7BfNiTu3-S9DLY2IH2ufjB0197QO_NJd9HbvXoNidE,190
386
- classiq/qmod/qmod_parameter.py,sha256=79D1Pgt48-KGlJYwkeoz-y9-c6yzb1k5XOv3dnkUNxI,2845
379
+ classiq/qmod/declaration_inferrer.py,sha256=UqXUj26vfF27w3RW5ySAp_piLjKOrzPjq0rITFKhb8U,5171
380
+ classiq/qmod/model_state_container.py,sha256=wYk2WgbX6AsjU8IWfe-EAA6SiCMDDJWVD_P4FGzdm3Y,313
381
+ classiq/qmod/qmod_builtins.py,sha256=F1P0BgZ1J2jqo8lB4o7_xHaWzLhrs2UeP9xj2RfQiFY,15143
382
+ classiq/qmod/qmod_parameter.py,sha256=5u3GgXhH5OPMRy0CyJ4CfGT3lua6IlGyzLubj1em590,3204
387
383
  classiq/qmod/qmod_struct.py,sha256=xRpbLeGcY5i8g8zRhaIrVHU2oHxJMHAPhXjUdxGe3Co,1130
388
384
  classiq/qmod/qmod_variable.py,sha256=fnz9EI8mSfyQ7Q3MeNfJNDzdHKKYojWwwv4TIRyxjao,9952
389
385
  classiq/qmod/quantum_callable.py,sha256=84sMBScA-m-X8iSKiUpVCwH0Kz6BWJZi3Ns57Ab4Gcs,1694
390
- classiq/qmod/quantum_expandable.py,sha256=tURrXeNnl1nB5ShuElTwFk0aJwbQkQYUn8HxUvJ9NGU,7051
391
- classiq/qmod/quantum_function.py,sha256=M8VCWfdu8nE2Vmi-zaWxeioRKGJw1HK6dwcJZ7f4Tbo,4448
386
+ classiq/qmod/quantum_expandable.py,sha256=8S5HJv-wIQSwXSi4huaDnlXhLzUBzpOwl3OvVy1zer4,7251
387
+ classiq/qmod/quantum_function.py,sha256=vzi4ruN4N7ebzXuYbSA8teCruE1tgjsUANKwP9LJuDk,4375
392
388
  classiq/qmod/utilities.py,sha256=MyZwVEdkAb5PsdE2-ydcrfE_FiX5_xuGhNx2cxXgt2k,285
393
389
  classiq/quantum_functions/__init__.py,sha256=YAXWn9clBZZVqgWeo7teHGAWE-zjf9mYxGksEqoMmtY,378
394
390
  classiq/quantum_functions/annotation_parser.py,sha256=gqDMvf4r4dplWVy3TOQwXaNRMDlzhyNV67M8SG8J05A,7818
@@ -398,6 +394,6 @@ classiq/quantum_functions/function_parser.py,sha256=I0OCE9MJW7FMhoma-nRM3rfC9fHO
398
394
  classiq/quantum_functions/quantum_function.py,sha256=a8tslwbLcVI_dpoqTbQI8HmV-VAggRPtdfsYeHi42gg,7910
399
395
  classiq/quantum_register.py,sha256=KPNbLhw5vXvzYAy8Cv5pdunaVABTA21gB9t55Gytrrg,7912
400
396
  classiq/synthesis.py,sha256=NTrzED_UCWMO4s8iZcqhXIvAF7p6kQVuMvtLj3u5X88,2166
401
- classiq-0.33.0.dist-info/METADATA,sha256=BdHDxM3a01mMYDbhduYELmQ3-dSxFPsNw9g6qbCP_R0,3012
402
- classiq-0.33.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
403
- classiq-0.33.0.dist-info/RECORD,,
397
+ classiq-0.34.0.dist-info/METADATA,sha256=k-wQPcdllRMyLnKQZ1ST3ExQLGu5hh17hYYHpAleLy4,3012
398
+ classiq-0.34.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
399
+ classiq-0.34.0.dist-info/RECORD,,
File without changes
File without changes