classiq 0.104.0__py3-none-any.whl → 1.0.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 (52) hide show
  1. classiq/__init__.py +2 -0
  2. classiq/_internals/authentication/auth0.py +29 -0
  3. classiq/_internals/authentication/auth_flow_factory.py +43 -0
  4. classiq/_internals/authentication/machine_credentials_flow.py +26 -0
  5. classiq/_internals/authentication/password_manager.py +84 -0
  6. classiq/_internals/authentication/token_manager.py +24 -8
  7. classiq/analyzer/show_interactive_hack.py +0 -8
  8. classiq/applications/combinatorial_optimization/combinatorial_problem.py +1 -1
  9. classiq/execution/all_hardware_devices.py +59 -1
  10. classiq/execution/functions/__init__.py +11 -1
  11. classiq/execution/functions/expectation_value.py +106 -0
  12. classiq/execution/functions/minimize.py +90 -0
  13. classiq/execution/functions/sample.py +8 -189
  14. classiq/execution/functions/state_vector.py +113 -0
  15. classiq/execution/functions/util/__init__.py +0 -0
  16. classiq/execution/functions/util/backend_preferences.py +188 -0
  17. classiq/interface/_version.py +1 -1
  18. classiq/interface/backend/backend_preferences.py +66 -0
  19. classiq/interface/backend/quantum_backend_providers.py +11 -0
  20. classiq/interface/exceptions.py +0 -4
  21. classiq/interface/generator/arith/binary_ops.py +24 -0
  22. classiq/interface/generator/arith/number_utils.py +15 -6
  23. classiq/interface/generator/compiler_keywords.py +1 -0
  24. classiq/interface/generator/function_param_list.py +4 -0
  25. classiq/interface/generator/function_params.py +1 -1
  26. classiq/interface/generator/functions/classical_type.py +15 -0
  27. classiq/interface/generator/functions/type_name.py +17 -4
  28. classiq/interface/generator/transpiler_basis_gates.py +1 -0
  29. classiq/interface/generator/types/compilation_metadata.py +15 -6
  30. classiq/interface/hardware.py +1 -0
  31. classiq/interface/interface_version.py +1 -1
  32. classiq/interface/model/model.py +19 -0
  33. classiq/interface/model/quantum_type.py +15 -0
  34. classiq/interface/qubits_mapping/__init__.py +4 -0
  35. classiq/interface/qubits_mapping/path_expr_range.py +69 -0
  36. classiq/interface/qubits_mapping/qubits_mapping.py +231 -0
  37. classiq/interface/qubits_mapping/slices.py +112 -0
  38. classiq/model_expansions/arithmetic.py +6 -0
  39. classiq/qmod/builtins/functions/__init__.py +12 -9
  40. classiq/qmod/builtins/functions/allocation.py +0 -36
  41. classiq/qmod/builtins/functions/arithmetic.py +52 -0
  42. classiq/qmod/builtins/functions/gray_code.py +23 -0
  43. classiq/qmod/builtins/functions/mcx_func.py +10 -0
  44. classiq/qmod/builtins/structs.py +22 -3
  45. classiq/qprog_to_cudaq.py +347 -0
  46. {classiq-0.104.0.dist-info → classiq-1.0.0.dist-info}/METADATA +4 -1
  47. {classiq-0.104.0.dist-info → classiq-1.0.0.dist-info}/RECORD +52 -39
  48. /classiq/execution/functions/{_logging.py → util/_logging.py} +0 -0
  49. /classiq/execution/functions/{constants.py → util/constants.py} +0 -0
  50. /classiq/execution/functions/{parse_provider_backend.py → util/parse_provider_backend.py} +0 -0
  51. {classiq-0.104.0.dist-info → classiq-1.0.0.dist-info}/WHEEL +0 -0
  52. {classiq-0.104.0.dist-info → classiq-1.0.0.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,347 @@
1
+ import importlib.util
2
+ from typing import TYPE_CHECKING, Any
3
+
4
+ from classiq.interface.exceptions import ClassiqError
5
+ from classiq.interface.generator.quantum_program import QuantumProgram
6
+ from classiq.interface.helpers.text_utils import readable_list
7
+
8
+ if TYPE_CHECKING:
9
+ import cudaq
10
+ import openqasm3
11
+
12
+ _CONVERSION_ERROR_PREFIX = "Cannot convert quantum program to cudaq: "
13
+
14
+
15
+ def _require_cudaq() -> None:
16
+ missing = [m for m in ("cudaq", "openqasm3") if importlib.util.find_spec(m) is None]
17
+ if missing:
18
+ raise ClassiqError(
19
+ "This feature needs the 'cudaq' extra. "
20
+ "Install with: pip install classiq[cudaq] "
21
+ f"(missing: {', '.join(missing)}).\n"
22
+ f"Note: cudaq is only supported on Linux operating systems "
23
+ f"https://nvidia.github.io/cuda-quantum/latest/using/quick_start.html\n"
24
+ f"If you are using a different operating system, consider running on the "
25
+ f"Classiq Studio https://docs.classiq.io/latest/user-guide/studio/Studio-Guide/ "
26
+ f"or a Linux Docker container"
27
+ )
28
+
29
+
30
+ def _get_qasm_ast(quantum_program: QuantumProgram) -> "openqasm3.ast.Program":
31
+ import openqasm3
32
+
33
+ if quantum_program.qasm is None:
34
+ raise ClassiqError(_CONVERSION_ERROR_PREFIX + "missing QASM output format")
35
+ try:
36
+ return openqasm3.parser.parse(quantum_program.qasm)
37
+ except Exception as e:
38
+ raise ClassiqError(
39
+ _CONVERSION_ERROR_PREFIX + "the provided QASM is not supported"
40
+ ) from e
41
+
42
+
43
+ def _get_main_kernel(
44
+ qasm_ast: "openqasm3.ast.Program",
45
+ ) -> tuple["cudaq.PyKernel", dict[str, "cudaq.QuakeValue"]]:
46
+ import cudaq
47
+ import openqasm3
48
+
49
+ classical_inputs: list[str] = []
50
+ for statement in qasm_ast.statements:
51
+ if isinstance(statement, openqasm3.ast.IODeclaration):
52
+ if statement.io_identifier != openqasm3.ast.IOKeyword.input:
53
+ raise ClassiqError(
54
+ _CONVERSION_ERROR_PREFIX + "classical outputs are not supported"
55
+ )
56
+ if not isinstance(statement.type, openqasm3.ast.FloatType):
57
+ raise ClassiqError(
58
+ _CONVERSION_ERROR_PREFIX
59
+ + "only float classical inputs are supported"
60
+ )
61
+ classical_inputs.append(statement.identifier.name)
62
+
63
+ if len(classical_inputs) == 0:
64
+ return cudaq.make_kernel(), {}
65
+ kernel_and_params = cudaq.make_kernel(*((float,) * len(classical_inputs)))
66
+ kernel = kernel_and_params[0]
67
+ params = dict(zip(classical_inputs, kernel_and_params[1:], strict=True))
68
+ return kernel, params
69
+
70
+
71
+ def qprog_to_cudaq_kernel(quantum_program: QuantumProgram) -> "cudaq.PyKernel":
72
+ _require_cudaq()
73
+
74
+ qasm_ast = _get_qasm_ast(quantum_program)
75
+ kernel, params = _get_main_kernel(qasm_ast)
76
+ gates: dict[str, "cudaq.PyKernel"] = {}
77
+ qubits: dict[str, "cudaq.QuakeValue"] = {}
78
+
79
+ for statement in qasm_ast.statements:
80
+ _process_main_statement(kernel, gates, qubits, params, statement)
81
+ return kernel
82
+
83
+
84
+ def _process_main_statement(
85
+ kernel: "cudaq.PyKernel",
86
+ gates: dict[str, "cudaq.PyKernel"],
87
+ qubits: dict[str, "cudaq.QuakeValue"],
88
+ params: dict[str, "cudaq.QuakeValue"],
89
+ statement: "openqasm3.ast.Statement | openqasm3.ast.Pragma",
90
+ ) -> None:
91
+ import cudaq
92
+ import openqasm3
93
+
94
+ if isinstance(statement, (openqasm3.ast.Include, openqasm3.ast.IODeclaration)):
95
+ pass
96
+ elif isinstance(
97
+ statement,
98
+ (
99
+ openqasm3.ast.ClassicalDeclaration,
100
+ openqasm3.ast.BranchingStatement,
101
+ openqasm3.ast.QuantumMeasurementStatement,
102
+ ),
103
+ ):
104
+ raise ClassiqError(
105
+ _CONVERSION_ERROR_PREFIX + "mid-circuit measurements are not supported"
106
+ )
107
+ elif isinstance(statement, openqasm3.ast.QuantumReset):
108
+ raise ClassiqError(
109
+ _CONVERSION_ERROR_PREFIX + "reset instructions are not supported"
110
+ )
111
+ elif isinstance(statement, openqasm3.ast.QubitDeclaration):
112
+ if statement.size is None:
113
+ raise ClassiqError(
114
+ _CONVERSION_ERROR_PREFIX
115
+ + f"qubit declaration {statement.qubit.name!r} has no size"
116
+ )
117
+ if not isinstance(statement.size, openqasm3.ast.IntegerLiteral):
118
+ raise ClassiqError(
119
+ _CONVERSION_ERROR_PREFIX
120
+ + f"the size of qubit declaration {statement.qubit.name!r} must be an integer literal"
121
+ )
122
+ qubits[statement.qubit.name] = kernel.qalloc(statement.size.value)
123
+ elif isinstance(statement, openqasm3.ast.QuantumGateDefinition):
124
+ angle_names = [param.name for param in statement.arguments]
125
+ qubit_names = [param.name for param in statement.qubits]
126
+ kernel_and_params = cudaq.make_kernel(
127
+ *((float,) * len(angle_names)), *((cudaq.qubit,) * len(qubit_names))
128
+ )
129
+ func_kernel = kernel_and_params[0]
130
+ func_params = dict(
131
+ zip(angle_names, kernel_and_params[1 : len(angle_names) + 1], strict=True)
132
+ )
133
+ func_qubits = dict(
134
+ zip(qubit_names, kernel_and_params[len(angle_names) + 1 :], strict=True)
135
+ )
136
+ for gate_statement in statement.body:
137
+ _process_statement(
138
+ func_kernel, gates, func_qubits, func_params, gate_statement
139
+ )
140
+ gates[statement.name.name] = func_kernel
141
+ else:
142
+ _process_statement(kernel, gates, qubits, params, statement)
143
+
144
+
145
+ def _eval_expr(
146
+ params: dict[str, "cudaq.QuakeValue"], expr: "openqasm3.ast.Expression"
147
+ ) -> Any:
148
+ import openqasm3
149
+
150
+ if isinstance(expr, openqasm3.ast.Identifier):
151
+ if expr.name not in params:
152
+ raise ClassiqError(
153
+ _CONVERSION_ERROR_PREFIX + f"name {expr.name!r} is not defined"
154
+ )
155
+ return params[expr.name]
156
+ if isinstance(expr, openqasm3.ast.UnaryExpression):
157
+ target = _eval_expr(params, expr.expression)
158
+ if expr.op == openqasm3.ast.UnaryOperator["~"]:
159
+ return ~target
160
+ if expr.op == openqasm3.ast.UnaryOperator["-"]:
161
+ return -target
162
+ raise ClassiqError(
163
+ _CONVERSION_ERROR_PREFIX + f"operation {str(expr.op)!r} is not supported"
164
+ )
165
+ if isinstance(expr, openqasm3.ast.BinaryExpression):
166
+ left = _eval_expr(params, expr.lhs)
167
+ right = _eval_expr(params, expr.rhs)
168
+ if expr.op == openqasm3.ast.BinaryOperator["|"]:
169
+ return left | right
170
+ if expr.op == openqasm3.ast.BinaryOperator["&"]:
171
+ return left & right
172
+ if expr.op == openqasm3.ast.BinaryOperator["<<"]:
173
+ return left << right
174
+ if expr.op == openqasm3.ast.BinaryOperator[">>"]:
175
+ return left >> right
176
+ if expr.op == openqasm3.ast.BinaryOperator["+"]:
177
+ return left + right
178
+ if expr.op == openqasm3.ast.BinaryOperator["-"]:
179
+ return left - right
180
+ if expr.op == openqasm3.ast.BinaryOperator["*"]:
181
+ return left * right
182
+ if expr.op == openqasm3.ast.BinaryOperator["/"]:
183
+ return left / right
184
+ raise ClassiqError(
185
+ _CONVERSION_ERROR_PREFIX + f"operation {str(expr.op)!r} is not supported"
186
+ )
187
+ if isinstance(
188
+ expr,
189
+ (
190
+ openqasm3.ast.IntegerLiteral,
191
+ openqasm3.ast.FloatLiteral,
192
+ openqasm3.ast.ImaginaryLiteral,
193
+ openqasm3.ast.BooleanLiteral,
194
+ ),
195
+ ):
196
+ return expr.value
197
+ raise ClassiqError(
198
+ _CONVERSION_ERROR_PREFIX
199
+ + f"expression type {type(expr).__name__!r} is not supported"
200
+ )
201
+
202
+
203
+ def _eval_var(
204
+ qubits: dict[str, "cudaq.QuakeValue"],
205
+ expr: "openqasm3.ast.IndexedIdentifier | openqasm3.ast.Identifier",
206
+ ) -> "cudaq.QuakeValue":
207
+ import openqasm3
208
+
209
+ if isinstance(expr, openqasm3.ast.Identifier):
210
+ if expr.name not in qubits:
211
+ raise ClassiqError(
212
+ _CONVERSION_ERROR_PREFIX + f"name {expr.name!r} is not defined"
213
+ )
214
+ return qubits[expr.name]
215
+ if isinstance(expr, openqasm3.ast.IndexedIdentifier):
216
+ if expr.name.name not in qubits:
217
+ raise ClassiqError(
218
+ _CONVERSION_ERROR_PREFIX + f"name {expr.name.name!r} is not defined"
219
+ )
220
+ if (
221
+ len(expr.indices) != 1
222
+ or not isinstance(accessor := expr.indices[0], list)
223
+ or len(accessor) != 1
224
+ or not isinstance(index := accessor[0], openqasm3.ast.IntegerLiteral)
225
+ ):
226
+ raise ClassiqError(
227
+ _CONVERSION_ERROR_PREFIX
228
+ + "only simple subscript expressions are supported (for example, q[0])"
229
+ )
230
+ return qubits[expr.name.name][index.value]
231
+ raise ClassiqError(
232
+ _CONVERSION_ERROR_PREFIX
233
+ + f"expression type {type(expr).__name__!r} is not supported"
234
+ )
235
+
236
+
237
+ def _get_expr_vars(
238
+ params: dict[str, "cudaq.QuakeValue"], expr: "openqasm3.ast.Expression"
239
+ ) -> set[str]:
240
+ import openqasm3
241
+
242
+ if isinstance(expr, openqasm3.ast.Identifier):
243
+ if expr.name not in params:
244
+ raise ClassiqError(
245
+ _CONVERSION_ERROR_PREFIX + f"name {expr.name!r} is not defined"
246
+ )
247
+ return {expr.name}
248
+ if isinstance(expr, openqasm3.ast.UnaryExpression):
249
+ return _get_expr_vars(params, expr.expression)
250
+ if isinstance(expr, openqasm3.ast.BinaryExpression):
251
+ return _get_expr_vars(params, expr.lhs) | _get_expr_vars(params, expr.rhs)
252
+ if isinstance(
253
+ expr,
254
+ (
255
+ openqasm3.ast.IntegerLiteral,
256
+ openqasm3.ast.FloatLiteral,
257
+ openqasm3.ast.ImaginaryLiteral,
258
+ openqasm3.ast.BooleanLiteral,
259
+ ),
260
+ ):
261
+ return set()
262
+ raise ClassiqError(
263
+ _CONVERSION_ERROR_PREFIX
264
+ + f"expression type {type(expr).__name__!r} is not supported"
265
+ )
266
+
267
+
268
+ def _eval_single_var(
269
+ params: dict[str, "cudaq.QuakeValue"], expr: "openqasm3.ast.Expression"
270
+ ) -> "cudaq.QuakeValue":
271
+ expr_vars = _get_expr_vars(params, expr)
272
+ if len(expr_vars) != 1:
273
+ if len(expr_vars) == 0:
274
+ suffix = "got none"
275
+ else:
276
+ suffix = f"got {readable_list(list(expr_vars), quote=True)}"
277
+ raise ClassiqError(
278
+ _CONVERSION_ERROR_PREFIX
279
+ + f"gate argument must contain exactly one angle variable, {suffix}"
280
+ )
281
+ return params[list(expr_vars)[0]]
282
+
283
+
284
+ def _process_statement(
285
+ kernel: "cudaq.PyKernel",
286
+ gates: dict[str, "cudaq.PyKernel"],
287
+ qubits: dict[str, "cudaq.QuakeValue"],
288
+ params: dict[str, "cudaq.QuakeValue"],
289
+ statement: "openqasm3.ast.Statement | openqasm3.ast.Pragma",
290
+ ) -> None:
291
+ import openqasm3
292
+
293
+ if isinstance(statement, openqasm3.ast.QuantumGate):
294
+ if len(statement.modifiers) != 0:
295
+ raise ClassiqError(
296
+ _CONVERSION_ERROR_PREFIX + "gate modifiers are not supported"
297
+ )
298
+ if statement.duration:
299
+ raise ClassiqError(
300
+ _CONVERSION_ERROR_PREFIX + "gate duration is not supported"
301
+ )
302
+ qubit_args = [_eval_var(qubits, var) for var in statement.qubits]
303
+ gate_name = statement.name.name
304
+ if gate_name in gates:
305
+ angle_args = [
306
+ _eval_single_var(params, angle_expr)
307
+ for angle_expr in statement.arguments
308
+ ]
309
+ kernel.apply_call(gates[gate_name], *angle_args, *qubit_args)
310
+ elif gate_name in {"i", "id"}:
311
+ pass
312
+ elif gate_name in {
313
+ "x",
314
+ "y",
315
+ "z",
316
+ "h",
317
+ "s",
318
+ "t",
319
+ "sdg",
320
+ "tdg",
321
+ "rx",
322
+ "ry",
323
+ "rz",
324
+ "u3",
325
+ "cx",
326
+ "cy",
327
+ "cz",
328
+ "ch",
329
+ "cs",
330
+ "ct",
331
+ "crx",
332
+ "cry",
333
+ "crz",
334
+ }:
335
+ angle_args = [
336
+ _eval_expr(params, angle_expr) for angle_expr in statement.arguments
337
+ ]
338
+ getattr(kernel, gate_name)(*angle_args, *qubit_args)
339
+ else:
340
+ raise ClassiqError(
341
+ _CONVERSION_ERROR_PREFIX + f"gate {gate_name!r} is not defined"
342
+ )
343
+ else:
344
+ raise ClassiqError(
345
+ _CONVERSION_ERROR_PREFIX
346
+ + f"QASM statement {type(statement).__name__} is not supported"
347
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: classiq
3
- Version: 0.104.0
3
+ Version: 1.0.0
4
4
  Summary: Classiq's Python SDK for quantum computing
5
5
  Keywords: quantum computing,quantum circuits,quantum algorithms,QAD,QDL
6
6
  Author: Classiq Technologies
@@ -50,6 +50,8 @@ Requires-Dist: notebook>=7.2.2,<8 ; extra == 'analyzer-sdk'
50
50
  Requires-Dist: openfermion==1.6.1 ; python_full_version < '3.10' and extra == 'chemistry'
51
51
  Requires-Dist: openfermion==1.7.1 ; python_full_version >= '3.10' and extra == 'chemistry'
52
52
  Requires-Dist: openfermionpyscf>=0.5 ; extra == 'chemistry'
53
+ Requires-Dist: cudaq>=0.12.0,<1 ; sys_platform == 'linux' and extra == 'cudaq'
54
+ Requires-Dist: openqasm3[parser]>=1.0.1,<2 ; extra == 'cudaq'
53
55
  Requires-Dist: torch~=2.3 ; extra == 'qml'
54
56
  Requires-Dist: torchvision>=0.18,<1.0 ; extra == 'qml'
55
57
  Requires-Dist: cvxpy>=1.7.1,<2 ; extra == 'qsp'
@@ -60,6 +62,7 @@ Project-URL: examples, https://github.com/Classiq/classiq-library
60
62
  Project-URL: homepage, https://classiq.io
61
63
  Provides-Extra: analyzer-sdk
62
64
  Provides-Extra: chemistry
65
+ Provides-Extra: cudaq
63
66
  Provides-Extra: qml
64
67
  Provides-Extra: qsp
65
68
  Description-Content-Type: text/markdown
@@ -1,4 +1,4 @@
1
- classiq/__init__.py,sha256=kgpMwKZ5ONi2BOmn_FHfP5vUKBRMqXOq6XMq4f3zQiw,3967
1
+ classiq/__init__.py,sha256=VRGyB7Kj9xErBy7VpjV87FZSZRKnQbiq9KOUNKxPUo8,4057
2
2
  classiq/_analyzer_extras/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  classiq/_analyzer_extras/_ipywidgets_async_extension.py,sha256=cxdrzSOEQ8_2rLXcScDnhZoZAHqPmIhY-DhBPWLcNII,2200
4
4
  classiq/_analyzer_extras/interactive_hardware.py,sha256=9ZnQX_MZCF21s2skWXUjm4mYCBCeytJtxcnyTE1XU4g,3438
@@ -6,14 +6,16 @@ classiq/_internals/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
6
6
  classiq/_internals/api_wrapper.py,sha256=DW_RO_n_IVWL0l9vD__vIeSh56_3z96-uR44UFzAla8,17769
7
7
  classiq/_internals/async_utils.py,sha256=mcBzGZQYG3EdI7NkBwAO_MGsbF4RFMEUjN1Yoz1CiKE,3327
8
8
  classiq/_internals/authentication/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- classiq/_internals/authentication/auth0.py,sha256=HyjyyTUDk9f9sZWsXc9oD6dR0oHMk4btTtmBqeBIUk8,4452
9
+ classiq/_internals/authentication/auth0.py,sha256=AmzHQpSKScheK1UWPdNOiOzTLmqfP5rjoaZw1n5QUgQ,5424
10
+ classiq/_internals/authentication/auth_flow_factory.py,sha256=NZhXS9_H_dEjvwCyMSDSgVqAZcibfeiPGZcVnkvnVbA,1683
10
11
  classiq/_internals/authentication/authentication.py,sha256=58Xv1QtynXwEfBqIV5E3LnSkZBSWBHtEFy-Bvg0vQ_o,673
11
12
  classiq/_internals/authentication/authorization_code.py,sha256=b20mGmkZlwjXc3ArtEPnbkbdpKEkq_x1K9bbq5xosZU,342
12
13
  classiq/_internals/authentication/authorization_flow.py,sha256=M4Iu3RIVi22EALGyQ9m5mtoE1NPE1GVs17Tw_jPW1nk,1556
13
14
  classiq/_internals/authentication/device.py,sha256=SFgJ6eWHEI3rRMAcDhfYk2yTosykF2xYLdYRmAq7Q4Y,3192
14
15
  classiq/_internals/authentication/hybrid_flow.py,sha256=B43LIJs-0zVZB0b1bLZZ66grQ3M9EP7C8JgjnkwYK2o,988
15
- classiq/_internals/authentication/password_manager.py,sha256=lBILLBnAhh4SComUT4antn4uL2-yndGIW2Eccig-HBw,4418
16
- classiq/_internals/authentication/token_manager.py,sha256=t7QYvw1wHFb9VGFNfgQ2IcUJU2K74UGWOg8XYbwzuWw,5291
16
+ classiq/_internals/authentication/machine_credentials_flow.py,sha256=L_DFQFqfRRRvjTpwXmgffqzpZfjhAjlHy93zKUIF2pM,981
17
+ classiq/_internals/authentication/password_manager.py,sha256=NjCOCGse04XhsM-fpMQCT__eqxvRqr5WPXOS7-BusH4,7185
18
+ classiq/_internals/authentication/token_manager.py,sha256=g-Amp6lulu4aqUy-b1B9PALpQX0mBqq8llasGFPi7d0,5961
17
19
  classiq/_internals/client.py,sha256=rmvWBs3QO2H0LJH-uIuiTETaGDQ5K26cC-P4gjRW7ok,11692
18
20
  classiq/_internals/config.py,sha256=ld-vKPLHtxkrEqVtdg4onhROditIbGuEQwCnnD7RRq8,3883
19
21
  classiq/_internals/help.py,sha256=22E5X6-GOtFnj7ZGKXc7OzfhwiV1iTsEe89rbG7vxBg,429
@@ -25,7 +27,7 @@ classiq/analyzer/__init__.py,sha256=1ASEd3a5BLznMq_uD4ogR6buanALXfJIONZYmCweAgA,
25
27
  classiq/analyzer/analyzer.py,sha256=FP4mki2sI7BxSYAUiu3wMMXmOYk5_fj8VHzkYQV-BfM,6652
26
28
  classiq/analyzer/analyzer_utilities.py,sha256=PT_WsLygmAx4Hf7-VGBzKi6xHclIy5FYelCkdtChe1k,3658
27
29
  classiq/analyzer/rb.py,sha256=TbLkRlUCs_uIaXd3t8ZS2PWxmNt0IogrxwbTYnVaKsE,5110
28
- classiq/analyzer/show_interactive_hack.py,sha256=9er9cAZNePdmwcyY6rqH4DS9BBs2tLSB7NeSnGJa4V8,5767
30
+ classiq/analyzer/show_interactive_hack.py,sha256=2UbyW0CTKoeXmJVWBmo-F7c2eetrO4X3Lg7UlW7YDH4,5310
29
31
  classiq/analyzer/url_utils.py,sha256=VkZCzidnFRIAGShn0u1PO3BFJvN5776_szco8Y7Vejs,829
30
32
  classiq/applications/__init__.py,sha256=eFH-2tf-OWrtPy3JWtnuBbeEtc1lpQhfkMtUDaFII-c,265
31
33
  classiq/applications/chemistry/__init__.py,sha256=OoNd0yizXq09isp6Py6QbGaQYKpgVsZkLbP2ong2GxE,186
@@ -63,7 +65,7 @@ classiq/applications/combinatorial_helpers/transformations/slack_variables.py,sh
63
65
  classiq/applications/combinatorial_optimization/__init__.py,sha256=FQv7Kga4aciJzuRuv9SiFLP2uTJdsYpzYZEaH3_cjsE,1050
64
66
  classiq/applications/combinatorial_optimization/combinatorial_optimization_config.py,sha256=tSVQrRc51aFL10KxmMZoNzMrJUvTR1C_5Jvw09qC9GA,584
65
67
  classiq/applications/combinatorial_optimization/combinatorial_optimization_model_constructor.py,sha256=IRxEPDVqQRAbTiW1B1ki0LpBcyDZq81RoDm_RXLi9_0,5569
66
- classiq/applications/combinatorial_optimization/combinatorial_problem.py,sha256=u1ZKrQUr5PHasWfHMzlmBX1FhcIdgip0L7FthCME95o,7756
68
+ classiq/applications/combinatorial_optimization/combinatorial_problem.py,sha256=_OwaM8gm-k4zr-puZcGmLNMmblrMtXIdRT8-jXZZJTE,7758
67
69
  classiq/applications/combinatorial_optimization/examples/__init__.py,sha256=A0-j2W4dT6eyvRvIoUzK3trntkda3IBpX-tch8evi1M,1725
68
70
  classiq/applications/hamiltonian/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
71
  classiq/applications/hamiltonian/pauli_decomposition.py,sha256=Jdc1eKYb-rwacVbGkoifyGq1qHmfk-jLsFTr8MtwvR8,5255
@@ -124,19 +126,24 @@ classiq/evaluators/qmod_type_inference/quantum_type_inference.py,sha256=3gMh44K7
124
126
  classiq/evaluators/quantum_type_utils.py,sha256=oTouwtHBM_xugCaa4kqd6L7YujRDMRxxqirtnzhzrJk,2792
125
127
  classiq/evaluators/type_type_match.py,sha256=XOI6oJiHkLdcx-RX9yyE2ARXFLbaWYW1Tq2YSlVAOJc,3269
126
128
  classiq/execution/__init__.py,sha256=bsDTMOgazX9QWCKvpTzFH2DGqHqGiSKUkOd9Yun9EJk,1596
127
- classiq/execution/all_hardware_devices.py,sha256=KpLefEISE03FDdgFPGggXeG7NAxBW4090gN4272Dl-E,368
129
+ classiq/execution/all_hardware_devices.py,sha256=wTKsNLrTMqCCaTuODXFRqpUDEfRGPIu_Cw2UkvEO3tA,1975
128
130
  classiq/execution/execution_session.py,sha256=JeG2LMVMVVJw68omjFBEOFbQ6Cll-nXu-glogRlwxJU,26090
129
- classiq/execution/functions/__init__.py,sha256=FoAKCsVCJTto4G8QbPg5BPtslPkbm4zx_zX8gzCSqZc,86
130
- classiq/execution/functions/_logging.py,sha256=eAxZ28XseTTjA6h9ATalcV77KktIz88freb_CRbSkBQ,367
131
- classiq/execution/functions/constants.py,sha256=ZfVQz11QH6jZ-Ku2wC8t-mzh50v0t18_GzL0HaCFWNQ,153
132
- classiq/execution/functions/parse_provider_backend.py,sha256=pbWPqa36_7_JsR94y0GpjYBwaINrDSYjqCbMqP55BuY,2997
133
- classiq/execution/functions/sample.py,sha256=ElmsNunfWRoaX99mcry3Ko1XG6EIqaKG8K91REvEX54,10190
131
+ classiq/execution/functions/__init__.py,sha256=BGon1_yD6nKabhbJUzy2Dpw7HULsC-Aa09bjapny_C0,470
132
+ classiq/execution/functions/expectation_value.py,sha256=quE9UI7W6FATS5blOc43tBjlehtlk2g5iuUPnq1GUO4,4355
133
+ classiq/execution/functions/minimize.py,sha256=KMPpMaz6jh7nSni7p5Auh1zRsAyy4md_ctC4DkpcCxw,4487
134
+ classiq/execution/functions/sample.py,sha256=XCNUKa8LkAR08tLwxoEVlA7gVB19FiNVq5ybGMyFhCo,2922
135
+ classiq/execution/functions/state_vector.py,sha256=D7hgr1o-ExcWY8dEyYzoyx2Kn6l3f668R0COR44j88A,4452
136
+ classiq/execution/functions/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
137
+ classiq/execution/functions/util/_logging.py,sha256=eAxZ28XseTTjA6h9ATalcV77KktIz88freb_CRbSkBQ,367
138
+ classiq/execution/functions/util/backend_preferences.py,sha256=MB1NuZ5H-If7opY1zLzUM2OOiO8emFWJgSsbgp-jhww,7573
139
+ classiq/execution/functions/util/constants.py,sha256=ZfVQz11QH6jZ-Ku2wC8t-mzh50v0t18_GzL0HaCFWNQ,153
140
+ classiq/execution/functions/util/parse_provider_backend.py,sha256=pbWPqa36_7_JsR94y0GpjYBwaINrDSYjqCbMqP55BuY,2997
134
141
  classiq/execution/jobs.py,sha256=YvBQ0IxXPBesaFcPuZOj8BmHzKVt8PhocA3Cf0IDSd0,16139
135
142
  classiq/execution/qnn.py,sha256=zA-I-wvVkjyoigGvcG2W2KVbyKF5Z4X6hIQ3IPI-1xA,2436
136
143
  classiq/execution/user_budgets.py,sha256=zModhoxmfusRm_AEYD80NAzEE9oemmkkwpE9vMP3ydI,3527
137
144
  classiq/executor.py,sha256=5j4bLYP4acxKTenFYnSEGf9tBDCjdpBiaBp86l78U_o,2278
138
145
  classiq/interface/__init__.py,sha256=cg7hD_XVu1_jJ1fgwmT0rMIoZHopNVeB8xtlmMx-E_A,83
139
- classiq/interface/_version.py,sha256=w5EKzpQlXcF1oZQl20vbrK4cHRYsdceQY1w1HyZyUHM,198
146
+ classiq/interface/_version.py,sha256=rKaKA7Zm0a2QrWsK0uptxztjRXl9GT52KYjIygD1We0,196
140
147
  classiq/interface/analyzer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
141
148
  classiq/interface/analyzer/analysis_params.py,sha256=34pFb5X5rPeZOe3TNxBq6oT5YJKcJ9ORyZ_7KRP-alA,2991
142
149
  classiq/interface/analyzer/cytoscape_graph.py,sha256=Ky2tSKdnCnA26896DPy64HSVudLnE3FzdGDUUf0nkI0,2345
@@ -147,7 +154,7 @@ classiq/interface/applications/iqae/generic_iqae.py,sha256=IdbdB3vJ6kUe2exSaHuSf
147
154
  classiq/interface/applications/iqae/iqae_result.py,sha256=S13A_mQKRTBaqO2NKJEJlgLl06I2Fz_C6F_4Xlp4fzQ,1770
148
155
  classiq/interface/ast_node.py,sha256=t1UtCIRn8vvjSlnw_ak4cbCHReo2X6AYBRn_uvKwmz4,925
149
156
  classiq/interface/backend/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
150
- classiq/interface/backend/backend_preferences.py,sha256=4__RQNxMJc1X07Gu4Cq8j1d8wQau3f6u7hkslNmafvU,19957
157
+ classiq/interface/backend/backend_preferences.py,sha256=RfaEywOVCjQI74nzHpf3nCGQmOKt5wgq-bZJ_TadYjI,22377
151
158
  classiq/interface/backend/ionq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
152
159
  classiq/interface/backend/ionq/ionq_quantum_program.py,sha256=CbbM_SnnS3k0U6iznqRLSfjHSdbuAuXLcxvSDP6PcVY,1213
153
160
  classiq/interface/backend/provider_config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -160,7 +167,7 @@ classiq/interface/backend/provider_config/providers/braket.py,sha256=HSsOK2pHu05
160
167
  classiq/interface/backend/provider_config/providers/ibm.py,sha256=IUnFlQDh8pPhPnGX5hXXKSNi8S7aaXoDAPxsmOd1qbU,948
161
168
  classiq/interface/backend/provider_config/providers/ionq.py,sha256=2o_mus0xp1ZrTlDft2pRlkvbS6xIRs_amw0yFPBBu0c,745
162
169
  classiq/interface/backend/pydantic_backend.py,sha256=XfG1u_8ZEq382P5LTHYEhjkDH7UZYY_1sl1O-RImSmk,1610
163
- classiq/interface/backend/quantum_backend_providers.py,sha256=elLPcaANsJf-XoQ6SPc3L24X8_wVCnomnzCxAwi1pXU,8187
170
+ classiq/interface/backend/quantum_backend_providers.py,sha256=3NR9uZYjgLwxF6HLtjmqegZXvollFMzJlYFxPI18Fpk,8431
164
171
  classiq/interface/chemistry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
165
172
  classiq/interface/chemistry/ansatz_library.py,sha256=9HbqdeAgJ0xd3xsPZwfLtS1KsFggSVucLI3E0IknkL0,322
166
173
  classiq/interface/chemistry/operator.py,sha256=PDm5q7jBVVT7yJYaWKdxLFuDPxQ8n4_cZXEiJd6SX1I,10239
@@ -191,7 +198,7 @@ classiq/interface/debug_info/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
191
198
  classiq/interface/debug_info/back_ref_util.py,sha256=plWBiBMfFIY6aYAR3NVYComsY394ysLVdk_yFy1qcC4,791
192
199
  classiq/interface/debug_info/debug_info.py,sha256=dYcKD8S7ps4rWNBb5s8cE-pGSekdXXczLy2m2lFPBBk,4448
193
200
  classiq/interface/enum_utils.py,sha256=QxkxLGgON8vdSzLZzHFlPEBJoGOqoIwpESEfLfRqN0w,312
194
- classiq/interface/exceptions.py,sha256=CxNLU5EPhOcIScSylbt4p8LNoNNCTEO4E96kZ1zDS_w,3791
201
+ classiq/interface/exceptions.py,sha256=jZXb0m3uKIUmUX_nsvAymk3L9i0TpT-iiCnlfsGLCpM,3725
195
202
  classiq/interface/execution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
196
203
  classiq/interface/execution/primitives.py,sha256=Zqu5j2s8E7a0B6LyIRX4eEgq3hHqAjA5ptWg0gVLy5Q,1476
197
204
  classiq/interface/executor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -225,12 +232,12 @@ classiq/interface/generator/arith/arithmetic_operations.py,sha256=oIfgXMG_MRZgT3
225
232
  classiq/interface/generator/arith/arithmetic_param_getters.py,sha256=OWtg-QHHJ5SDc193ppRzthSVck6KYLRg98_YMq_bnuQ,12124
226
233
  classiq/interface/generator/arith/arithmetic_result_builder.py,sha256=eTIGwVdVVzEK9LigmI8MLMrru9d4jduaCYbLIij95bo,4212
227
234
  classiq/interface/generator/arith/ast_node_rewrite.py,sha256=uOq4NSQIXYXJeDDdLOlJA2GJOCD4Je5Z_WVYq2OAoq0,2889
228
- classiq/interface/generator/arith/binary_ops.py,sha256=FiWjZSIKkcJUl35UQmiFzPAQhM0QCOe7B2NlVz2w-nI,30387
235
+ classiq/interface/generator/arith/binary_ops.py,sha256=WLugXZNQNlGZmykyp2zfs5kM1dfB29Wg-go7zyue2qc,31078
229
236
  classiq/interface/generator/arith/endianness.py,sha256=buplQY6swjKczmnGbyNxu9JqvzZcNPyjQdOePd9pPCA,116
230
237
  classiq/interface/generator/arith/extremum_operations.py,sha256=SVUoZFkNZCfI2wLCw2uadpVuEYqynY3Ehe7vcQ3mwSE,5830
231
238
  classiq/interface/generator/arith/logical_ops.py,sha256=0BfMHlcQIWpmxDU0szlYa51ewnqUgVp6qak5jjwtzco,2647
232
239
  classiq/interface/generator/arith/machine_precision.py,sha256=uh1qwWL056mSdcANKddz5G720plWvAxlXIp7a32Tdtg,68
233
- classiq/interface/generator/arith/number_utils.py,sha256=mh5pLrCA9sICklL8G6WC1kTjgGPh7sqvmCa8Q-V82FQ,4537
240
+ classiq/interface/generator/arith/number_utils.py,sha256=76x_30boe84a9pqJaxlBHbtc1eCK1WAZMUt2UKYDgBs,4845
234
241
  classiq/interface/generator/arith/register_user_input.py,sha256=nAPLslctQYYS4_ASDRYulY2PehtIi9Ih1_bi3JQyWF8,5132
235
242
  classiq/interface/generator/arith/unary_ops.py,sha256=mj-9dHtaXeFDreslFmPugCTKxlUsZ5ToqBpy0YbahBY,5369
236
243
  classiq/interface/generator/arith/uncomputation_methods.py,sha256=AbBAgOYTEJ2ufDyJLDew7RKCZPMS8vb7K0Ld6adInXk,136
@@ -240,7 +247,7 @@ classiq/interface/generator/circuit_code/circuit_code.py,sha256=OGvoNEdy5ZbIigLw
240
247
  classiq/interface/generator/circuit_code/types_and_constants.py,sha256=M8n_C8YFPPjURMQNJ2GhCKWxroTDpKrnof2DyKtYyKg,966
241
248
  classiq/interface/generator/circuit_outline.py,sha256=w67uw-cQw5DlZBmzh2XC_Vi5yAvFWB2qxVLVrR2JHII,213
242
249
  classiq/interface/generator/commuting_pauli_exponentiation.py,sha256=prx80q_d3d8M3_Qsvy-o70VLa4wcxVsjyVoM1YMULiQ,1728
243
- classiq/interface/generator/compiler_keywords.py,sha256=2UtN7fOYMjm8ifAOKAU982VUvb-MAd5fWbTc08bUIZc,310
250
+ classiq/interface/generator/compiler_keywords.py,sha256=yKCa5fke9kgNd_u2npovjkNKncpN9nzFsZZw22FN0UM,351
244
251
  classiq/interface/generator/complex_type.py,sha256=2JbIuvCM6aR64BzmUzEd1TgGSZGWWd3ZSkxYdJjyME8,467
245
252
  classiq/interface/generator/constant.py,sha256=cLhRil6sof0UyYRU4lKdm_aBRcmmz7dtvX5bbNpb7N8,309
246
253
  classiq/interface/generator/control_state.py,sha256=eioObKxQt-g69NF3_-2QhLwO2mA5BIkFJnvqolwGFxk,2745
@@ -265,19 +272,19 @@ classiq/interface/generator/expressions/proxies/classical/qmod_struct_instance.p
265
272
  classiq/interface/generator/expressions/proxies/classical/utils.py,sha256=Txi_NJK-p367riMM7bOm4IXDMDeNRprMdSBp0XmJ2cM,1874
266
273
  classiq/interface/generator/expressions/sympy_supported_expressions.py,sha256=Nq5L1sBBWP2HqVFdGyexfFttkXv29BX5Kyp45js2T-Q,1612
267
274
  classiq/interface/generator/function_param_library.py,sha256=MzxtngUMoyRxxTZ3CRH_OR23Q5S-cxuxDsH0qwY-ZiM,630
268
- classiq/interface/generator/function_param_list.py,sha256=CmkYFXwSgSB1rVY8DSlFJJJhIjO48vZvPoOdH9Z2vNI,3083
269
- classiq/interface/generator/function_params.py,sha256=5KeldZDNrsgHDT6xhj9jrYP2TUoPE5KpY1x1HcJOOII,9650
275
+ classiq/interface/generator/function_param_list.py,sha256=4tte3o62J2Ls2be7PNTu9lFbOxTJznBYTFyo_ahH7AU,3195
276
+ classiq/interface/generator/function_params.py,sha256=Jsbmv2JR-bJHrfJRA2K1f-Q6KceZpqxx4_-PrGOf-fA,9656
270
277
  classiq/interface/generator/functions/__init__.py,sha256=HXHq8Fw2zHG3AYuRXrDEQdJ-CEFX7ibsNCp8czuCmmM,73
271
278
  classiq/interface/generator/functions/builtins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
272
279
  classiq/interface/generator/functions/builtins/internal_operators.py,sha256=8UyQ7YROkoua_NlcAGGJ0sPzuSQcNffzOposItTinnU,525
273
280
  classiq/interface/generator/functions/classical_function_declaration.py,sha256=jLyB1FmZw31WX135M9bcIadAAoLpV23APMTH8T4zLAg,1155
274
- classiq/interface/generator/functions/classical_type.py,sha256=kzDxkepts6RMnPVqRjdhEb5Omj5PEJE7Y9U0cMRBM0s,11652
281
+ classiq/interface/generator/functions/classical_type.py,sha256=OtWJkQOM7VGuFKZRfFoYk5E-58aeC82iyQFpDQSpNAw,12304
275
282
  classiq/interface/generator/functions/concrete_types.py,sha256=XHrnvhIgRpoLi4_OVmjFn2Djib123uWu98SKPAPsHVo,1662
276
283
  classiq/interface/generator/functions/function_declaration.py,sha256=KSZ_q2hwAxcXIocJTttWretnI7BNzoYNAkBr1TXJcok,515
277
284
  classiq/interface/generator/functions/port_declaration.py,sha256=ESJE_19jOg_zS1reFN5dq0xgobZ6J3C3DsIs6EME1c4,1100
278
285
  classiq/interface/generator/functions/qmod_python_interface.py,sha256=w1Oz3bV6KS7WzVB8z0_7CnNzdRqos9xoqJzD820db1c,590
279
286
  classiq/interface/generator/functions/type_modifier.py,sha256=tcAS3rfgBhNyWW-IDj5v4wA00fOMfDektRD4IBmnvqQ,150
280
- classiq/interface/generator/functions/type_name.py,sha256=CQd-mABFuFCsU4615YpsuOBXaAP7hy6P2vC0Ow2bwCE,8049
287
+ classiq/interface/generator/functions/type_name.py,sha256=t49MnIZOGCLIvS_gKV9Qxq9QKE9GUcNIkc25so0EMjI,8694
281
288
  classiq/interface/generator/generated_circuit_data.py,sha256=x72NlPk7bckYrtFDi_1pbTUk1_06t51fCRZdUf-zX54,12568
282
289
  classiq/interface/generator/generation_request.py,sha256=SEwaslefOWls3XfLDUl7v-81lulKqUbFbRd4fijll5I,1101
283
290
  classiq/interface/generator/hadamard_transform.py,sha256=NI4oZBpDCGfaw2OTb5SL3iSGI_nDtyUgElTCO4pEKnk,673
@@ -323,10 +330,10 @@ classiq/interface/generator/synthesis_execution_parameter.py,sha256=l6aktoNqXVpZ
323
330
  classiq/interface/generator/synthesis_metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
324
331
  classiq/interface/generator/synthesis_metadata/synthesis_duration.py,sha256=CEQFUYCnkMBmJuPBITS-PVAPqUw0ZnKXN4-fn74zTIM,812
325
332
  classiq/interface/generator/synthesis_metadata/synthesis_execution_data.py,sha256=N_vgRIyH7n_sdiOzttmDHkXdajY89PKkggT2o-gAuyo,1911
326
- classiq/interface/generator/transpiler_basis_gates.py,sha256=U66BGe9yhqGQ31OUV8bwL_U29GsupVBAFDYGPKEqiRk,2688
333
+ classiq/interface/generator/transpiler_basis_gates.py,sha256=7FnsJkmBsmLgd6D1gegHwWbYkkyXouU0OJ292khp_9Y,2705
327
334
  classiq/interface/generator/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
335
  classiq/interface/generator/types/builtin_enum_declarations.py,sha256=H9zkpag4t75Gnfocw2WQGTuqLRQYrqpzRsJ9kbtBQaU,334
329
- classiq/interface/generator/types/compilation_metadata.py,sha256=lbHwX5T3mcyNANQgm1DQgK3gvbeN9-q0_IMXgLOESzo,1327
336
+ classiq/interface/generator/types/compilation_metadata.py,sha256=6663wexSkIPJ-PGvcCO5egWlQFCAoas6Lpga5RJTi0s,1697
330
337
  classiq/interface/generator/types/enum_declaration.py,sha256=3_pIY47ZbPN_UIUa-lT8twEsyRbTDEHj0X3Tzmsrm60,3412
331
338
  classiq/interface/generator/types/qstruct_declaration.py,sha256=Qw6cHW_elZmrs4UO0z7lgS7TWb0hEUEJ5Ur-Ko0bCR4,485
332
339
  classiq/interface/generator/types/struct_declaration.py,sha256=2qKVV-pdqeUGiwKh2-5W2Ci4z0aQG4TG91MuQ82fa_A,959
@@ -336,7 +343,7 @@ classiq/interface/generator/validations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5J
336
343
  classiq/interface/generator/validations/flow_graph.py,sha256=wEdGgHqQjDOdwji4MfMgi4Ig4Lme003wCEgkxnbHU8g,6187
337
344
  classiq/interface/generator/validations/validator_functions.py,sha256=ODvbPavjxx2skGdNdgT5d9ZsZjsp9XkHBUPK7oZBElY,1418
338
345
  classiq/interface/generator/visitor.py,sha256=009l7QuESO4eFxwppI-cz1MJlFRsCCIPXW9eDaPeCVY,3445
339
- classiq/interface/hardware.py,sha256=Vda0kuRZlNHiEr8JuNJUjr2hYvyWZpzkYYOhAYY0xxg,2430
346
+ classiq/interface/hardware.py,sha256=oTWRvsisSypM4ZSQNdTAmKNPux5ygtoQ1sQXof-nW58,2446
340
347
  classiq/interface/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
341
348
  classiq/interface/helpers/classproperty.py,sha256=bCUTBCcZSZ7GRlfhyEuTlsAJclgMOCyjFtjJxmBYzj8,266
342
349
  classiq/interface/helpers/custom_encoders.py,sha256=X3QEHAJ9_4yB7B6bk-y0CEmtFPwnrjnENqQ8PlgGYN4,128
@@ -352,7 +359,7 @@ classiq/interface/helpers/versioned_model.py,sha256=XFjk7GPEUKeUeXc4fK0azhUUvze8
352
359
  classiq/interface/ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
360
  classiq/interface/ide/operation_registry.py,sha256=WlOrN0kIM8Tda-ix5G25uMXQM-B49mjl1YnUGCOKu_c,1585
354
361
  classiq/interface/ide/visual_model.py,sha256=xcFq3UC2T6qJ3wySfigPU-LPcmA1rM9WR714puAVsXQ,6294
355
- classiq/interface/interface_version.py,sha256=hOSuKUhWXkTCbVgpZX88ALEzrFLaD1IXpkuMFDi8zPQ,25
362
+ classiq/interface/interface_version.py,sha256=nClGXjmfc4mtFETHTugCWUbtVhcoYFnJXtjR4naBlyM,25
356
363
  classiq/interface/jobs.py,sha256=KuVNoE1sDkdTQA170X3VrJM7H0yGh3hMR3VS3FPyyJI,2323
357
364
  classiq/interface/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
358
365
  classiq/interface/model/allocate.py,sha256=4ybki0Z5CUnAF2o5ARDKFFaXJgd_ezZ6BZf41cgunPY,974
@@ -365,7 +372,7 @@ classiq/interface/model/control.py,sha256=AFduNnIKGAPLE0YfJgmUtW7OFvBs5SApbE0mAR
365
372
  classiq/interface/model/handle_binding.py,sha256=yr9cTVPEcrtY1wqeAYp1cpEXIUjR3kpzDYqWBUl6iZ0,12754
366
373
  classiq/interface/model/inplace_binary_operation.py,sha256=lccxr1-XMCXJh0BfoQxSLr5xhVkJxeaVCzZ5Mh3jYiI,1617
367
374
  classiq/interface/model/invert.py,sha256=KKwylptM_2Mki7km-lyM9cbNE4vJ3x0WbpjIBxYOD1Q,1162
368
- classiq/interface/model/model.py,sha256=PCBiyz5OZPX2NvVak-AIgCf9L5oYZElDB8WMMcrGmNI,8763
375
+ classiq/interface/model/model.py,sha256=XgOkUNRib8goaidl82gKzD7Mzkw4QNBsFIqXyBpyGUM,9464
369
376
  classiq/interface/model/model_visitor.py,sha256=wJxXWT_NVfMapU95sq0patn6PbQXhDOUMAhBP9JvE4c,2060
370
377
  classiq/interface/model/native_function_definition.py,sha256=_oGboBMAxVTPjkIHT9cKUo8lDNwsnwV62YQaTwKvjug,658
371
378
  classiq/interface/model/parameter.py,sha256=Md90hWndjTzBxQ8SX64mA3jWe1RrEXkt5h3ZXAMFooE,301
@@ -379,7 +386,7 @@ classiq/interface/model/quantum_function_call.py,sha256=bTUJ12-m7DnQEv0fyPKecgpe
379
386
  classiq/interface/model/quantum_function_declaration.py,sha256=YZ25h_vVKC4_KbwvehvVKen1SXQsHxtPOJcW_a843Dg,9133
380
387
  classiq/interface/model/quantum_lambda_function.py,sha256=Z060v2Jis7o9rosEv_Fqpl9nh2EsAXZt8GFn_r4otb8,2462
381
388
  classiq/interface/model/quantum_statement.py,sha256=K7ovMshFaH-SmQp6ZV0DQsLgN6HnnksbD91uj5PQD1M,4005
382
- classiq/interface/model/quantum_type.py,sha256=8PoGwl0C9l3kFB_EeLbS4MOVgnHOMbklGS0LbuV-OjY,17014
389
+ classiq/interface/model/quantum_type.py,sha256=iKLyy_oq1qPrMzEsSWF4DaLo3OIgTLx712nv8l-EHmA,17553
383
390
  classiq/interface/model/repeat.py,sha256=iE-YogE-TaF8e3LBegAW_YDL3-xj0SvO0fuu0R8GqUc,765
384
391
  classiq/interface/model/skip_control.py,sha256=04KiBxBXGre_Dx-VIgxVsF13GjfMGx1s8nSk4nv382M,406
385
392
  classiq/interface/model/statement_block.py,sha256=IkdK-_LxUJHinU1s3H8GqlNN15qBN_5jRqb8Ly2mSfw,2216
@@ -393,12 +400,16 @@ classiq/interface/pyomo_extension/equality_expression.py,sha256=OyPnNRnIyAN008Mz
393
400
  classiq/interface/pyomo_extension/inequality_expression.py,sha256=JMVE4VnMGi99KHtqIcIFf3i0nOMybe2_tPQodms-YPs,105
394
401
  classiq/interface/pyomo_extension/pyomo_sympy_bimap.py,sha256=ED3DFL7hKnrrEoV4V3KdOATKj605SWGRZCi0yWMGLQc,1234
395
402
  classiq/interface/pyomo_extension/set_pprint.py,sha256=jlyYUHfQXwyzPQIzstnTeIK6T62BcSPn3eJdD1Qjy7E,344
403
+ classiq/interface/qubits_mapping/__init__.py,sha256=55Rw2hqyMYkZIKNSIuNMwczIVfg1svptNP31la4VsRU,140
404
+ classiq/interface/qubits_mapping/path_expr_range.py,sha256=_hkWEsgcZprcl76sM9GWhUpPl3EyHVoOazTVYFmCfq4,2697
405
+ classiq/interface/qubits_mapping/qubits_mapping.py,sha256=t-cIgGq3eQh7Qa2l1aHuvXuuCBOUyz_F63azhS2lBJo,9726
406
+ classiq/interface/qubits_mapping/slices.py,sha256=EFQ3ya9fDxQ-rq56EMzUi1vTZzjkSLxCox3Ud6yev_4,4759
396
407
  classiq/interface/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
397
408
  classiq/interface/server/global_versions.py,sha256=EyUtBCoGHjgS4jybiHI8wOZq3WOqvta2WYZc5MARkoA,274
398
409
  classiq/interface/server/routes.py,sha256=Of0wZl_RBJwW_8t2DZiZBJkZwRqY6BKxoW7eCmGHgsA,3181
399
410
  classiq/interface/source_reference.py,sha256=A44UHfPyUeOog8K4G1ftNLiU8WyYvUpkeVyA1PBLhWI,1844
400
411
  classiq/model_expansions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
401
- classiq/model_expansions/arithmetic.py,sha256=H37cybFtPrPB4jSyNRDcqSTnd9p4dPLHBqzkEQl4gBc,5072
412
+ classiq/model_expansions/arithmetic.py,sha256=le3VZsoTojp8ZDGjflSvT8gpOSEcwlH9yiIbC1akB3Q,5277
402
413
  classiq/model_expansions/arithmetic_compute_result_attrs.py,sha256=0ucjLAVysbjn11enXeNeFXnFtHy1WPk2afoiWZyz6IU,11161
403
414
  classiq/model_expansions/capturing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
404
415
  classiq/model_expansions/capturing/captured_vars.py,sha256=Stjva5SK8bII53MYNikoAKI8VrpVkwFs_lIquAbmr7E,32716
@@ -472,17 +483,18 @@ classiq/qmod/builtins/classical_execution_primitives.py,sha256=b4gN4CZGrwOXTMPUC
472
483
  classiq/qmod/builtins/classical_functions.py,sha256=uTmHUfYbdi0HMc4DLGC5mMxTVpYu-wFZDD1CmZljx9M,455
473
484
  classiq/qmod/builtins/constants.py,sha256=FURSVt0dlIAw_xkGMyj89z4eub7vUdvUrPzaLTGUQxk,222
474
485
  classiq/qmod/builtins/enums.py,sha256=sfVZXLPZA0k98-Krm6PHRP6bC0mknXiL12l1_9Vp0IA,2399
475
- classiq/qmod/builtins/functions/__init__.py,sha256=KcdjKoC536NKdrq6IbswRjLbPraAJjVJyZYNMU9rTic,2965
476
- classiq/qmod/builtins/functions/allocation.py,sha256=sPDC4yKa1HyNlJvUXyqPd0GEemhHd4cpGMWAd-v9osc,7413
477
- classiq/qmod/builtins/functions/arithmetic.py,sha256=2OEGay7pPnvMfEIawnVBA3T-vXOr2L-RWKlwlUKVMSw,6288
486
+ classiq/qmod/builtins/functions/__init__.py,sha256=MM9rQf67plY2Hni8ZhAT4WwoF65dQeHpFGNiN0QOeYc,2948
487
+ classiq/qmod/builtins/functions/allocation.py,sha256=glYZ6Oew-CsbRp5zGnBDSwnynte1QKG0kwSeZnhT0Bw,6645
488
+ classiq/qmod/builtins/functions/arithmetic.py,sha256=mL93ysiTW59bVQhEg3EZdyYhss9LVnwBIdK9HD55rGc,7662
478
489
  classiq/qmod/builtins/functions/benchmarking.py,sha256=TYY1VRd5DHl-mKTKeW5wF1txZgFsb3yPXM_rdgoLWCo,250
479
490
  classiq/qmod/builtins/functions/exponentiation.py,sha256=nLO0I3tb_C_2sLExACPN0SxR4O_q9q4MP_P7rQyNvmA,11906
480
- classiq/qmod/builtins/functions/mcx_func.py,sha256=PUsiY_0u53g-dYwX6uZ6mkthx2dV-_7yrgkIHyHgRtw,187
491
+ classiq/qmod/builtins/functions/gray_code.py,sha256=ufdgineKwiq2Dt0Aps4q1kjZwKNA3YjdnxAqLzeCwm0,820
492
+ classiq/qmod/builtins/functions/mcx_func.py,sha256=JB1ZKUSlbc09T6oS3cTR-BQ2AzY-bcDkjjE3ZpP4bjE,409
481
493
  classiq/qmod/builtins/functions/mid_circuit_measurement.py,sha256=UYtVbsl1vZSBU7x64-3s5EgbZ28fbvGx86j30rsts3w,415
482
494
  classiq/qmod/builtins/functions/operators.py,sha256=3IWFjUFhljY5CEe2ZU9Z8m33FzwM9E80IADcDcxVuNI,270
483
495
  classiq/qmod/builtins/functions/standard_gates.py,sha256=xQD75C5clg2_GDqUlH5FhEFh-4VMUk0XHU2SwNRQn2k,16170
484
496
  classiq/qmod/builtins/operations.py,sha256=mXH8lQcfkoDQ0NW9z8wLugCkT0ocVo0Zb5qPtZ0PkD4,30370
485
- classiq/qmod/builtins/structs.py,sha256=HMtbIi5IpEeekqSwigxY84EkKBUf8NtIiEvGkas4d94,5752
497
+ classiq/qmod/builtins/structs.py,sha256=hNga_L911n4nnkyMC3MkWL1r8frmVJEVhxXS4sBEVrU,6561
486
498
  classiq/qmod/cfunc.py,sha256=BVHvgVXAZS1SyE0g8Q-1YEMhNO566V0hnl4LZJS3Eg0,1088
487
499
  classiq/qmod/classical_function.py,sha256=QqG4Lg8qvd_OpfCsvI0Yv62DCG7tnY2otiXKPqy72EI,1115
488
500
  classiq/qmod/classical_variable.py,sha256=OTZr316ChpZwmSyMtYgB7US9jYeljkKwkt9aq4dpWUM,2663
@@ -528,12 +540,13 @@ classiq/qmod/symbolic_type.py,sha256=js8SJgUwYMFp-ZJfGPtD3fP3Ab7Jsm55yiLDSSBIzKU
528
540
  classiq/qmod/type_attribute_remover.py,sha256=NZmTXAsngWqthXjE8n-n6yE72fiWTFM12-TXXJ1kJ-Q,1242
529
541
  classiq/qmod/utilities.py,sha256=3EiZ020Y5hX5SDZcGqSCUZ3SJA_-0CpW3Pra7mFwYfc,5521
530
542
  classiq/qmod/write_qmod.py,sha256=8xiZKCpy0y5c246DRow22-2YQm7F_eSTXY2KJRFAeds,3495
543
+ classiq/qprog_to_cudaq.py,sha256=O0Ufivj0SV9aW2XMZx3Z_AcCEo2l2qAvJeuMT6oe5Xs,12447
531
544
  classiq/quantum_program.py,sha256=9r1AvhPHDZb4lBEem5T5-mMqbojjyRWHysbJhAoNx80,2056
532
545
  classiq/synthesis.py,sha256=RedYU2XVovqd1nmZU4Nb3b705gBlDarXDqQ1A7ug6C0,9852
533
546
  classiq/synthesis_action/__init__.py,sha256=-LUXCVytknC5xKt4PFxxQ5YR4HQ4YDQhT5jcE7Qp_QA,393
534
547
  classiq/synthesis_action/actions.py,sha256=tYkh-69thNsi3qZbrjdGqPwd-carpyLIYQS49r0LcGU,3648
535
548
  classiq/visualization.py,sha256=SvLkPNN-RFd74wnH83eBNANjX11phBTo0wedTazr7VQ,975
536
- classiq-0.104.0.dist-info/licenses/LICENSE.txt,sha256=pIUwTWPybNElw1us8qbLyUuGDCH1_YioM4ol5tg0Zzw,13367
537
- classiq-0.104.0.dist-info/WHEEL,sha256=X16MKk8bp2DRsAuyteHJ-9qOjzmnY0x1aj0P1ftqqWA,78
538
- classiq-0.104.0.dist-info/METADATA,sha256=n0XglaQTXs73Y2GZh_BMNQDda3PPJ8HUphmIBkkClOE,3745
539
- classiq-0.104.0.dist-info/RECORD,,
549
+ classiq-1.0.0.dist-info/licenses/LICENSE.txt,sha256=pIUwTWPybNElw1us8qbLyUuGDCH1_YioM4ol5tg0Zzw,13367
550
+ classiq-1.0.0.dist-info/WHEEL,sha256=X16MKk8bp2DRsAuyteHJ-9qOjzmnY0x1aj0P1ftqqWA,78
551
+ classiq-1.0.0.dist-info/METADATA,sha256=wiLF70rtfEdqZnbPgaKEpQEED-iKbbY3C0G8uD21VVE,3906
552
+ classiq-1.0.0.dist-info/RECORD,,