qiskit 2.1.0__cp39-abi3-win_amd64.whl → 2.1.1__cp39-abi3-win_amd64.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.
qiskit/VERSION.txt CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.1.1
qiskit/__init__.py CHANGED
@@ -50,6 +50,7 @@ if sys.version_info < (3, 10):
50
50
  "Support for running Qiskit with Python 3.9 will be removed in the "
51
51
  "2.3.0 release, which coincides with when Python 3.9 goes end of life.",
52
52
  DeprecationWarning,
53
+ stacklevel=2,
53
54
  )
54
55
 
55
56
  from . import _accelerate
qiskit/_accelerate.pyd CHANGED
Binary file
@@ -98,7 +98,7 @@ class ZZFeatureMap(PauliFeatureMap):
98
98
  @deprecate_func(
99
99
  since="2.1",
100
100
  additional_msg=(
101
- "Use the z_feature_map function as a replacement. Note that this will no longer "
101
+ "Use the zz_feature_map function as a replacement. Note that this will no longer "
102
102
  "return a BlueprintCircuit, but just a plain QuantumCircuit."
103
103
  ),
104
104
  removal_timeline="in Qiskit 3.0",
@@ -174,6 +174,7 @@ def _for_loop_eq(node1, node2, bit_indices1, bit_indices2):
174
174
  def _box_eq(node1, node2, bit_indices1, bit_indices2):
175
175
  return (
176
176
  (node1.op.duration == node2.op.duration)
177
+ and (node1.op.unit == node2.op.unit)
177
178
  and (
178
179
  _circuit_to_dag(node1.op.blocks[0], node1.qargs, node1.cargs, bit_indices1)
179
180
  == _circuit_to_dag(node2.op.blocks[0], node2.qargs, node2.cargs, bit_indices2)
@@ -601,9 +601,9 @@ class BitArray(ShapedMixin):
601
601
 
602
602
  Args:
603
603
  observables: The observable(s) to take the expectation value of.
604
- Must have a shape broadcastable with with this bit array and
605
- the same number of qubits as the number of bits of this bit array.
606
- The observables must be diagonal (I, Z, 0 or 1) too.
604
+ Must have a shape broadcastable with with this bit array and
605
+ the same number of qubits as the number of bits of this bit array.
606
+ The observables must be diagonal (I, Z, 0 or 1) too.
607
607
 
608
608
  Returns:
609
609
  An array of expectation values whose shape is the broadcast shape of ``observables``
@@ -1254,7 +1254,9 @@ class MCXSynthesis2DirtyKG24(HighLevelSynthesisPlugin):
1254
1254
  return None
1255
1255
 
1256
1256
  num_ctrl_qubits = high_level_object.num_ctrl_qubits
1257
- num_dirty_ancillas = options.get("num_dirty_ancillas", 0)
1257
+ num_dirty_ancillas = options.get("num_dirty_ancillas", 0) + options.get(
1258
+ "num_clean_ancillas", 0
1259
+ )
1258
1260
 
1259
1261
  if num_dirty_ancillas < 2:
1260
1262
  return None
@@ -1338,7 +1340,9 @@ class MCXSynthesis1DirtyKG24(HighLevelSynthesisPlugin):
1338
1340
  return None
1339
1341
 
1340
1342
  num_ctrl_qubits = high_level_object.num_ctrl_qubits
1341
- num_dirty_ancillas = options.get("num_dirty_ancillas", 0)
1343
+ num_dirty_ancillas = options.get("num_dirty_ancillas", 0) + options.get(
1344
+ "num_clean_ancillas", 0
1345
+ )
1342
1346
 
1343
1347
  if num_dirty_ancillas < 1:
1344
1348
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qiskit
3
- Version: 2.1.0
3
+ Version: 2.1.1
4
4
  Summary: An open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.
5
5
  Author-email: Qiskit Development Team <qiskit@us.ibm.com>
6
6
  License: Apache 2.0
@@ -1,6 +1,6 @@
1
- qiskit/VERSION.txt,sha256=6Zy09QrrNoZfJaKFk1C_ytEpQko5MD2OC3bdpu7b-2E,7
2
- qiskit/__init__.py,sha256=Tcku0QS9PAt7pESh6u7rzwRHU1LS5soqUoIs69CNYUU,8393
3
- qiskit/_accelerate.pyd,sha256=s_3zATVEMBBeYVaNm5O7APGMqkej-HKnUfQkAQRFly8,14081536
1
+ qiskit/VERSION.txt,sha256=-VJsShQDijvpzExKq2UCu3hTEeBaCBF3aCRP5ckYOBY,7
2
+ qiskit/__init__.py,sha256=CTIRKbS91SpTCICg-o-KeJrGYn9f-9PNG4vK4w6fakM,8416
3
+ qiskit/_accelerate.pyd,sha256=IU_Enb9ciuCIxTtKIry3uVbAD-jS6IH_JjyEeJVlfko,14186496
4
4
  qiskit/_numpy_compat.py,sha256=EV1RihNRJnvWzjb57z8sjMbv9EeRPzk8Mnegzw7ItR0,2888
5
5
  qiskit/exceptions.py,sha256=UamBNQmDJTx6ruzmj7iXgcsrBcvkfE-bZ4TH2-K_ngw,5772
6
6
  qiskit/user_config.py,sha256=yPpq2_vI1OXdUA6NS2e86qJHTU60MDSH68PzCdHVZCs,10591
@@ -99,7 +99,7 @@ qiskit/circuit/library/boolean_logic/quantum_or.py,sha256=c9K-acK3zcCstkAeCU_FUm
99
99
  qiskit/circuit/library/boolean_logic/quantum_xor.py,sha256=yjawOZdPmFIA1uQCQ3ogJZBUxBySDoJPMICae6Jc-nM,5623
100
100
  qiskit/circuit/library/data_preparation/__init__.py,sha256=PhWw5aWZzw85dLdi9hFMEWOjVYNudtImfXWxjfXQ6fQ,2513
101
101
  qiskit/circuit/library/data_preparation/_z_feature_map.py,sha256=GBCew43gNQr1r5BtXeityMeumBzXGQXqLrOkWJ4r5NM,6834
102
- qiskit/circuit/library/data_preparation/_zz_feature_map.py,sha256=acjFMfoMrG3KRLmTv7nbXSswqJxy-797xuEvzmbhIqw,7166
102
+ qiskit/circuit/library/data_preparation/_zz_feature_map.py,sha256=SsWxUCBBnO1i5AYB3rP9UJ7TanY1K-5DDQLZFXTHPD8,7167
103
103
  qiskit/circuit/library/data_preparation/initializer.py,sha256=immDB43eAbBd0srlaDC6wDmPnksH4VgXJ2T-edHaV40,4544
104
104
  qiskit/circuit/library/data_preparation/pauli_feature_map.py,sha256=W5-MKGivm8BJcub7HIILFDPP-PerXAVXS2zNTMKy7pc,33604
105
105
  qiskit/circuit/library/data_preparation/state_preparation.py,sha256=ZJ1xAp56BEKVLeGUKbNXZLR-0AdCAgQ1_WxDaDsXsfY,14470
@@ -257,7 +257,7 @@ qiskit/dagcircuit/dagcircuit.py,sha256=uheD2R2pbwvZ2TKn9GVuS_c06hhsU10JnO_UZLvuZ
257
257
  qiskit/dagcircuit/dagdependency.py,sha256=G1FVH0RhYWfKvHYQI9XjqflAho8ii29_OeYk7dAcTmw,23695
258
258
  qiskit/dagcircuit/dagdependency_v2.py,sha256=rImvOItj7-QU38xEuTRC9ceA3eVeDRYcwgUD6wPQj3I,22714
259
259
  qiskit/dagcircuit/dagdepnode.py,sha256=sIgafYfSl9RpMevWkFYUHgWv8GYpNMnH0VLTrTVbIsY,5415
260
- qiskit/dagcircuit/dagnode.py,sha256=qf9Ld-7zFuLMwGHGaUgp2N_suCzYXTRuResl6ev22DU,7032
260
+ qiskit/dagcircuit/dagnode.py,sha256=r8zRXYB4MfUGekKXbPESs4NDmKNdbU833ws_qeVTnqc,7078
261
261
  qiskit/dagcircuit/exceptions.py,sha256=BnUiInyLFV37xbHgn6GCUvnHLHBNO0uq-3mkNSEN9Mk,1276
262
262
  qiskit/passmanager/__init__.py,sha256=QB7r-1AbUnE2t-XWbDpW5o1_x2lIcHE5vmM9QHiankc,8855
263
263
  qiskit/passmanager/base_tasks.py,sha256=mfoiNH5XDpLdTwrkvKKlIwuLZh_dgDB8dQc3A-VCQm8,7771
@@ -283,7 +283,7 @@ qiskit/primitives/base/sampler_result_v1.py,sha256=SL-9bs-kAk6crFryxkaXjFGq0Ms0Z
283
283
  qiskit/primitives/base/validation_v1.py,sha256=9SjqZnmcU-50LuzYgr5M9T878XH1iHbVPQXeLONdJ00,9874
284
284
  qiskit/primitives/containers/__init__.py,sha256=sRqnNeUDNhzUoGE6uaZz3otFX7_cKnRUcSjgCWqSfLw,950
285
285
  qiskit/primitives/containers/bindings_array.py,sha256=LsEWn-uiY6xEhhZfVB6s5e4mXy9bkEGH77nTCea7hxs,16154
286
- qiskit/primitives/containers/bit_array.py,sha256=hsNOMsXE-sYaWbvO2HtBBqNyozjQydmrOOg-Wq0IzV8,32877
286
+ qiskit/primitives/containers/bit_array.py,sha256=j748kbsAPH7Dg3WdxXSCp9d0iKCO5rnlF51rtdbf5ls,32889
287
287
  qiskit/primitives/containers/data_bin.py,sha256=Cmp9sbeeS4UnQn-q0M7weHOQh0y4l4_Dx_18dTLPF1g,5563
288
288
  qiskit/primitives/containers/estimator_pub.py,sha256=npFzw9LQhEBumvb-T8GlsGdrwKn6pAoGn2N8eytYLDk,8352
289
289
  qiskit/primitives/containers/object_array.py,sha256=A5yppo38ZFzwQuoQVf2YZKJrZHEXonaNr__0uc_GTyQ,3469
@@ -610,7 +610,7 @@ qiskit/transpiler/passes/synthesis/aqc_plugin.py,sha256=y3eoBqsHfugseAa2wYvY-5eW
610
610
  qiskit/transpiler/passes/synthesis/clifford_unitary_synth_plugin.py,sha256=nlS9G-YeRnHVmTBG3Jvbz6R4zvCNLVFN83c957nuCY8,3655
611
611
  qiskit/transpiler/passes/synthesis/default_unitary_synth_plugin.py,sha256=4g3vPCfLeFn3hG2oG-TBmi4khEcPCIU328VkLbRKw84,26453
612
612
  qiskit/transpiler/passes/synthesis/high_level_synthesis.py,sha256=Iq6_PenaX1vhqfO_eA3TS8thIN8jGf29NKgd4ChUsFs,20361
613
- qiskit/transpiler/passes/synthesis/hls_plugins.py,sha256=vuhCZ5TSyL2_j6Bn7H_ajREtqZz80VrsXsLO40Sf6Ak,92921
613
+ qiskit/transpiler/passes/synthesis/hls_plugins.py,sha256=zSK5b8cvrrzBzSidYFzw_q4tfd8szBQMcIvbYgvaajA,93047
614
614
  qiskit/transpiler/passes/synthesis/linear_functions_synthesis.py,sha256=Sit6NoTlFXNBDrDxlyMar9ro7VunRJQxWb5NeG2JTZc,1448
615
615
  qiskit/transpiler/passes/synthesis/plugin.py,sha256=Ac3kp-0Bo_FhcVbcLLWVFWrC8co19QVwq1zF7onVC3g,31840
616
616
  qiskit/transpiler/passes/synthesis/solovay_kitaev_synthesis.py,sha256=FYtAnFO1CCP0CdZ3MdC_6tcXpGwQfzd0yzpD4AeraoQ,12765
@@ -691,9 +691,9 @@ qiskit/visualization/timeline/types.py,sha256=jtpipQWUpahayNPQYKUst4GG6BqauovO0q
691
691
  qiskit/visualization/timeline/plotters/__init__.py,sha256=Klg9a1cSUIQhc815g8OpnD5vO1hcI51L9KlFfKzcuRg,588
692
692
  qiskit/visualization/timeline/plotters/base_plotter.py,sha256=taRkL2ZbyorRUEf6nJS8egdzKW2eznQ3w5oBLtMG_U8,1805
693
693
  qiskit/visualization/timeline/plotters/matplotlib.py,sha256=dreQmQx2lVP5oPfTnF8Dm3x-vGjA4WHHtTIROm4WxDc,7188
694
- qiskit-2.1.0.dist-info/licenses/LICENSE.txt,sha256=pUbmRuPr1gJTTTWZu2c8UmNSntz-pDdKfGR-86NRkok,11619
695
- qiskit-2.1.0.dist-info/METADATA,sha256=UgfnL-y3EtOxZhsNJSKCkXGbL3lQ3m5nTpupNdRJS2A,13102
696
- qiskit-2.1.0.dist-info/WHEEL,sha256=DbN7S3h4YQA-y-B21gLEqncqJu4AuNAIA-Y5RA5Bkg0,99
697
- qiskit-2.1.0.dist-info/entry_points.txt,sha256=LgecGP9Htt6gU4ye0nHfANDekQtXNqWb3I8DtkhSGGg,6787
698
- qiskit-2.1.0.dist-info/top_level.txt,sha256=_vjFXLv7qrHyJJOC2-JXfG54o4XQygW9GuQPxgtSt9Q,7
699
- qiskit-2.1.0.dist-info/RECORD,,
694
+ qiskit-2.1.1.dist-info/licenses/LICENSE.txt,sha256=pUbmRuPr1gJTTTWZu2c8UmNSntz-pDdKfGR-86NRkok,11619
695
+ qiskit-2.1.1.dist-info/METADATA,sha256=Ta00-GsQini_sLFuM2iyYm3sgbMU9iv4-xrh0pzZsCM,13102
696
+ qiskit-2.1.1.dist-info/WHEEL,sha256=DbN7S3h4YQA-y-B21gLEqncqJu4AuNAIA-Y5RA5Bkg0,99
697
+ qiskit-2.1.1.dist-info/entry_points.txt,sha256=LgecGP9Htt6gU4ye0nHfANDekQtXNqWb3I8DtkhSGGg,6787
698
+ qiskit-2.1.1.dist-info/top_level.txt,sha256=_vjFXLv7qrHyJJOC2-JXfG54o4XQygW9GuQPxgtSt9Q,7
699
+ qiskit-2.1.1.dist-info/RECORD,,
File without changes