text
stringlengths
4
4.46M
id
stringlengths
13
126
metadata
dict
__index_level_0__
int64
0
415
# This code is part of Qiskit. # # (C) Copyright IBM 2021 # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wor...
qiskit/qiskit/synthesis/two_qubit/xx_decompose/paths.py/0
{ "file_path": "qiskit/qiskit/synthesis/two_qubit/xx_decompose/paths.py", "repo_id": "qiskit", "token_count": 10898 }
200
# This code is part of Qiskit. # # (C) Copyright IBM 2022. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
qiskit/qiskit/synthesis/unitary/aqc/fast_gradient/pmatrix.py/0
{ "file_path": "qiskit/qiskit/synthesis/unitary/aqc/fast_gradient/pmatrix.py", "repo_id": "qiskit", "token_count": 5745 }
201
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
qiskit/qiskit/transpiler/passes/analysis/resource_estimation.py/0
{ "file_path": "qiskit/qiskit/transpiler/passes/analysis/resource_estimation.py", "repo_id": "qiskit", "token_count": 468 }
202
# This code is part of Qiskit. # # (C) Copyright IBM 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
qiskit/qiskit/transpiler/passes/calibration/rzx_templates.py/0
{ "file_path": "qiskit/qiskit/transpiler/passes/calibration/rzx_templates.py", "repo_id": "qiskit", "token_count": 585 }
203
# This code is part of Qiskit. # # (C) Copyright IBM 2022. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
qiskit/qiskit/transpiler/passes/layout/vf2_utils.py/0
{ "file_path": "qiskit/qiskit/transpiler/passes/layout/vf2_utils.py", "repo_id": "qiskit", "token_count": 4832 }
204
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
qiskit/qiskit/transpiler/passes/optimization/hoare_opt.py/0
{ "file_path": "qiskit/qiskit/transpiler/passes/optimization/hoare_opt.py", "repo_id": "qiskit", "token_count": 7810 }
205
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
qiskit/qiskit/transpiler/passes/optimization/template_matching/forward_match.py/0
{ "file_path": "qiskit/qiskit/transpiler/passes/optimization/template_matching/forward_match.py", "repo_id": "qiskit", "token_count": 8150 }
206
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2018. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
qiskit/qiskit/transpiler/passes/routing/layout_transformation.py/0
{ "file_path": "qiskit/qiskit/transpiler/passes/routing/layout_transformation.py", "repo_id": "qiskit", "token_count": 1903 }
207
# This code is part of Qiskit. # # (C) Copyright IBM 2024. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
qiskit/qiskit/transpiler/passes/synthesis/qubit_tracker.py/0
{ "file_path": "qiskit/qiskit/transpiler/passes/synthesis/qubit_tracker.py", "repo_id": "qiskit", "token_count": 2225 }
208
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
qiskit/qiskit/transpiler/passes/utils/merge_adjacent_barriers.py/0
{ "file_path": "qiskit/qiskit/transpiler/passes/utils/merge_adjacent_barriers.py", "repo_id": "qiskit", "token_count": 2694 }
209
# This code is part of Qiskit. # # (C) Copyright IBM 2021, 2023. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
qiskit/qiskit/transpiler/target.py/0
{ "file_path": "qiskit/qiskit/transpiler/target.py", "repo_id": "qiskit", "token_count": 26524 }
210
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2018. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
qiskit/qiskit/visualization/circuit/_utils.py/0
{ "file_path": "qiskit/qiskit/visualization/circuit/_utils.py", "repo_id": "qiskit", "token_count": 10644 }
211
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2024. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
qiskit/qiskit/visualization/gate_map.py/0
{ "file_path": "qiskit/qiskit/visualization/gate_map.py", "repo_id": "qiskit", "token_count": 20926 }
212
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
qiskit/qiskit/visualization/timeline/types.py/0
{ "file_path": "qiskit/qiskit/visualization/timeline/types.py", "repo_id": "qiskit", "token_count": 1525 }
213
--- other: - | ``matplotlib.figure.Figure`` objects returned by visualization functions are no longer always closed by default. Instead the returned figure objects are only closed if the configured matplotlib backend is an inline jupyter backend(either set with ``%matplotlib inline`` or ``%matplot...
qiskit/releasenotes/notes/0.10/matplotlib-close-306c5a9ea2d118bf.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.10/matplotlib-close-306c5a9ea2d118bf.yaml", "repo_id": "qiskit", "token_count": 137 }
214
--- features: - | Add ``ControlledGate`` class for representing controlled gates. Controlled gate instances are created with the ``control(n)`` method of ``Gate`` objects where ``n`` represents the number of controls. The control qubits come before the controlled qubits in the new gate. For exampl...
qiskit/releasenotes/notes/0.11/add_ControlledGate_class-010c5c90f8f95e78.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.11/add_ControlledGate_class-010c5c90f8f95e78.yaml", "repo_id": "qiskit", "token_count": 337 }
215
--- features: - | PassManagers can now be sliced to create a new Passmanager containing a subset of passes using the square bracket operator. This allow running or drawing a portion of the Passmanager for easier testing and visualization. For example let's try to draw the first 3 passes of a PassManag...
qiskit/releasenotes/notes/0.11/passmanager_slicing-57ad2824b43ed75a.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.11/passmanager_slicing-57ad2824b43ed75a.yaml", "repo_id": "qiskit", "token_count": 223 }
216
--- features: - | A new method :meth:`qiskit.transpiler.CouplingMap.draw` was added to :class:`qiskit.transpiler.CouplingMap` to generate a graphviz images from the coupling map graph. For example: .. code-block:: from qiskit.transpiler import CouplingMap coupling_map = CouplingMap...
qiskit/releasenotes/notes/0.12/add-couplingmap-draw-45b8750065719e2c.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.12/add-couplingmap-draw-45b8750065719e2c.yaml", "repo_id": "qiskit", "token_count": 193 }
217
--- features: - | Added a new abstract method :meth:`qiskit.quantum_info.Operator.dot` to the abstract ``BaseOperator`` class, so it is included for all implementations of that abstract class, including :class:`qiskit.quantum_info.Operator` and ``QuantumChannel`` (e.g., :class:`qiskit.quantum_...
qiskit/releasenotes/notes/0.12/operator-dot-fd90e7e5ad99ff9b.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.12/operator-dot-fd90e7e5ad99ff9b.yaml", "repo_id": "qiskit", "token_count": 413 }
218
--- features: - | A new method, :meth:`~qiskit.circuit.QuantumCircuit.assign_parameters` has been added to the :class:`qiskit.circuit.QuantumCircuit` class. This method accepts a parameter dictionary with both floats and Parameters objects in a single dictionary. In other words this new method allows ...
qiskit/releasenotes/notes/0.13/bind-parameters-mixed-values-and-in-place-48a68c882a03070b.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.13/bind-parameters-mixed-values-and-in-place-48a68c882a03070b.yaml", "repo_id": "qiskit", "token_count": 178 }
219
--- upgrade: - | The :class:`~qiskit.circuit.QuantumCircuit` method :meth:`~qiskit.circuit.QuantumCircuit.draw` and :func:`qiskit.visualization.circuit_drawer` function will no longer include the initial state included in visualizations by default. If you would like to retain the initial state in ...
qiskit/releasenotes/notes/0.13/initial_state_draw_parameter-f360ac4e998ee944.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.13/initial_state_draw_parameter-f360ac4e998ee944.yaml", "repo_id": "qiskit", "token_count": 540 }
220
--- features: - | A new visualization function :func:`qiskit.visualization.visualize_transition` for visualizing single qubit gate transitions has been added. It takes in a single qubit circuit and returns an animation of qubit state transitions on a Bloch sphere. To use this function you must hav...
qiskit/releasenotes/notes/0.13/quibit-transition-visualization-a62d0d119569fa05.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.13/quibit-transition-visualization-a62d0d119569fa05.yaml", "repo_id": "qiskit", "token_count": 610 }
221
--- features: - | Add :meth:`~qiskit.quantum_info.Clifford.from_label` method to the :class:`qiskit.quantum_info.Clifford` class for initializing as the tensor product of single-qubit I, X, Y, Z, H, or S gates.
qiskit/releasenotes/notes/0.14/clifford-from-label-4ac8a987109916ef.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.14/clifford-from-label-4ac8a987109916ef.yaml", "repo_id": "qiskit", "token_count": 93 }
222
--- features: - | The methods on the :class:`qiskit.circuit.QuantumCircuit` class for adding gates (for example :meth:`~qiskit.circuit.QuantumCircuit.h`) which were previously added dynamically at run time to the class definition have been refactored to be statically defined methods of the class. This...
qiskit/releasenotes/notes/0.14/stop-monkeypatching-circuit-gates-e0a9fc1e78f54ebe.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.14/stop-monkeypatching-circuit-gates-e0a9fc1e78f54ebe.yaml", "repo_id": "qiskit", "token_count": 193 }
223
--- features: - | Two new classes, :class:`~qiskit.circuit.AncillaRegister` and :class:`~qiskit.circuit.AncillaQubit` have been added to the :mod:`qiskit.circuit` module. These are subclasses of :class:`~qiskit.circuit.QuantumRegister` and :class:`~qiskit.circuit.Qubit` respectively and enable mar...
qiskit/releasenotes/notes/0.15/ancilla-qubit-cdf5fb28373b8553.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.15/ancilla-qubit-cdf5fb28373b8553.yaml", "repo_id": "qiskit", "token_count": 158 }
224
--- fixes: - | Previously it was possible to set the number of control qubits to zero in which case the the original, potentially non-controlled, operation would be returned. This could cause an ``AttributeError`` to be raised if the caller attempted to access an attribute which only :class:`~qisk...
qiskit/releasenotes/notes/0.15/disallow_num_ctrl_qubits_zero-eb102aa087f30250.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.15/disallow_num_ctrl_qubits_zero-eb102aa087f30250.yaml", "repo_id": "qiskit", "token_count": 192 }
225
--- features: - | A new class, :class:`~qiskit.circuit.library.QuadraticForm` to the :mod:`qiskit.circuit.library` module for implementing a a quadratic form on binary variables. The circuit library element implements the operation .. math:: |x\rangle |0\rangle \mapsto |x\rangle |Q(x) \mod 2^m...
qiskit/releasenotes/notes/0.15/quadratic-form-circuit-f0ddb1694960cbc1.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.15/quadratic-form-circuit-f0ddb1694960cbc1.yaml", "repo_id": "qiskit", "token_count": 416 }
226
--- features: - | Added the method :meth:`~qiskit.pulse.Schedule.replace` to the :class:`qiskit.pulse.Schedule` class which allows a pulse instruction to be replaced with another. For example:: .. code-block:: python from qiskit import pulse d0 = pulse.DriveChannel(0) sched = pul...
qiskit/releasenotes/notes/0.15/schedule-replace-2c5634a6133db237.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.15/schedule-replace-2c5634a6133db237.yaml", "repo_id": "qiskit", "token_count": 219 }
227
--- features: - | A new color scheme, ``iqx``, has been added to the ``mpl`` backend for the circuit drawer :func:`qiskit.visualization.circuit_drawer` and :meth:`qiskit.circuit.QuantumCircuit.draw`. This uses the same color scheme as the Circuit Composer on the IBM Quantum Experience website. There a...
qiskit/releasenotes/notes/0.16/add-iqx-color-scheme-0de42f0d004fad31.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.16/add-iqx-color-scheme-0de42f0d004fad31.yaml", "repo_id": "qiskit", "token_count": 775 }
228
--- fixes: - | Fixes a bug where setting ``ctrl_state`` of a :class:`~qiskit.extensions.UnitaryGate` would be applied twice; once in the creation of the matrix for the controlled unitary and again when calling the :meth:`~qiskit.circuit.ControlledGate.definition` method of the :class:`qiskit.circu...
qiskit/releasenotes/notes/0.16/fix-bug-in-controlled-unitary-when-setting-ctrl_state-2f9af3b9f0f7903f.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.16/fix-bug-in-controlled-unitary-when-setting-ctrl_state-2f9af3b9f0f7903f.yaml", "repo_id": "qiskit", "token_count": 138 }
229
--- upgrade: - | The keyword arguments for the circuit gate methods (for example: :class:`qiskit.circuit.QuantumCircuit.cx`) ``q``, ``ctl*``, and ``tgt*``, which were deprecated in the 0.12.0 release, have been removed. Instead, only ``qubit``, ``control_qubit*`` and ``target_qubit*`` can be used...
qiskit/releasenotes/notes/0.16/remove-deprecated-gate-args-b29ba17badcb77ca.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.16/remove-deprecated-gate-args-b29ba17badcb77ca.yaml", "repo_id": "qiskit", "token_count": 128 }
230
--- features: - | Added a new function :func:`~qiskit.visualization.array_to_latex` to the :mod:`qiskit.visualization` module that can be used to represent and visualize vectors and matrices with LaTeX. .. code-block:: from qiskit.visualization import array_to_latex from nump...
qiskit/releasenotes/notes/0.17/add_array_to_latex-0b5f655a47f132c0.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.17/add_array_to_latex-0b5f655a47f132c0.yaml", "repo_id": "qiskit", "token_count": 208 }
231
--- fixes: - | Fixed an issue with the :func:`qiskit.visualization.circuit_drawer` function and :meth:`qiskit.circuit.QuantumCircuit.draw` method when visualizing a :class:`~qiskit.circuit.QuantumCircuit` with a :class:`~qiskit.circuit.Gate` that has a classical condition after a :class:`~qiskit.c...
qiskit/releasenotes/notes/0.17/conditional-displays-after-measure-3f53a86800b2c459.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.17/conditional-displays-after-measure-3f53a86800b2c459.yaml", "repo_id": "qiskit", "token_count": 239 }
232
--- fixes: - | Fixed the handling of breakpoints in the :class:`~qiskit.circuit.library.PiecewisePolynomialPauliRotations` class in the :mod:`qiskit.circuit.library`. Now for ``n`` intervals, ``n+1`` breakpoints are allowed. This enables specifying another end interval other than :math:`2^\text{nu...
qiskit/releasenotes/notes/0.17/fix-piecewise-breakpoints-21db5a7823fdfbed.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.17/fix-piecewise-breakpoints-21db5a7823fdfbed.yaml", "repo_id": "qiskit", "token_count": 157 }
233
--- features: - | A new transpiler pass, :py:class:`qiskit.transpiler.passes.RZXCalibrationBuilder`, capable of generating calibrations and adding them to a quantum circuit has been introduced. This pass takes calibrated :class:`~qiskit.circuit.library.CXGate` objects and creates the calibrati...
qiskit/releasenotes/notes/0.17/issue-5751-1b6249f6263c9c30.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.17/issue-5751-1b6249f6263c9c30.yaml", "repo_id": "qiskit", "token_count": 382 }
234
--- upgrade: - | The previously deprecated kwarg ``callback`` on the constructor for the :class:`~qiskit.transpiler.PassManager` class has been removed. This kwarg has been deprecated since the 0.13.0 release (April, 9th 2020). Instead you can pass the ``callback`` kwarg to the :meth:`qiskit.trans...
qiskit/releasenotes/notes/0.17/pm_cb_remove_5522-30358587a8db2701.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.17/pm_cb_remove_5522-30358587a8db2701.yaml", "repo_id": "qiskit", "token_count": 369 }
235
--- features: - | The ``latex`` output method for the :func:`qiskit.visualization.circuit_drawer` function and the :meth:`~qiskit.circuit.QuantumCircuit.draw` method now will use a user defined label on gates in the output visualization. For example:: import math from qiskit.circuit impo...
qiskit/releasenotes/notes/0.17/revise_latex_drawer-43ac082445a8611d.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.17/revise_latex_drawer-43ac082445a8611d.yaml", "repo_id": "qiskit", "token_count": 470 }
236
--- features: - | A new kwarg, ``line_discipline``, has been added to the :func:`~qiskit.tools.job_monitor` function. This kwarg enables changing the carriage return characters used in the ``job_monitor`` output. The ``line_discipline`` kwarg defaults to ``'\r'``, which is what was in use before.
qiskit/releasenotes/notes/0.18/add-line_discipline-to-job_monitor-dc9b66a9d819dbfa.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.18/add-line_discipline-to-job_monitor-dc9b66a9d819dbfa.yaml", "repo_id": "qiskit", "token_count": 107 }
237
--- deprecations: - | The legacy providers interface, which consisted of the :class:`qiskit.providers.BaseBackend`, :class:`qiskit.providers.BaseJob`, and :class:`qiskit.providers.BaseProvider` abstract classes, has been deprecated and will be removed in a future release. Instead you should use th...
qiskit/releasenotes/notes/0.18/deprecate-legacy-providers-383bf4142153297a.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.18/deprecate-legacy-providers-383bf4142153297a.yaml", "repo_id": "qiskit", "token_count": 249 }
238
--- fixes: - | Fixed an issue where the QASM output generated by the :meth:`~qiskit.circuit.QuantumCircuit.qasm` method of :class:`~qiskit.circuit.QuantumCircuit` for composite gates such as :class:`~qiskit.circuit.library.MCXGate` and its variants ( :class:`~qiskit.circuit.library.MCXGrayCode`, ...
qiskit/releasenotes/notes/0.18/fix-qasm-output-for-composite-gates-cc847103eec26c85.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.18/fix-qasm-output-for-composite-gates-cc847103eec26c85.yaml", "repo_id": "qiskit", "token_count": 300 }
239
--- fixes: - | Fixed an issue with the phase of the :class:`qiskit.opflow.gradients.QFI` class when the ``qfi_method`` is set to ``lin_comb_full`` which caused the incorrect observable to be evaluated.
qiskit/releasenotes/notes/0.18/phase_fix_fix-e6bff434a4b1e88d.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.18/phase_fix_fix-e6bff434a4b1e88d.yaml", "repo_id": "qiskit", "token_count": 74 }
240
--- fixes: - | Fixed a bug where many layout methods would ignore 3-or-more qubit gates, resulting in unexpected layout-allocation decisions. The transpiler pass :class:`.Unroll3qOrMore` is now being executed before the layout pass in all the preset pass managers when :func:`~.compiler.transpile` is ...
qiskit/releasenotes/notes/0.19/7156-df1a60c608b93184.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.19/7156-df1a60c608b93184.yaml", "repo_id": "qiskit", "token_count": 136 }
241
--- features: - | Introduced a new option ``qubit_subset`` to the constructor of :class:`.BIPMapping`. The option enables us to specify physical qubits to be used (in ``coupling_map`` of the device) during the mapping in one line: .. code-block:: python mapped_circ = BIPMapping( ...
qiskit/releasenotes/notes/0.19/add-qubit-subset-to-bip-mapper-e1c6234d04484d58.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.19/add-qubit-subset-to-bip-mapper-e1c6234d04484d58.yaml", "repo_id": "qiskit", "token_count": 553 }
242
--- deprecations: - | The ``label`` property of class :class:`~qiskit.circuit.library.MCMT` and subclass :class:`~qiskit.circuit.library.MCMTVChain` has been deprecated and will be removed in a future release. Consequently, the ``label`` kwarg on the constructor for both classes is also deprecated...
qiskit/releasenotes/notes/0.19/deprecate-mcmt-label-12865e041ce67658.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.19/deprecate-mcmt-label-12865e041ce67658.yaml", "repo_id": "qiskit", "token_count": 277 }
243
--- fixes: - | Fixed an issue where calling :meth:`.QuantumCircuit.decompose()` on a circuit containing an :class:`~qiskit.circuit.Instruction` whose :attr:`~.Instruction.definition` attribute was empty would leave the instruction in place, instead of decomposing it into zero operations. For examp...
qiskit/releasenotes/notes/0.19/fix-decompose-empty-gate-71455847dcaaea26.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.19/fix-decompose-empty-gate-71455847dcaaea26.yaml", "repo_id": "qiskit", "token_count": 284 }
244
--- features: - | The ``text`` output method for the :func:`~qiskit.visualization.circuit_drawer` function and the :meth:`.QuantumCircuit.draw` method can now draw circuits that contain gates with single bit condition. This was added for compatibility of text drawer with the new feature of supporting...
qiskit/releasenotes/notes/0.19/fix-text-drawer-bit-cond-a3b02f0b0b6e3ec2.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.19/fix-text-drawer-bit-cond-a3b02f0b0b6e3ec2.yaml", "repo_id": "qiskit", "token_count": 108 }
245
--- features: - | Added a :class:`~qiskit.circuit.library.PauliEvolutionGate` to the circuit library (:mod:`qiskit.circuit.library`) which defines a gate performing time evolution of (sums or sums-of-sums of) :obj:`.Pauli`\ s. The synthesis of this gate is performed by :class:`~qiskit.synthesis.Evolut...
qiskit/releasenotes/notes/0.19/pauli-evolution-gate-ad767a3e43714fa7.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.19/pauli-evolution-gate-ad767a3e43714fa7.yaml", "repo_id": "qiskit", "token_count": 498 }
246
--- upgrade: - | Various methods of assigning parameters to operands of pulse program instructions have been removed, having been deprecated in Qiskit Terra 0.17. These include: * the ``assign()`` method of :obj:`.pulse.Instruction`. * the ``assign()`` method of ``Channel``, which is the base...
qiskit/releasenotes/notes/0.19/remove-deprecated-pulse-code-57ec531224e45b5f.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.19/remove-deprecated-pulse-code-57ec531224e45b5f.yaml", "repo_id": "qiskit", "token_count": 1189 }
247
--- features: - | Added a new transpiler pass, :class:`~qiskit.transpiler.passes.VF2Layout`. This pass models the layout allocation problem as a subgraph isomorphism problem and uses the `VF2 algorithm`_ implementation in `retworkx <https://qiskit.org/documentation/retworkx/stubs/retworkx.vf2_mapping....
qiskit/releasenotes/notes/0.19/vf2layout-4cea88087c355769.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.19/vf2layout-4cea88087c355769.yaml", "repo_id": "qiskit", "token_count": 263 }
248
--- features: - | The ``FakeBogota``, ``FakeManila``, ``FakeRome``, and ``FakeSantiago`` fake backends which can be found in the ``qiskit.providers.fake_provider`` module can now be used as backends in Pulse experiments as they now include a :class:`~qiskit.providers.models.PulseDefaults` created from...
qiskit/releasenotes/notes/0.20/bogota-manila-rome-santiago-as-fakepulsebackends-2907dec149997a27.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.20/bogota-manila-rome-santiago-as-fakepulsebackends-2907dec149997a27.yaml", "repo_id": "qiskit", "token_count": 126 }
249
--- fixes: - | Fixed an endianness bug in :meth:`.BaseReadoutMitigator.expectation_value` when a string ``diagonal`` was passed. It will now correctly be interpreted as little endian in the same manner as the rest of Qiskit Terra, instead of big endian.
qiskit/releasenotes/notes/0.20/fix-mitigator-endian-ead88499eb7e12ea.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.20/fix-mitigator-endian-ead88499eb7e12ea.yaml", "repo_id": "qiskit", "token_count": 89 }
250
--- features: - | Introduced a new class :class:`~qiskit.circuit.library.StatePreparation`. This class allows users to prepare a desired state in the same fashion as :class:`~qiskit.extensions.Initialize` without the reset being automatically applied. For example, to prepare a qubit in the state...
qiskit/releasenotes/notes/0.20/new-state-preparation-class-f8c0617a0c988f12.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.20/new-state-preparation-class-f8c0617a0c988f12.yaml", "repo_id": "qiskit", "token_count": 307 }
251
--- upgrade: - | The module ``qiskit.circuit.library.probability_distributions`` has been removed and no longer exists as per the deprecation notice from qiskit-terra 0.17.0 (released Apr 1, 2021). The affected classes are ``UniformDistribution``, ``NormalDistribution``, and ``LogNormalDistributi...
qiskit/releasenotes/notes/0.20/remove_probability_distributions-d30bd77f0f2b9570.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.20/remove_probability_distributions-d30bd77f0f2b9570.yaml", "repo_id": "qiskit", "token_count": 187 }
252
--- features: - | Added a new class, :class:`qiskit.transpiler.StagedPassManager`, which is a :class:`~qiskit.transpiler.PassManager` subclass that has a pipeline with defined phases to perform circuit compilation. Each phase is a :class:`~qiskit.transpiler.PassManager` object that will get executed ...
qiskit/releasenotes/notes/0.21/add-full-passmanager-5a377f1b71480f72.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.21/add-full-passmanager-5a377f1b71480f72.yaml", "repo_id": "qiskit", "token_count": 357 }
253
--- deprecations: - | The `NetworkX <https://networkx.org/>`__ converter functions for the :meth:`.DAGCircuit.to_networkx` and :meth:`~.DAGCircuit.from_networkx`, along with the :meth:`.DAGDependency.to_networkx` method have been deprecated and will be removed in a future release. Qiskit has been...
qiskit/releasenotes/notes/0.21/deprecate-nx-dag-f8a8d947186222c2.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.21/deprecate-nx-dag-f8a8d947186222c2.yaml", "repo_id": "qiskit", "token_count": 294 }
254
--- upgrade: - | Qiskit Terra's compiled Rust extensions now have a minimum supported Rust version (MSRV) of 1.56.1. This means when building Qiskit Terra from source the oldest version of the Rust compiler supported is 1.56.1. If you are using an older version of the Rust compiler you will need to up...
qiskit/releasenotes/notes/0.21/msrv-0b626e1cfb415abf.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.21/msrv-0b626e1cfb415abf.yaml", "repo_id": "qiskit", "token_count": 138 }
255
--- upgrade: - | For Python 3.7 `shared-memory38 <https://pypi.org/project/shared-memory38/>`__ is now a dependency. This was added as a dependency for Python 3.7 to enable leveraging the shared memory constructs in the standard library of newer versions of Python. If you're running on Python >= 3.8 t...
qiskit/releasenotes/notes/0.21/shared-memory-dependency-1e32e1c55902216f.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.21/shared-memory-dependency-1e32e1c55902216f.yaml", "repo_id": "qiskit", "token_count": 310 }
256
--- features: - | Added new algorithms to calculate state fidelities/overlaps for pairs of quantum circuits (that can be parametrized). Apart from the base class (:class:`~qiskit.algorithms.state_fidelities.BaseStateFidelity`) which defines the interface, there is an implementation of the compute-unco...
qiskit/releasenotes/notes/0.22/add-fidelity-interface-primitives-dc543d079ecaa8dd.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.22/add-fidelity-interface-primitives-dc543d079ecaa8dd.yaml", "repo_id": "qiskit", "token_count": 367 }
257
--- fixes: - | Fixed a bug in :meth:`.QuantumCircuit.initialize` and :meth:`.QuantumCircuit.prepare_state` that caused them to not accept a single :class:`~qiskit.circuit.Qubit` as argument to initialize.
qiskit/releasenotes/notes/0.22/circuit-initialize-and-prepare-single-qubit-e25dacc8f873bc01.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.22/circuit-initialize-and-prepare-single-qubit-e25dacc8f873bc01.yaml", "repo_id": "qiskit", "token_count": 79 }
258
--- fixes: - | Fix a problem in the :class:`~.GateDirection` transpiler pass for the :class:`~.CZGate`. The CZ gate is symmetric, so flipping the qubit arguments is allowed to match the directed coupling map.
qiskit/releasenotes/notes/0.22/fix-flipping-cz-gate-fd08305ca12d9a79.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.22/fix-flipping-cz-gate-fd08305ca12d9a79.yaml", "repo_id": "qiskit", "token_count": 75 }
259
fixes: - | Fixed an issue in the output callable from the :meth:`~qiskit.algorithms.VQD.get_energy_evaluation` method of the :class:`~qiskit.algorithms.VQD` class will now correctly call the specified ``callback`` when run. Previously the callback would incorrectly not be used in this case. Fi...
qiskit/releasenotes/notes/0.22/make-use-of-callback-in-vqd-99e3c85f03181298.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.22/make-use-of-callback-in-vqd-99e3c85f03181298.yaml", "repo_id": "qiskit", "token_count": 141 }
260
--- features: - | The :meth:`.QNSPSA.get_fidelity` static method now supports an optional ``sampler`` argument which is used to provide an implementation of the :class:`~.BaseSampler` interface (such as :class:`~.Sampler`, :class:`~.BackendSampler`, or any provider implementations such as those pr...
qiskit/releasenotes/notes/0.22/qnspsa-primitification-29a9dcae055bf2b4.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.22/qnspsa-primitification-29a9dcae055bf2b4.yaml", "repo_id": "qiskit", "token_count": 215 }
261
--- features: - | The :class:`~.SteppableOptimizer` class is added. It allows one to perfore classical optimizations step-by-step using the :meth:`~.SteppableOptimizer.step` method. These optimizers implement the "ask and tell" interface which (optionally) allows to manually compute the required funct...
qiskit/releasenotes/notes/0.22/steppable-optimizers-9d9b48ba78bd58bb.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.22/steppable-optimizers-9d9b48ba78bd58bb.yaml", "repo_id": "qiskit", "token_count": 1445 }
262
--- features: - | Added a depth-efficient synthesis algorithm :func:`qiskit.synthesis.linear.linear_depth_lnn.synth_cnot_depth_line_kms` for linear reversible circuits :class:`~qiskit.circuit.library.LinearFunction` over the linear nearest-neighbor architecture, following the paper <https://arxiv....
qiskit/releasenotes/notes/0.23/add-linear-synthesis-lnn-depth-5n-36c1aeda02b8bc6f.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.23/add-linear-synthesis-lnn-depth-5n-36c1aeda02b8bc6f.yaml", "repo_id": "qiskit", "token_count": 253 }
263
--- features: - | Added the method :meth:`.QuantumCircuit.from_instructions` for constructing a quantum circuit from an iterable of instructions.
qiskit/releasenotes/notes/0.23/circuit-from-instructions-832b43bfd2bfd921.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.23/circuit-from-instructions-832b43bfd2bfd921.yaml", "repo_id": "qiskit", "token_count": 48 }
264
--- fixes: - | Fixed an issue with the backend primitive classes :class:`~.BackendSampler` and :class:`~.BackendEstimator` which prevented running with a :class:`~.BackendV1` instance that does not have a ``max_experiments`` field set in its :class:`~.BackendConfiguration`.
qiskit/releasenotes/notes/0.23/fix-backend-primitive-no-max-experiments-e2ca41ec61de353e.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.23/fix-backend-primitive-no-max-experiments-e2ca41ec61de353e.yaml", "repo_id": "qiskit", "token_count": 99 }
265
--- deprecations: - | The ``pauli_list`` kwarg of :func:`.pauli_basis` has been deprecated as :func:`.pauli_basis` now always returns a :class:`.PauliList`. fixes: - | Fixes the removal of ``pauli_list`` kwarg of :func:`.pauli_basis` which broke existing code using the ``pauli_list=True`` future com...
qiskit/releasenotes/notes/0.23/fix-pauli-basis-dep-27c0a4506ad38d2c.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.23/fix-pauli-basis-dep-27c0a4506ad38d2c.yaml", "repo_id": "qiskit", "token_count": 166 }
266
--- fixes: - | Fixed an issue with :func:`~.transpile` when targeting a :class:`~.Target` (either directly via the ``target`` argument or via a :class:`~.BackendV2` instance from the ``backend`` argument) that contained an ideal :class:`~.Measure` instruction (one that does not have any properties...
qiskit/releasenotes/notes/0.23/fix-transpile-ideal-measurement-c37e04533e196ded.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.23/fix-transpile-ideal-measurement-c37e04533e196ded.yaml", "repo_id": "qiskit", "token_count": 159 }
267
--- upgrade: - | The ``initial_state`` argument of the :class:`~NLocal` class should be a :class:`~.QuantumCircuit`. Passing any other type was deprecated as of Qiskit Terra 0.18.0 (July 2021) and that possibility is now removed.
qiskit/releasenotes/notes/0.23/initial_state-8e20b04fc2ec2f4b.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.23/initial_state-8e20b04fc2ec2f4b.yaml", "repo_id": "qiskit", "token_count": 82 }
268
--- upgrade: - | The previously deprecated `NetworkX <https://networkx.org/>`_ converter methods for the class:`~.DAGCircuit` and class:`~.DAGDependency`classes: :meth:`.DAGCircuit.to_networkx`, :meth:`.DAGCircuit.from_networkx`, and :meth:`.DAGDependency.to_networkx` have been removed. These methods...
qiskit/releasenotes/notes/0.23/remove-networkx-converters-0a7eccf6fa847975.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.23/remove-networkx-converters-0a7eccf6fa847975.yaml", "repo_id": "qiskit", "token_count": 341 }
269
--- upgrade: - | Updated the reference implementation :meth:`~.Sampler.run` to return only states with non-zero probabilities.
qiskit/releasenotes/notes/0.23/update-sampler-zero-filter-8bf0d721af4fbd17.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.23/update-sampler-zero-filter-8bf0d721af4fbd17.yaml", "repo_id": "qiskit", "token_count": 44 }
270
--- features: - | Added high-level-synthesis plugins for :class:`.LinearFunction` and for :class:`qiskit.quantum_info.Clifford`, extending the set of synthesis methods that can be called from :class:`~qiskit.transpiler.passes.HighLevelSynthesis` transpiler pass. For :class:`.LinearFunction` the a...
qiskit/releasenotes/notes/0.24/add-hls-plugins-038388970ad43c55.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.24/add-hls-plugins-038388970ad43c55.yaml", "repo_id": "qiskit", "token_count": 1019 }
271
--- upgrade: - | The :meth:`.CouplingMap.__eq__`` method has been updated to check that the edge lists of the underlying graphs contain the same elements. Under the assumption that the underlying graphs are connected, this check additionally ensures that the graphs have the same number of nodes with t...
qiskit/releasenotes/notes/0.24/coupling-map-eq-b0507b703d62a5f3.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.24/coupling-map-eq-b0507b703d62a5f3.yaml", "repo_id": "qiskit", "token_count": 127 }
272
--- fixes: - | Fixed a bug where :meth:`.PauliOp.adjoint` did not return a correct value for Paulis with complex coefficients, like ``PauliOp(Pauli("iX"))``. Fixed `#9433 <https://github.com/Qiskit/qiskit-terra/issues/9433>`.
qiskit/releasenotes/notes/0.24/fix-PauliOp-adjoint-a275876185df989f.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.24/fix-PauliOp-adjoint-a275876185df989f.yaml", "repo_id": "qiskit", "token_count": 94 }
273
--- fixes: - | Fixed failure in using :func:`~qiskit.pulse.macros.measure` with :class:`.BackendV2` backends.
qiskit/releasenotes/notes/0.24/fix-macros-measure-with-backendV2-4354f00ab4f1cd3e.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.24/fix-macros-measure-with-backendV2-4354f00ab4f1cd3e.yaml", "repo_id": "qiskit", "token_count": 53 }
274
--- fixes: - | Fixed a bug in :func:`.generate_basic_approximations` where the inverse of the :class:`.SdgGate` was not correctly recognized as :class:`.SGate`. Fixed `#9585 <https://github.com/Qiskit/qiskit-terra/issues/9585>`__.
qiskit/releasenotes/notes/0.24/fix-sk-sdg-81ec87abe7af4a89.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.24/fix-sk-sdg-81ec87abe7af4a89.yaml", "repo_id": "qiskit", "token_count": 97 }
275
--- fixes: - | A bug has been fixed which had allowed broadcasting when a :class:`.PauliList` is initialized from :class:`.Pauli`\ s or labels. For instance, the code ``PauliList(["XXX", "Z"])`` now raises a ``ValueError`` rather than constructing the equivalent of ``PauliList(["XXX", "ZZZ"])``.
qiskit/releasenotes/notes/0.24/paulilist-do-not-broadcast-from-paulis-96de3832fba21b94.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.24/paulilist-do-not-broadcast-from-paulis-96de3832fba21b94.yaml", "repo_id": "qiskit", "token_count": 110 }
276
--- features: - | Improve the decomposition of multi-controlled Pauli-X and Pauli-Y rotations on :math:`n` controls to :math:`16n - 40` CX gates, for :math:`n \geq 4`. This improvement is based on `arXiv:2302.06377 <https://arxiv.org/abs/2302.06377>`__.
qiskit/releasenotes/notes/0.24/su2-synthesis-295ebf03d9033263.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.24/su2-synthesis-295ebf03d9033263.yaml", "repo_id": "qiskit", "token_count": 108 }
277
issues: - | Added support for taking absolute values of :class:`.ParameterExpression`\s. For example, the following is now possible:: from qiskit.circuit import QuantumCircuit, Parameter x = Parameter("x") circuit = QuantumCircuit(1) circuit.rx(abs(x), 0) ...
qiskit/releasenotes/notes/0.25/add-abs-to-parameterexpression-347ffef62946b38b.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.25/add-abs-to-parameterexpression-347ffef62946b38b.yaml", "repo_id": "qiskit", "token_count": 164 }
278
--- features: - | :meth:`.DAGCircuit.substitute_node` gained a ``propagate_condition`` keyword argument that is analogous to the same argument in :meth:`~.DAGCircuit.substitute_node_with_dag`. Setting this to ``False`` opts out of the legacy behavior of copying a condition on the ``node`` onto the ne...
qiskit/releasenotes/notes/0.25/dag-substitute-node-propagate-condition-898052b53edb1f17.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.25/dag-substitute-node-propagate-condition-898052b53edb1f17.yaml", "repo_id": "qiskit", "token_count": 235 }
279
--- fixes: - | When :func:`~qiskit.quantum_info.synthesis.qs_decomposition`, which does quantum Shannon decomposition, was called on trivial numeric unitaries that do not benefit from this decomposition, an unexpected error was raised. With this fix, such unitaries are detected and the equivalent circ...
qiskit/releasenotes/notes/0.25/fix-1q-matrix-bug-in-quantum-shannon-decomposer-c99ce6509f03715b.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.25/fix-1q-matrix-bug-in-quantum-shannon-decomposer-c99ce6509f03715b.yaml", "repo_id": "qiskit", "token_count": 100 }
280
--- fixes: - | Fixed plot legend error when your dataset has a zero value at first position. When one of your counts or distributions had a zero value at first position, the relative legend didn't show up. See `#10158 <https://github.com/Qiskit/qiskit-terra/issues/10158>` for more details.
qiskit/releasenotes/notes/0.25/fix-plot-legend-not-showing-up-3202bec143529e49.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.25/fix-plot-legend-not-showing-up-3202bec143529e49.yaml", "repo_id": "qiskit", "token_count": 92 }
281
--- fixes: - | Improve the type annotations on the :meth:`.QuantumCircuit.assign_parameters` method to reflect the change in return type depending on the ``inplace`` argument.
qiskit/releasenotes/notes/0.25/improve-quantum-circuit-assign-parameters-typing-70c9623405cbd420.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.25/improve-quantum-circuit-assign-parameters-typing-70c9623405cbd420.yaml", "repo_id": "qiskit", "token_count": 64 }
282
--- upgrade: - | Support for passing in lists of argument values to the :func:`~.transpile` function is removed. This functionality was deprecated as part of the 0.23.0 release and is now being removed. You are still able to pass in a list of :class:`~.QuantumCircuit` objects for the first positional ...
qiskit/releasenotes/notes/0.25/remove-transpile-broadcast-1dfde28d508efa0d.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.25/remove-transpile-broadcast-1dfde28d508efa0d.yaml", "repo_id": "qiskit", "token_count": 623 }
283
--- features: - | A new module :mod:`qiskit.passmanager` is added. This module implements a generic pass manager and flow controllers, and provides infrastructure to manage execution of pass manager tasks. The pass manager is a base class and not aware of the input and output object types, and sub...
qiskit/releasenotes/notes/0.45/add-passmanager-module-3ae30cff52cb83f1.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.45/add-passmanager-module-3ae30cff52cb83f1.yaml", "repo_id": "qiskit", "token_count": 1627 }
284
--- deprecations: - | Deprecate duplicate gate methods on :class:`.QuantumCircuit`. The rule applied is that the method names reflect that gate names, e.g. the :class:`.CXGate` is added via :meth:`.QuantumCircuit.cx` and not :meth:`.QuantumCircuit.cnot`. The deprecations are: * :meth:`.QuantumCir...
qiskit/releasenotes/notes/0.45/deprecate-duplicates-a871f83bbbe1c96f.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.45/deprecate-duplicates-a871f83bbbe1c96f.yaml", "repo_id": "qiskit", "token_count": 342 }
285
--- fixes: - | Fix the coloring of the ``"iqx"`` and ``"iqx-dark"`` matplotlib color schemes, which previously drew the :class:`.RZGate`, :class:`.RZZGate`, (multi-)controlled :class:`.PhaseGate`\s and :class:`.iSwapGate` in the wrong color.
qiskit/releasenotes/notes/0.45/fix-iqx-colors-a744cea132896e53.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.45/fix-iqx-colors-a744cea132896e53.yaml", "repo_id": "qiskit", "token_count": 95 }
286
--- upgrade: - | Disables the use of :class:`.RemoveResetInZeroState` in the preset passmanagers. This better aligns circuits to the notion of arbitrary initial states unless explicitly set to zeros with resets.
qiskit/releasenotes/notes/0.45/keep-initial-resets-a5f75cb16c8edb57.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.45/keep-initial-resets-a5f75cb16c8edb57.yaml", "repo_id": "qiskit", "token_count": 67 }
287
upgrade: - | Removed the argument `qubit_channel_mapping` in :class:`qiskit.transpiler.passes.calibration.rzx_builder.RZXCalibrationBuilder`, which was deprecated in Qiskit 0.39 (released on Oct 2022, with qiskit-terra 0.22) - | Replaced the argument ``qobj[Qobj]`` in :meth:`qiskit.providers.aer.QasmSim...
qiskit/releasenotes/notes/0.45/remove-deprecated-code-in-0.22.0-139fa09ee0cc6df9.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.45/remove-deprecated-code-in-0.22.0-139fa09ee0cc6df9.yaml", "repo_id": "qiskit", "token_count": 419 }
288
--- fixes: - | The setter for :attr:`.SparsePauliOp.paulis` will now correctly reject attempts to set the attribute with incorrectly shaped data, rather than silently allowing an invalid object to be created. See `#10384 <https://github.com/Qiskit/qiskit-terra/issues/10384>`__.
qiskit/releasenotes/notes/0.45/sparse-pauli-op-constraint-pauli-setter-52f6f89627d1937c.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.45/sparse-pauli-op-constraint-pauli-setter-52f6f89627d1937c.yaml", "repo_id": "qiskit", "token_count": 96 }
289
--- upgrade: - | The jupyter cell magic ``%%qiskit_progress_bar`` from ``qiskit.tools.jupyter`` has been changed to a line magic. This was done to better reflect how the magic is used and how it works. If you were using the ``%%qiskit_progress_bar`` cell magic in an existing notebook, you will hav...
qiskit/releasenotes/notes/0.9/jupyter-progressbar-api-change-6f60185bc71fc5f0.yaml/0
{ "file_path": "qiskit/releasenotes/notes/0.9/jupyter-progressbar-api-change-6f60185bc71fc5f0.yaml", "repo_id": "qiskit", "token_count": 149 }
290
--- fixes: - | Fixed an issue in the ``text`` circuit drawer when displaying operations that were not :class:`.circuit.instruction.Instruction` class. These operations would cause the drawer to fail. Examples were :class:`.Clifford` and :class:`.AnnotatedOperation`. features_visualization: - | ...
qiskit/releasenotes/notes/1.0/add-annotated-to-drawers-8bcc3a069dd981ad.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.0/add-annotated-to-drawers-8bcc3a069dd981ad.yaml", "repo_id": "qiskit", "token_count": 482 }
291
--- upgrade_circuits: - | To support a more compact in-memory representation, the :class:`.QuantumCircuit` class is now limited to supporting a maximum of ``2^32 (=4,294,967,296)`` qubits and clbits, for each of these two bit types (the limit is not combined). The number of unique sequences of ind...
qiskit/releasenotes/notes/1.0/bit-interning-35da0aaa76aa7fc5.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.0/bit-interning-35da0aaa76aa7fc5.yaml", "repo_id": "qiskit", "token_count": 244 }
292
--- fixes: - | Fixed an issue with the :class:`.Barrier` class. When adding a :class:`.Barrier` instance to a :class:`.QuantumCircuit` with the :meth:`.QuantumCircuit.append` method, previously there was no validation that the size of the barrier matched the qargs specified.
qiskit/releasenotes/notes/1.0/fix-barrier-arg-list-check-ff69f37ede6bdf6c.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.0/fix-barrier-arg-list-check-ff69f37ede6bdf6c.yaml", "repo_id": "qiskit", "token_count": 94 }
293
--- fixes: - | Fixed compatibility of :class:`.DynamicalDecoupling` and :class:`.PadDynamicalDecoupling` with circuits that have a parameterized global phase. Fixed `#10569 <https://github.com/Qiskit/qiskit/issues/10569>`__.
qiskit/releasenotes/notes/1.0/fix-param-global-phase-31547267f6124552.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.0/fix-param-global-phase-31547267f6124552.yaml", "repo_id": "qiskit", "token_count": 90 }
294
--- features_transpiler: - | Added a new function, :func:`.high_level_synthesis_plugin_names`, that can be used to get the list of installed high level synthesis plugins for a given operation name.
qiskit/releasenotes/notes/1.0/high-level-synthesis-plugin-list-beff523921c4c4eb.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.0/high-level-synthesis-plugin-list-beff523921c4c4eb.yaml", "repo_id": "qiskit", "token_count": 66 }
295
--- features_qasm: - | The OpenQASM 3 exporter (see :func:`~.qasm3.dump` and :func:`~.qasm3.dumps` functions in :mod:`qiskit.qasm3`) now supports the stabilized syntax of the ``switch`` statement in OpenQASM 3 by default. The pre-certification syntax of the ``switch`` statement is still available by ...
qiskit/releasenotes/notes/1.0/qasm3-stable-switch-61a10036d1587778.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.0/qasm3-stable-switch-61a10036d1587778.yaml", "repo_id": "qiskit", "token_count": 310 }
296
--- upgrade_circuits: - | Removed the ``qiskit.extensions`` module, which has been pending deprecation since the 0.45 release and has been fully deprecated in the 0.46 release. The following operations from this module are available in :mod:`qiskit.circuit.library`: * :class:`~.library.DiagonalGate...
qiskit/releasenotes/notes/1.0/remove-extensions-ce520ba419c93c58.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.0/remove-extensions-ce520ba419c93c58.yaml", "repo_id": "qiskit", "token_count": 773 }
297
--- fixes: - | Fixed an issue in :func:`.unitary_to_gate_sequence` which caused unitary decomposition in the RR basis to emit two R gates in some cases where the matrix can be expressed as a single R gate. Previously, in those cases you would get two R gates with the same phi parameter. Now, they are ...
qiskit/releasenotes/notes/1.0/rr-decomposition-synthesis-70eb88ada9305916.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.0/rr-decomposition-synthesis-70eb88ada9305916.yaml", "repo_id": "qiskit", "token_count": 102 }
298
--- features: - | The implementation :class:`~.BackendSamplerV2` of :class:`~.BaseSamplerV2` was added. This sampler supports :class:`~.BackendV1` and :class:`~.BackendV2` that allow ``memory`` option to compute bitstrings. .. code-block:: python import numpy as np from qiskit import tra...
qiskit/releasenotes/notes/1.1/add-backend-sampler-v2-5e40135781eebc7f.yaml/0
{ "file_path": "qiskit/releasenotes/notes/1.1/add-backend-sampler-v2-5e40135781eebc7f.yaml", "repo_id": "qiskit", "token_count": 458 }
299