CZ leakage amplification calibration nodes (33a / 33b)#531
Merged
Conversation
HuanQM
reviewed
Jun 29, 2026
Contributor
Author
|
@HuanQM the requested changes have been addressed. |
HuanQM
approved these changes
Jun 29, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two CZ coupler-amplitude calibration nodes that tune
coupler_flux_pulse.amplitudeby sweeping amplitude against repeated CZ cycles and selecting the value that best preserves |11⟩.Why
CZ calibration on tunable-coupler pairs needs a dedicated step to tune
coupler_flux_pulse.amplitudeso repeated CZ gates preserve |11⟩ instead of leaking population out of the computational subspace. Until now, the CZ chain jumped from conditional-phase nodes (32a/32b) straight to virtual-Z phase compensation (33), with no node targeting coupler amplitude via leakage / |11⟩ preservation.What
Introduces shared
calibration_utils/cz_leakage_ampfor analysis, plotting, and parameters. Renames the existing phase-compensation node to 34 so leakage calibration occupies 33.n = 1…N, measure P(11).n = 2, 4, ….Both nodes share the same dataset schema, analysis pipeline, and plots.
Shared utilities (
calibration_utils/cz_leakage_amp)parameters.py— Amp sweep,number_of_operations, GEF readout flaganalysis.py—process_raw_dataset(amp_fullcoord),fit_raw_data,FitResultsplotting.py— P(11) heatmaps and mean P(11) vs coupler flux with optimal-amplitude markers on the pair gridUses
QubitRolesandverify_moving_qubit(withrepair_routing=True) for flux-pulse routing consistency.PALEA-specific (33b)
cz_phase_shifts_map: mapsphase_shift_control/phase_shift_targetonto high/low qubits by frequency (without assuming control = high).Nodes reorganization
33_cz_phase_compensation.py→34_cz_phase_compensation.py(leakage calibration inserted before phase compensation).