-
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.
- Loading branch information
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
releasenotes/notes/fix-device-noise-models-2eca2f9c9dc25771.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,9 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixes a bug where :meth:`NoiseModel.from_backend` with a ``BackendV2`` object may generate | ||
a noise model with excessive ``QuantumError`` s on non-Gate instructions while, | ||
for example, only ``ReadoutError`` s should be sufficient for measures. | ||
This commit updates :func:`noise.device.models.basic_device_gate_errors` | ||
so that it (and hence :meth:`NoiseModel.from_backend`) does not produce | ||
any QuantumErrors on non-Gate objects (e.g. measures and resets). |