Skip to content

Standard and CZ interleaved 2Q RB#376

Open
paulQM wants to merge 18 commits intomainfrom
feat/2Q-RB
Open

Standard and CZ interleaved 2Q RB#376
paulQM wants to merge 18 commits intomainfrom
feat/2Q-RB

Conversation

@paulQM
Copy link
Contributor

@paulQM paulQM commented Nov 11, 2025

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

@paulQM paulQM requested a review from Copilot November 11, 2025 09:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

paulQM and others added 5 commits November 11, 2025 10:21
…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>
Copy link

Copilot AI commented Nov 11, 2025

@paulQM I've opened a new pull request, #377, to work on those changes. Once the pull request is ready, I'll request review from you.

@paulQM paulQM requested a review from Copilot November 11, 2025 10:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

paulQM and others added 3 commits November 11, 2025 11:08
…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>
@paulQM paulQM requested a review from TheoLaudatQM November 11, 2025 14:31
@TheoLaudatQM TheoLaudatQM requested a review from OziEgri December 5, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants