-
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.
Add ESP readout support to Qiskit (#6543)
* Add tests for esp support * Add reno note * Fix comments and run black * Update docs * Remove explicit use_measure_esp from execute
- Loading branch information
1 parent
5ec4278
commit 6d605a0
Showing
6 changed files
with
85 additions
and
4 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
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,23 @@ | ||
--- | ||
features: | ||
- | | ||
Support for Excited State Promoted (ESP) readout from Qiskit has been added. ESP readout | ||
discriminates between ``|0>`` and higher order energy states of transmon qubits in order to | ||
improve readout fidelity. Further details may be found | ||
`here <https://arxiv.org/pdf/2008.08571.pdf>`_. | ||
To check whether the backend supports ESP readout, one can query:: | ||
measure_esp_enabled = getattr(backend.configuration(), "measure_esp_enabled", False) | ||
If the flag ``measure_esp_enabled`` is not in the backend configuration, we return ``False`` | ||
by default. | ||
A user can request usage of ESP readout via the ``use_measure_esp`` flag in | ||
:meth:`~qiskit.compiler.assemble`. This tells the backend to use ESP readout on the final | ||
measurement of each circuit. This is done via:: | ||
qobj = assemble(circ, backend, use_measure_esp=True) | ||
If ``measure_esp_enabled=False`` and ``use_measure_esp=True``, a ``QiskitError`` is raised. If | ||
``use_measure_esp`` is not set, it will default to the value of ``measure_esp_enabled``. |
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