-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forward port release notes changes from stable/1.0 (#11819)
* Forward port release notes changes from stable/1.0 In the rush to get 1.0.0rc1 release on time, we missed migrating the release notes from the root of the notes directory to the 1.0/ subdirectory. Doing this is convenient because it makes it easier to associate notes with a particular minor/major release which is useful for navigating potential issues with reno's history scan. This commit forward ports the state of the stable/1.0 branches release notes to main. This will make it much easier to differentiate which release notes are associated with 1.1 instead of 1.0. * Add reno subsection config
- Loading branch information
Showing
169 changed files
with
728 additions
and
761 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
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/1.0/5079_IntegerComparator_num_ancilla_qubits-bd1cff3366c345ae.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
upgrade_circuits: | ||
- | | ||
The property ``IntegerComparator.num_ancilla_qubits`` is removed, which was | ||
deprecated in Qiskit 0.23 (released in 2020-10). Its functionality is fully covered | ||
by :attr:`.IntegerComparator.num_ancilla`. |
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/1.0/Update_backend_model_up_conversion_logic-75ecc2030a9fe6b1.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
upgrade_providers: | ||
- | | ||
Changed default value of two arguments (:code:`add_delay` and :code:`filter_faulty`) in | ||
the :func:`.convert_to_target` function. | ||
This conversion function now adds delay instructions and removes faulty instructions by default. | ||
fixes: | ||
- | | ||
Fixed the return of improper measurement schedules when only a subset of qubits was requested. | ||
Previously, a measurement schedule for all qubits would be returned. |
4 changes: 2 additions & 2 deletions
4
...skit_version__11305-bcf134513641462b.yaml → ...skit_version__11305-bcf134513641462b.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 @@ | ||
--- | ||
upgrade: | ||
upgrade_misc: | ||
- | | ||
The variable ``qiskit.__qiskit_version__`` is removed as it was deprecated since | ||
Qiskit 0.44 (released on July 2023). | ||
Qiskit 0.44 (released in 2023-07). | ||
Instead, you should use ``qiskit.__version__``. The other packages listed in the | ||
former ``qiskit.__qiskit_version__`` have their own ``__version__`` module level dunder, | ||
as standard in PEP 8. |
18 changes: 18 additions & 0 deletions
18
releasenotes/notes/1.0/add-annotated-arg-to-control-d9a188fe66f037ad.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
features_circuit: | ||
- | | ||
Added a new argument, ``annotated``, to the methods :meth:`.QuantumCircuit.control`, :meth:`.Gate.control` | ||
and ``.control()`` methods of :class:`.Gate` subclasses (such as :class:`.UnitaryGate` or :class:`.SwapGate`) | ||
to optionally return an :class:`.AnnotatedOperation`. | ||
The default value of ``annotated`` is ``False`` and corresponds to the pre-existing behavior of the method, | ||
for example:: | ||
SwapGate().control(1, annotated=False) | ||
returns a :class:`.CSwapGate` while:: | ||
SwapGate().control(2, annotated=False) | ||
returns a ``ControlledGate``. When ``annotated=True``, the methods return an object of | ||
type :class:`~.AnnotatedOperation` instead, avoiding the eager construction of the controlled gate's definition. | ||
22 changes: 22 additions & 0 deletions
22
releasenotes/notes/1.0/add-annotated-arg-to-inverse-2e577f33793c06b1.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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
features_circuits: | ||
- | | ||
Added a new argument, ``annotated``, to the methods :meth:`.QuantumCircuit.inverse`, :meth:`.circuit.Instruction.inverse` | ||
and ``.inverse()`` methods of :class:`~qiskit.circuit.Instruction` subclasses (such as :class:`.SwapGate` or :class:`.SGate`) | ||
to optionally return an :class:`.AnnotatedOperation`. | ||
The default value of ``annotated`` is ``False`` and corresponds to the pre-existing behavior of the method. | ||
Furthermore, for standard gates with an explicitly defined ``inverse`` method, | ||
the argument ``annotated`` has no effect, for example, both:: | ||
SwapGate().inverse(annotated=False) | ||
SwapGate().inverse(annotated=True) | ||
return a :class:`.SwapGate`, and both:: | ||
SGate().inverse(annotated=False) | ||
SGate().inverse(annotated=True) | ||
return an :class:`.SdgGate`. The difference manifests for custom instructions without an explicitly defined | ||
inverse. With ``annotated=False``, the method returns a fresh instruction with the recursively inverted definition, | ||
just as before. While ``annotated=True`` returns an :class:`.AnnotatedOperation` that represents the instruction | ||
modified with the :class:`.InverseModifier`. |
34 changes: 34 additions & 0 deletions
34
releasenotes/notes/1.0/add-annotated-to-drawers-8bcc3a069dd981ad.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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
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: | ||
- | | ||
The ``text`` and ``mpl`` outputs for the :meth:`.QuantumCircuit.draw` and | ||
:func:`.circuit_drawer` circuit drawer functions will now display detailed | ||
information for operations of :class:`.AnnotatedOperation`. If the | ||
:attr:`.AnnotatedOperation.modifiers` contains a :class:`.ControlModifier`, | ||
the operation will be displayed the same way as controlled gates. If | ||
the :class:`.InverseModifier` or :class:`.PowerModifier` is used, | ||
these will be indicated with the base operation name. For example: | ||
.. plot:: | ||
:include-source: | ||
from qiskit.circuit import ( | ||
AnnotatedOperation, | ||
ControlModifier, | ||
PowerModifier, | ||
InverseModifier, | ||
QuantumCircuit | ||
) | ||
from qiskit.circuit.library import SGate | ||
annotated_op = AnnotatedOperation(SGate(), [PowerModifier(3.4), ControlModifier(3), InverseModifier()]) | ||
qc = QuantumCircuit(4) | ||
qc.append(annotated_op, range(4)) | ||
qc.draw("mpl") |
14 changes: 14 additions & 0 deletions
14
releasenotes/notes/1.0/add-commutation-library-88b7ff65b3d35f9a.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
features_circuits: | ||
- | | ||
Added a commutation library to the :class:`.CommutationChecker`. This library stores all the | ||
commutation relations of unparameterizable standard gates into a dictionary that allows | ||
for efficient lookup at runtime. This speeds up the execution of the :class:`.CommutationChecker` | ||
class and, by extension, the :class:`.CommutationAnalysis` transpiler pass, as instead of | ||
computing whether two unparameterizable standard gates commute it just has to look it up | ||
from the library. | ||
Additionally, the :class:`.CommutationChecker` was refactored and now has an upper limit | ||
set on the number of cached commutation relations that are not in the commutation library. | ||
This addressed: `#8020 <https://github.com/Qiskit/qiskit/issues/8020>`__ and | ||
`#7101 <https://github.com/Qiskit/qiskit/issues/7101>`__ |
4 changes: 2 additions & 2 deletions
4
...add-filter-op-nodes-aa024a0f1058e4b7.yaml → ...add-filter-op-nodes-aa024a0f1058e4b7.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
6 changes: 4 additions & 2 deletions
6
...ic-v1-fake-backends-f08694b03585833a.yaml → ...ic-v1-fake-backends-f08694b03585833a.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,19 +1,21 @@ | ||
--- | ||
features: | ||
features_providers: | ||
- | | ||
The :mod:`qiskit.providers.fake_provider` module now includes a series of generic fake backends | ||
following the :class:`.BackendV1` interface. They have been introduced as an alternative to the | ||
snapshot-based fake backends exposed in the deprecated ``FakeProvider`` | ||
(``FakeVigo``, ``FakeTokyo``, etc). The list of new fake backends includes: | ||
* Backends without pulse capabilities: | ||
* :class:`.Fake5QV1` | ||
* :class:`.Fake20QV1` | ||
* Backends with pulse capabilities: | ||
* :class:`.Fake7QPulseV1` | ||
* :class:`.Fake27QPulseV1` | ||
* :class:`.Fake127QPulseV1` | ||
The can be imported following the pattern: ``from qiskit.providers.fake_provider import Fake5QV1``. | ||
They can be imported following the pattern: ``from qiskit.providers.fake_provider import Fake5QV1``. | ||
More details on the backend properties can be found on each backend's API documentation. |
5 changes: 3 additions & 2 deletions
5
...nvalid-layout-error-d0d64086748d4b54.yaml → ...nvalid-layout-error-d0d64086748d4b54.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
20 changes: 20 additions & 0 deletions
20
releasenotes/notes/1.0/add-num-processes-kwarg-to-transpiler-3cb7f3457b54a535.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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
features_transpiler: | ||
- | | ||
Added a new keyword argument, ``num_processes``, to :func:`.transpile` and | ||
the :meth:`.PassManager.run` method. This allows for overriding both | ||
``QISKIT_NUM_PROCS`` and the ``num_processes`` field in user configuration files | ||
on a per-transpile basis. For example:: | ||
from qiskit import transpile, QuantumCircuit | ||
qc = QuantumCircuit(2) | ||
qc.h(0) | ||
qc.cx(0, 1) | ||
qc.measure_all() | ||
transpile([qc]*10, basis_gates=['u', 'cz'], num_processes=2) | ||
will run the transpile over the 10 input circuits using only 2 processes | ||
and will override the system default, environment variable, or user | ||
configuration file for that :func:`.transpile` call. |
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
2 changes: 1 addition & 1 deletion
2
...s/add-parameter-pow-ff5f8d10813f5733.yaml → ...0/add-parameter-pow-ff5f8d10813f5733.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
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/1.0/add-qpy-loading-depr-warning-8628b23ca63c3eb5.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
features_qpy: | ||
- | | ||
Added a new warning class, :exc:`~.QPYLoadingDeprecatedFeatureWarning`, to the QPY module. | ||
This class allows for deprecation warnings to surface even if the deprecated feature | ||
is accessed at a variable point in the call stack, as is the case for many QPY loading functions that | ||
are called recursively. |
10 changes: 5 additions & 5 deletions
10
...dd-qpy-version-flag-6bb1756e671fde55.yaml → ...dd-qpy-version-flag-6bb1756e671fde55.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
14 changes: 14 additions & 0 deletions
14
releasenotes/notes/1.0/add-synth-circuit-from-stabilizer-list-4cf9cfa01bbc7ddf.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
features_synthesis: | ||
- | | ||
Added a :func:`qiskit.synthesis.synth_circuit_from_stabilizers` function that | ||
returns a circuit that outputs the state stabilized by a series of given stabilizers. | ||
features_quantum_info: | ||
- | | ||
Added a :meth:`qiskit.quantum_info.StabilizerState.from_stabilizer_list` method | ||
that generates a stabilizer state from a list of stabilizers:: | ||
from qiskit.quantum_info import StabilizerState | ||
stabilizer_list = ["ZXX", "-XYX", "+ZYY"] | ||
stab = StabilizerState.from_stabilizer_list(stabilizer_list) |
Oops, something went wrong.