Skip to content

Commit

Permalink
Update flipping.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ElStabilini authored Nov 27, 2024
1 parent 454f5b5 commit 47a22b5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/qibocal/protocols/flipping.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,14 @@ def _acquisition(
data = FlippingData(
resonator_type=platform.resonator_type,
delta_amplitude=params.delta_amplitude,
pulse_amplitudes={
if rx90:
qubit: platform.natives.single_qubit[qubit].RX90[0][1].amplitude
else:
qubit: platform.natives.single_qubit[qubit].RX[0][1].amplitude
pulse_amplitudes = {
qubit: (
platform.natives.single_qubit[qubit].RX90[0][1].amplitude
if rx90
else platform.natives.single_qubit[qubit].RX[0][1].amplitude
)
for qubit in targets
},
}
rx90=params.rx90,
)

Expand Down

0 comments on commit 47a22b5

Please sign in to comment.