-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Organize 0.8 release notes * Update min terra version * Apply suggestions from code review * Fix reno syntax issue * Move release notes to a a 0.8 directory Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
- Loading branch information
1 parent
bd91677
commit 1911221
Showing
19 changed files
with
222 additions
and
117 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
prelude: | | ||
The 0.8 release includes several new features and bug fixes. The | ||
highlights for this release are: the introduction of a unified | ||
:class:`~qiskit.provider.aer.AerSimulator` backend for running circuit | ||
simulations using any of the supported simulation methods; a simulator | ||
instruction library (:mod:`~qiskit.providers.aer.library`) | ||
which includes custom instructions for saving various kinds of simulator | ||
data; MPI support for running large simulations on a distributed | ||
computing environment. | ||
features: | ||
- | | ||
This release includes support for building qiskit-aer with MPI support to | ||
run large simulations on a distributed computing environment. See the | ||
`contributing guide <https://github.com/Qiskit/qiskit-aer/blob/master/CONTRIBUTING.md#building-with-mpi-support>`__ | ||
for instructions on building and running in an MPI environment. | ||
- | | ||
It is now possible to build qiskit-aer with CUDA enabled in Windows. | ||
See the | ||
`contributing guide <https://github.com/Qiskit/qiskit-aer/blob/master/CONTRIBUTING.md#building-with-gpu-support>`__ | ||
for instructions on building from source with GPU support. | ||
- | | ||
When building the qiskit-aer Python extension from source several build | ||
dependencies need to be pre-installed to enable C++ compilation. As a | ||
user convenience when building the extension any of these build | ||
dependencies which were missing would be automatically installed using | ||
``pip`` prior to the normal ``setuptools`` installation steps, however it was | ||
previously was not possible to avoid this automatic installation. To solve | ||
this issue a new environment variable ``DISABLE_DEPENDENCY_INSTALL`` | ||
has been added. If it is set to ``1`` or ``ON`` when building the python | ||
extension from source this will disable the automatic installation of these | ||
missing build dependencies. | ||
- | | ||
Adds support for optimized N-qubit Pauli gate ( | ||
:class:`qiskit.circuit.library.generalized_gates.PauliGate`) to the | ||
:class:`~qiskit.providers.aer.StatevectorSimulator`, | ||
:class:`~qiskit.providers.aer.UnitarySimulator`, and the | ||
statevector and density matrix methods of the | ||
:class:`~qiskit.providers.aer.QasmSimulator`. | ||
upgrade: | ||
- | | ||
The minimum version of `Conan <https://conan.io/>`__ has been increased to 1.31.2. | ||
This was necessary to fix a compatibility issue with newer versions of the | ||
`urllib3 <https://pypi.org/project/urllib3/>`__ (which is a dependency of Conan). | ||
It also adds native support for AppleClang 12 which is useful for users with | ||
new Apple computers. | ||
- | | ||
``pybind11`` minimum version required is 2.6 instead of 2.4. This is needed | ||
in order to support CUDA enabled compilation in Windows. | ||
- | | ||
Cython has been removed as a build dependency. | ||
- | | ||
Removed x90 gate decomposition from noise models that was deprecated | ||
in qiskit-aer 0.7. This decomposition is now done by using regular | ||
noise model basis gates and the qiskit transpiler. | ||
fixes: | ||
- | | ||
Fixes bug with the :meth:`~qiskit.providers.aer.QasmSimulator.from_backend` | ||
method of the :class:`~qiskit.provider.aer.QasmSimulator` that would set the | ||
``local`` attribute of the configuration to the backend value rather than | ||
always being set to ``True``. | ||
- | | ||
Fixes bug in | ||
:meth:`~qiskit.providers.aer.noise.NoiseModel.from_backend` and | ||
:meth:`~qiskit.providers.aer.QasmSimulator.from_backend` where | ||
:attr:`~qiskit.providers.aer.noise.NoiseModel.basis_gates` was set | ||
incorrectly for IBMQ devices with basis gate set | ||
``['id', 'rz', 'sx', 'x', 'cx']``. Now the noise model will always | ||
have the same basis gates as the backend basis gates regardless of | ||
whether those instructions have errors in the noise model or not. |
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
81 changes: 81 additions & 0 deletions
81
releasenotes/notes/0.8/aer-simulator-be393c2caaabb609.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,81 @@ | ||
--- | ||
features: | ||
- | | ||
Adds the new :class:`~qiskit.provider.aer.AerSimulator` simulator backend | ||
supporting the following simulation methods | ||
* `automatic` | ||
* `statevector` | ||
* `stabilizer` | ||
* `density_matrix` | ||
* `matrix_product_state` | ||
* `unitary` | ||
* `superop` | ||
The default `automatic` method will automatically choose a simulation | ||
method separately for each run circuit based on the circuit instructions | ||
and noise model (if any). Initializing a simulator with a specific | ||
method can be done using the `method` option. | ||
.. code::python | ||
from qiskit.providers.aer import AerSimulator | ||
# Create a MPS simulator backend | ||
backend = AerSimulator(method='matrix_product_state') | ||
GPU simulation for the statevector, density matrix and unitary methods | ||
can be enabled by setting the `device='GPU'` backend option. | ||
.. code::python | ||
from qiskit.providers.aer import AerSimulator | ||
# Create a GPU statevector backend | ||
backend = AerSimulator(method='statevector', device='GPU') | ||
Note that the `unitary` and `superop` methods do not support measurement | ||
as they simulate the unitary matrix or superopator matrix of the run | ||
circuit so one of the new :func:`~qiskit.provider.aer.library.save_unitary`, | ||
:func:`~qiskit.provider.aer.library.save_superop`, or | ||
:func:`~qiskit.provider.aer.library.save_state` instructions must | ||
be used to save the simulator state to the returned results. Similarly | ||
state of the other simulations methods can be saved using the | ||
appropriate instructions. See the :mod:`qiskit.provider.aer.library` | ||
API documents for more details. | ||
Note that the :class:`~qiskit.provider.aer.AerSimulator` simulator | ||
superceds the :class:`~qiskit.provider.aer.QasmSimulator`, | ||
:class:`~qiskit.provider.aer.StatevectorSimulator`, and | ||
:class:`~qiskit.provider.aer.UnitarySimulator` backends which will | ||
be deprecated in a future release. | ||
- | | ||
Updates the :class:`~qiskit.providers.aer.AerProvider` class to include | ||
multiple :class:`~qiskit.provider.aer.AerSimulator` backends preconfigured | ||
for all available simulation methods and simulation devices. The new | ||
backends can be accessed through the provider interface using the names | ||
* `"aer_simulator"` | ||
* `"aer_simulator_statevector"` | ||
* `"aer_simulator_stabilizer"` | ||
* `"aer_simulator_density_matrix"` | ||
* `"aer_simulator_matrix_product_state"` | ||
* `"aer_simulator_extended_stabilizer"` | ||
* `"aer_simulator_unitary"` | ||
* `"aer_simulator_superop"` | ||
Additional if Aer was installed with GPU support on a compatible system | ||
the following GPU backends will also be available | ||
* `"aer_simulator_statevector_gpu"` | ||
* `"aer_simulator_density_matrix_gpu"` | ||
* `"aer_simulator_unitary_gpu"` | ||
Example | ||
.. code::python | ||
from qiskit import Aer | ||
# Get the GPU statevector simulator backend | ||
backend = Aer.get_backend('aer_simulator_statevector_gpu') |
31 changes: 18 additions & 13 deletions
31
...zer_norm_estimation-d17632efe8d2bb19.yaml → ...zer_norm_estimation-d17632efe8d2bb19.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
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,15 @@ | ||
--- | ||
features: | ||
- | | ||
Added support for diagonal gates to the `"matrix_product_state"` simulation | ||
method. | ||
- | | ||
Added support for the ``initialize`` instruction to the | ||
`"matrix_product_state"` simulation method. | ||
issues: | ||
- | | ||
There is a known issue where the simulation of certain circuits with a Kraus | ||
noise model using the `"matrix_product_state"` simulation method can cause | ||
the simulator to crash. Refer to | ||
`#306 <https://github.com/Qiskit/qiskit-aer/issues/1184>` for more | ||
information. |
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
releasenotes/notes/avoid-dependency-install-7d782ed5c8965629.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
releasenotes/notes/fix-noise-basis-gates-ecdfa43394ff78e3.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
releasenotes/notes/pauli-instruction-c3aa2c0c634e642e.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.