-
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.
* Prepare 1.0.0 release This commit prepares the repo for the 1.0.0 release. It migrates all the release notes to a dedicated directory to differentiate those notes from future notes (this will need to be forward ported to the main branch), updates the version numbers to indicate it is the final 1.0.0 release, and updates the release notes to prepare them for publishing. Once this merges this commit should be used to tag the 1.0.0 release. * Apply suggestions from code review Co-authored-by: Elena Peña Tapia <[email protected]> * Update releasenotes/notes/1.0/prepare-1.0-e13b9b8273055775.yaml * Apply suggestions from code review Co-authored-by: Sebastian Brandhofer <[email protected]> * typos in 1.0 renos (#20) * InverseModifier * add-commutation-library * Update add-commutation-library-88b7ff65b3d35f9a.yaml --------- Co-authored-by: Matthew Treinish <[email protected]> * Update release notes * Prepare 1.0 typos - part 2 (#21) * InverseModifier * add-commutation-library * Update add-commutation-library-88b7ff65b3d35f9a.yaml * add-commutation-library * . * . * . * . * Use iso8601 for dates --------- Co-authored-by: Matthew Treinish <[email protected]> * Fix docs build * Apply suggestions from code review Co-authored-by: Luciano Bello <[email protected]> * Update releasenotes/notes/1.0/prepare-1.0-e13b9b8273055775.yaml Co-authored-by: Jake Lishman <[email protected]> * Update release notes rst file * Various fixes, up to deprecation notes * Update "deprecation" release notes * Update qiskit/circuit/__init__.py * Add missing link * Fix typo * Update releasenotes/notes/1.0/prepare-1.0-e13b9b8273055775.yaml Co-authored-by: Sebastian Brandhofer <[email protected]> * Tweak wording on backwards compatibility guarantees * Fix broken link Co-authored-by: Eric Arellano <[email protected]> * Fix bullet misinterpreted as definition Co-authored-by: Eric Arellano <[email protected]> * Fix earliest version for 0.46.0 * Add release note subsections * Categorize release notes * Add missing subsections to qinfo synthesis release note * Copy edit release notes * Move new release notes * Apply suggestions from code review * Remove duplicated release note --------- Co-authored-by: Elena Peña Tapia <[email protected]> Co-authored-by: Sebastian Brandhofer <[email protected]> Co-authored-by: Luciano Bello <[email protected]> Co-authored-by: Jake Lishman <[email protected]> Co-authored-by: Elena Peña Tapia <[email protected]> Co-authored-by: Eric Arellano <[email protected]> Co-authored-by: Jake Lishman <[email protected]>
- Loading branch information
1 parent
b86d60b
commit 21b11b9
Showing
174 changed files
with
832 additions
and
767 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.0.0rc1 | ||
1.0.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
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
Oops, something went wrong.