-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Go through renos, update versions * add prelude * fix links mod:`qiskit.circuit.random` is not working for some reason I do not understand * fix renos - no optimization level 2 default - fix peephole wording * implement review comments * Rm already released notes * move recent renos * reword backendv1 deprecation * review comments round 2 * Fix typo in external link syntax * Remove release note for already release var feature --------- Co-authored-by: Matthew Treinish <[email protected]>
- Loading branch information
Showing
58 changed files
with
160 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.2.0rc1 | ||
1.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
releasenotes/notes/1.2/add-random-clifford-util-5358041208729988.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
5 changes: 3 additions & 2 deletions
5
releasenotes/notes/1.2/backend-estimator-v2-variance-905c953415ad0e29.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
fixes: | ||
- | | ||
Changes the way in which the :class:`.BackendEstimatorV2` class calculates the ``std`` to ensure that | ||
it matches the correct formula. | ||
Fix the calculation of the standard deviation in :class:`.BackendEstimatorV2`, by taking | ||
into account co-variance of non-commuting Paulis. | ||
Fixed `Qiskit/qiskit-ibm-runtime#1751 <https://github.com/Qiskit/qiskit-ibm-runtime/issues/1751>`__. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
deprecations_providers: | ||
- | | ||
The :class:`.BackendV1` class is deprecated and it will be removed no earlier than the next major release, | ||
2.0.0. See `the migration guide <https://qisk.it/backendV1-to-V2>`__ for details on how to update | ||
to :class:`.BackendV2`. |
8 changes: 4 additions & 4 deletions
8
releasenotes/notes/1.2/barebone-backend-option-675c86df4382a443.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
features: | ||
- | | ||
Added two parameters to :class:`.GenericBackendV2` to exclude error (`noise_info`) and | ||
pulse channel information (`pulse_channels`) from the construction of the backend. These parameters | ||
are true by default, replicating the initial default behavior of the constructor. A memory-sensitive | ||
user may set these options to `False` to reduce the memory overhead by 40x when transpiling on large- | ||
Added two parameters to :class:`.GenericBackendV2` to exclude error (``noise_info``) and | ||
pulse channel information (``pulse_channels``) from the construction of the backend. These parameters | ||
are ``True`` by default, replicating the initial default behavior of the constructor. A memory-sensitive | ||
user may set these options to ``False`` to reduce the memory overhead by 40x when transpiling on large- | ||
scale :class:`.GenericBackendV2`. |
6 changes: 3 additions & 3 deletions
6
releasenotes/notes/1.2/circuit-draw-warn-justify-03434d30cccda452.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
--- | ||
deprecations_visualization: | ||
- | | ||
The ``justify`` argument of :func:`circuit_drawer` or :meth:`QuantumCircuit.draw`, will | ||
The ``justify`` argument of :func:`.circuit_drawer` or :meth:`.QuantumCircuit.draw`, will | ||
no longer support invalid values (previously changing them to the default), and in a future | ||
release they will error. Valid justify values are ``"left"``, ``"right"`` or ``"none"``. | ||
fixes: | ||
- | | ||
Fixed an issue where :func:`circuit_drawer` or the :meth:`QuantumCircuit.draw` method would | ||
Fixed an issue where :func:`.circuit_drawer` or the :meth:`.QuantumCircuit.draw` method would | ||
not raise a warning when an invalid value was passed to the ``justify`` argument, before | ||
changing it to the default. Now, it will raise a warning if an invalid value is passed. | ||
Valid justify values are ``"left"``, ``"right"`` or ``"none"``. Refer to | ||
`#12089 <https://github.com/Qiskit/qiskit/issues/12089>` for more details. | ||
`#12089 <https://github.com/Qiskit/qiskit/issues/12089>`_ for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
releasenotes/notes/1.2/deprecate-visualize_transition-8c1d257b7f37aa58.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
deprecations_visualization: | ||
- | | ||
The :func:`.transition_visualization` function has been deprecated and will | ||
The :func:`.visualize_transition` function has been deprecated and will | ||
be removed in the 2.0.0 release. This function had a number of limitations | ||
which limited it's utility to only very specific use cases and didn't fit in with | ||
which limited its utility to only very specific use cases and did not fit in with | ||
the rest of the Qiskit visualization module. |
11 changes: 9 additions & 2 deletions
11
releasenotes/notes/1.2/deprecate_assemble-67486b4d0a8d4f96.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
--- | ||
deprecations_providers: | ||
- | | ||
The `Qobj` structure and related classes are now deprecated, they were introduced as part of the `BackendV1` workflow and are no longer necessary for interacting with :class:`.BackendV2` backends. Remote backend interaction should be done via `QPY` or `OpenQASM` instead. | ||
The Qobj structure and related classes (see :mod:`qiskit.qobj`) are now deprecated. They were | ||
introduced as part of the :class:`.BackendV1` workflow and are no longer necessary for | ||
interacting with :class:`.BackendV2` backends. :class:`.QuantumCircuit` serialiaztion should be | ||
done via QPY (see :mod:`qiskit.qpy`) or OpenQASM (see :mod:`qiskit.qasm2` and :mod:`qiskit.qasm3`) | ||
instead. | ||
deprecations_transpiler: | ||
- | | ||
The `assemble` function is now deprecated and will be removed in the 2.0 release. The function was primarily used to create a `Qobj`, which is no longer necessary in :class:`.BackendV2`-based workflows. It was also used for binding parameters, a functionality fully covered by :meth:`~.QuantumCircuit.assign_parameters`. | ||
The :func:`.assemble` function is now deprecated and will be removed in the 2.0 release. | ||
The function was primarily used to create a ``Qobj``, which is no longer necessary in | ||
:class:`.BackendV2`-based workflows. It was also used for binding parameters, a functionality | ||
fully covered by :meth:`.QuantumCircuit.assign_parameters`. |
30 changes: 17 additions & 13 deletions
30
releasenotes/notes/1.2/extended-random-circuits-049b67cce39003f4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
--- | ||
features_circuits: | ||
- | | ||
The `random_circuit` function from `qiskit.circuit.random.utils` has a new feature where | ||
users can specify a distribution `num_operand_distribution` (a dict) that specifies the | ||
The :func:`.random_circuit` function has a new feature where | ||
users can specify a distribution ``num_operand_distribution`` (a dict) that specifies the | ||
ratio of 1-qubit, 2-qubit, 3-qubit, and 4-qubit gates in the random circuit. For example, | ||
if `num_operand_distribution = {1: 0.25, 2: 0.25, 3: 0.25, 4: 0.25}` is passed to the function | ||
if ``num_operand_distribution = {1: 0.25, 2: 0.25, 3: 0.25, 4: 0.25}`` is passed to the function | ||
then the generated circuit will have approximately 25% of 1-qubit, 2-qubit, 3-qubit, and | ||
4-qubit gates (The order in which the dictionary is passed does not matter i.e. you can specify | ||
`num_operand_distribution = {3: 0.5, 1: 0.0, 4: 0.3, 2: 0.2}` and the function will still work | ||
as expected). Also it should be noted that the if `num_operand_distribution` is not specified | ||
then `max_operands` will default to 4 and a random circuit with a random gate distribution will | ||
be generated. If both `num_operand_distribution` and `max_operands` are specified at the same | ||
time then `num_operand_distribution` will be used to generate the random circuit. | ||
Example usage:: | ||
4-qubit gates. Also it should be noted that the if ``num_operand_distribution`` is not specified | ||
then ``max_operands`` will default to 4 and a random circuit with a random gate distribution will | ||
be generated. If both ``num_operand_distribution`` and ``max_operands`` are specified at the same | ||
time then ``num_operand_distribution`` will be used to generate the random circuit. | ||
from qiskit.circuit.random import random_circuit | ||
Example usage: | ||
.. plot:: | ||
:include-source: | ||
circ = random_circuit(num_qubits=6, depth=5, num_operand_distribution = {1: 0.25, 2: 0.25, 3: 0.25, 4: 0.25}) | ||
circ.draw(output='mpl') | ||
from qiskit.circuit.random import random_circuit | ||
circ = random_circuit( | ||
num_qubits=6, depth=5, num_operand_distribution={1: 0.25, 2: 0.25, 3: 0.25, 4: 0.25} | ||
) | ||
circ.draw(output="mpl") | ||
7 changes: 0 additions & 7 deletions
7
releasenotes/notes/1.2/fix-bitarray-fromcounts-nobits-82958a596b3489ec.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
releasenotes/notes/1.2/fix-c3sx-gate-matrix-050cf9f9ac3b2b82.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
releasenotes/notes/1.2/fix-collect-clifford-83af26d98b8c69e8.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 0 additions & 6 deletions
6
releasenotes/notes/1.2/fix-isometry-rust-adf0eed09c6611f1.yaml
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
releasenotes/notes/1.2/fix-kwarg-validation-BitArray-1bf542a1fb5c15c6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--- | ||
fixes: | ||
- | | ||
The keyword argument ``order`` of the function :meth:`.BitArray.from_bool_array` should be 'little' or 'big'. Added checks to raise error if an invalid value is entered. | ||
The keyword argument ``order`` of the function :meth:`.BitArray.from_bool_array` should be | ||
``"little"`` or ``"big"``. Added checks to raise error if an invalid value is entered. |
Oops, something went wrong.