Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements standard and CZ-interleaved two-qubit randomized benchmarking (RB) for quantum computing calibration. The implementation uses Qiskit to generate random Clifford sequences and transpiles circuits to native gate bases, enabling direct measurement of CZ gate fidelity through comparison of decay rates between standard and interleaved RB experiments.
Key changes:
- Added three new calibration nodes for 2Q standard RB, CZ interleaved RB, and a legacy version
- Implemented core RB utilities including circuit generation, transpilation, and fidelity analysis
- Created supporting utilities for QUA program generation, circuit processing, and data analysis
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| 70c_two_qubit_interleaved_rb.py | Legacy calibration node implementing both standard and interleaved RB with older framework |
| 23_two_qubit_interleaved_cz_rb.py | New calibration node for CZ interleaved RB using updated framework |
| 22_two_qubit_standard_rb.py | New calibration node for standard 2Q RB using updated framework |
| rb_utils.py | Core RB implementation with circuit generation and transpilation logic |
| qua_utils.py | QUA program generation and gate execution logic for the quantum control hardware |
| plot_utils.py | Gate mapping dictionary for visualization and debugging |
| parameters.py | Node parameter definitions for RB experiments |
| data_utils.py | Data structures and analysis utilities for RB results |
| circuit_utils.py | Circuit processing and integer encoding utilities |
| analysis.py | Dataset processing and fitting routines for RB data |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...s/superconducting/calibrations/CZ_calibration_fixed_couplers/70c_two_qubit_interleaved_rb.py
Outdated
Show resolved
Hide resolved
...superconducting/calibrations/CZ_calibration_fixed_couplers/23_two_qubit_interleaved_cz_rb.py
Outdated
Show resolved
Hide resolved
...raphs/superconducting/calibrations/CZ_calibration_fixed_couplers/22_two_qubit_standard_rb.py
Outdated
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/rb_utils.py
Outdated
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/qua_utils.py
Outdated
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/plot_utils.py
Outdated
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/circuit_utils.py
Outdated
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/analysis.py
Outdated
Show resolved
Hide resolved
…n_fixed_couplers/23_two_qubit_interleaved_cz_rb.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t_interleaved_rb/rb_utils.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t_interleaved_rb/qua_utils.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t_interleaved_rb/plot_utils.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t_interleaved_rb/analysis.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 8 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/data_utils.py
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/qua_utils.py
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/plot_utils.py
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/qua_utils.py
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/qua_utils.py
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/analysis.py
Outdated
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/analysis.py
Outdated
Show resolved
Hide resolved
qualibration_graphs/superconducting/calibration_utils/two_qubit_interleaved_rb/circuit_utils.py
Outdated
Show resolved
Hide resolved
…t_interleaved_rb/analysis.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t_interleaved_rb/circuit_utils.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Written by Omrie for IQCC.
This uses qiskit to generate the random sequences of Cliffords and transpile the circuits to a basis compatible with our native gates.
The CZ fidelity is calculated from the decay rates of the standard 2Q RB and the CZ interleaved RB and is stored in the state under the macro fidelity field