forked from Qiskit/qiskit-aer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cluster_backend
- Loading branch information
Showing
27 changed files
with
352 additions
and
548 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
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/bug-fix-required-memory-check-a970c4dc6eb2896f.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 @@ | ||
--- | ||
fixes: | ||
- | | ||
When required memory is smaller than the system memory, multi-chunk was enabled | ||
and simulation was started though memory is short. This fix corrects this behavior | ||
to throw an exception. |
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/mps-performance-of-measure-9991ac98da35150b.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 @@ | ||
--- | ||
other: | ||
- | | ||
Performance improvement in algorithm for measure in MPS: when all qubits are | ||
measured, no need to propagate the effect of measuring a single qubit to | ||
all the other qubits; it is sufficient to propagate to the nearest | ||
neighbors, because these neighbors will be measured next. |
26 changes: 26 additions & 0 deletions
26
releasenotes/notes/pulse-sim-circuits-4b4b6f6a9f00dc77.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,26 @@ | ||
--- | ||
features: | ||
- | | ||
The :class:`~qiskit.providers.aer.backends.PulseSimulator` can now take | ||
:class:`~qiskit.circuit.QuantumCircuit` objects on the | ||
:meth:`~qiskit.providers.aer.backends.PulseSimulator.run`. Previously, | ||
it only would except :class:`~qiskit.pulse.Schedule` objects as input to | ||
:meth:`~qiskit.providers.aer.backends.PulseSimulator.run`. When a circuit | ||
or list of circuits is passed to the simulator it will call | ||
:func:`~qiskit.compiler.schedule` to convert the circuits to a schedule | ||
before executing the circuit. For example:: | ||
from qiskit.circuit import QuantumCircuit | ||
from qiskit.compiler import transpile | ||
from qiskit.test.mock import FakeVigo | ||
from qiskit.providers.aer.backends import PulseSimulator | ||
backend = PulseSimulator.from_backend(FakeVigo()) | ||
circuit = QuantumCircuit(2) | ||
circuit.h(0) | ||
circuit.cx(0, 1) | ||
circuit.measure_all() | ||
transpiled_circuit = transpile(circuit, backend) | ||
backend.run(circuit) |
Oops, something went wrong.