Skip to content

JAZZ protocol#1449

Draft
RoyStegeman wants to merge 1 commit into
mainfrom
jazz
Draft

JAZZ protocol#1449
RoyStegeman wants to merge 1 commit into
mainfrom
jazz

Conversation

@RoyStegeman

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Apr 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 36.14458% with 53 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.24%. Comparing base (fbd8c6f) to head (fd00208).

Files with missing lines Patch % Lines
...rc/qibocal/protocols/two_qubit_interaction/jazz.py 34.56% 53 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1449      +/-   ##
==========================================
- Coverage   94.71%   94.24%   -0.47%     
==========================================
  Files         135      136       +1     
  Lines       10778    10861      +83     
==========================================
+ Hits        10208    10236      +28     
- Misses        570      625      +55     
Flag Coverage Δ
unittests 94.24% <36.14%> (-0.47%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ibocal/protocols/two_qubit_interaction/__init__.py 100.00% <100.00%> (ø)
...rc/qibocal/protocols/two_qubit_interaction/jazz.py 34.56% <34.56%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sorewachigauyo

sorewachigauyo commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Here is some test data from our QPU

We moved the coupler slightly to exaggerate the ZZ effects, but this also changed the dressed frequencies of the qubit pair so the XY pulses for the exaggeration are slightly off.

jazz_test.tar.gz
ramsey_zz_exagerrated.tar.gz
jazz_test_exaggerated.tar.gz

@lballerio lballerio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree that this protocol belongs to the two qubit interaction folder, maybe might be also reasonable to move ZZ experiment to the same folder and maybe renaming a bit (not necessary to do here, just a stream of thoughts).

Comment on lines +42 to +44
start_wait: float
end_wait: float
nsteps: int

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

as far as I understood we want to transition from this syntax to taking a range tuple, so even though is ugly we could accept either one or the other.

Comment on lines +92 to +100
for channel, pulse in q0_natives.RX():
sequence += [(channel, pulse)]
sequence += [(ro_channel, Delay(duration=pulse.duration))]
sequence += [(q1_drive_channel, Delay(duration=pulse.duration))]
# X(pi) on q1
for channel, pulse in q1_natives.RX():
sequence += [(channel, pulse)]
sequence += [(ro_channel, Delay(duration=pulse.duration))]
sequence += [(q0_drive_channel, Delay(duration=pulse.duration))]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we really have at the moment a list with more than 1 element for RX?

Comment on lines +108 to +109
# MZ
sequence += [(ro_channel, ro_pulse)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe we can also measure, save and plot even the q1 state, might be informative

Comment on lines +66 to +67
if len(targets) != 1:
raise ValueError("simultaneous pair is not supported for JAZZ.")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In Ramsey ZZ we decided to open the protocol to multiple QubiPairId and simply check if some qubits are repeated.
Better to choose something consistent for both, whatever the decision is.

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