iqm-client 29.1.0__py3-none-any.whl → 29.2.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.
@@ -72,7 +72,7 @@ class IQMNaiveResonatorMoving(TransformationPass):
72
72
  # TODO: Temporary hack to get the symbolic parameters to work: replace symbols with (inf, idx).
73
73
  # Replace symbolic parameters with indices and store the index to symbol mapping.
74
74
  symbolic_gates = {}
75
- symbolic_index = 0
75
+ symbolic_index = 0.0
76
76
  for node in dag.topological_op_nodes():
77
77
  # This only works for prx gates because that has two parameters
78
78
  # We use one to mark that it is a symbolic gate (np.inf) and the other to store the index.
@@ -127,7 +127,7 @@ class IQMNaiveResonatorMoving(TransformationPass):
127
127
  # This only works for prx gates because that has two parameters
128
128
  # We use one to mark that it is a symbolic gate (np.inf) and the other to store the index.
129
129
  if node.name == "r" and not np.isfinite(node.op.params[0]):
130
- new_dag.substitute_node(node, RGate(*symbolic_gates[int(node.op.params[1])]))
130
+ new_dag.substitute_node(node, RGate(*symbolic_gates[int(np.round(node.op.params[1]))]))
131
131
 
132
132
  # Update the final_layout with the correct bits.
133
133
  if "final_layout" in self.property_set:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-client
3
- Version: 29.1.0
3
+ Version: 29.2.0
4
4
  Summary: Client library for accessing an IQM quantum computer
5
5
  Author-email: IQM Finland Oy <developers@meetiqm.com>
6
6
  License: Apache License
@@ -39,7 +39,7 @@ iqm/qiskit_iqm/iqm_circuit.py,sha256=fFQW8SRlgZjqZUOLfyuJhhXEDp5I1jopFWa1k4rb7ac
39
39
  iqm/qiskit_iqm/iqm_circuit_validation.py,sha256=5VSlgpS6sxZ4xYFxF8cJiFOrsC9FEW1vLqU77Ig55-w,1698
40
40
  iqm/qiskit_iqm/iqm_job.py,sha256=_JF2DANalsRu4b0r-XxMmTNOqmaShjp1rmU7h44DKRo,11466
41
41
  iqm/qiskit_iqm/iqm_move_layout.py,sha256=pHqV1G4bri3rFEsMBN6FrtQ0FXVNQG-Ymm4v7zdnilQ,10787
42
- iqm/qiskit_iqm/iqm_naive_move_pass.py,sha256=zH2GHH85cRspRvWb8vPbweUo1e-FG8sMbDgEMqxmVJY,12359
42
+ iqm/qiskit_iqm/iqm_naive_move_pass.py,sha256=-6UzY_U3SgCC9nWz21jR3AxnkFkX2LqYO79F3HliMGU,12371
43
43
  iqm/qiskit_iqm/iqm_provider.py,sha256=aZG3OfbG1YT9584p1EtIPuSvl6Z8Vdx_3GlHasRzmqg,15842
44
44
  iqm/qiskit_iqm/iqm_transpilation.py,sha256=2bwvVd8NwBRU6gwlPOsovhyAmUnm8thKokvkuCwfWC8,8915
45
45
  iqm/qiskit_iqm/move_gate.py,sha256=QU9RKKVvbGq33qcIi9AKLcvQVQMibkgW4ibjzk-oVy4,2808
@@ -57,10 +57,10 @@ iqm/qiskit_iqm/fake_backends/fake_apollo.py,sha256=eT2vd3kQBi1rrvxCpePymBCfFK84d
57
57
  iqm/qiskit_iqm/fake_backends/fake_deneb.py,sha256=RzQXmLXmBARDiMKVxk5Aw9fVbc6IYlW0A5jibk9iYD0,3156
58
58
  iqm/qiskit_iqm/fake_backends/fake_garnet.py,sha256=GI0xafTCj1Um09qVuccO6GPOGBm6ygul_O40Wu220Ys,5555
59
59
  iqm/qiskit_iqm/fake_backends/iqm_fake_backend.py,sha256=wJtfsxjPYbDKmzaz5R4AuaXvvPHa21WyPtRgNctL9eY,16785
60
- iqm_client-29.1.0.dist-info/AUTHORS.rst,sha256=qsxeK5A3-B_xK3hNbhFHEIkoHNpo7sdzYyRTs7Bdtm8,795
61
- iqm_client-29.1.0.dist-info/LICENSE.txt,sha256=2DXrmQtVVUV9Fc9RBFJidMiTEaQlG2oAtlC9PMrEwTk,11333
62
- iqm_client-29.1.0.dist-info/METADATA,sha256=IMLhmpI7dEgOuw2XcUTGD6_v-z3pl2_IxzpcifpiYP0,17545
63
- iqm_client-29.1.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
64
- iqm_client-29.1.0.dist-info/entry_points.txt,sha256=Kk2qfRwk8vbIJ7qCAvmaUogfRRn6t92_hBFhe6kqAE4,1317
65
- iqm_client-29.1.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
66
- iqm_client-29.1.0.dist-info/RECORD,,
60
+ iqm_client-29.2.0.dist-info/AUTHORS.rst,sha256=qsxeK5A3-B_xK3hNbhFHEIkoHNpo7sdzYyRTs7Bdtm8,795
61
+ iqm_client-29.2.0.dist-info/LICENSE.txt,sha256=2DXrmQtVVUV9Fc9RBFJidMiTEaQlG2oAtlC9PMrEwTk,11333
62
+ iqm_client-29.2.0.dist-info/METADATA,sha256=dD9cTliTdmDH2Le9EBgbdh3-MCTKsrjUhBsXjNm4GFg,17545
63
+ iqm_client-29.2.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
64
+ iqm_client-29.2.0.dist-info/entry_points.txt,sha256=Kk2qfRwk8vbIJ7qCAvmaUogfRRn6t92_hBFhe6kqAE4,1317
65
+ iqm_client-29.2.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
66
+ iqm_client-29.2.0.dist-info/RECORD,,