Skip to content

Commit

Permalink
fix: update attenuation getter and setter
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Jan 12, 2024
1 parent 836e787 commit 7d6f7fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def _acquisition(
amplitudes[qubit] = ro_pulses[qubit].amplitude

if params.attenuation is not None:
platform.set_attenuation(qubit, params.attenuation)
qubits[qubit].readout.attenuation = params.attenuation

attenuations[qubit] = platform.get_attenuation(qubit)
attenuations[qubit] = qubits[qubit].readout.attenuation

sequence.add(ro_pulses[qubit])

Expand Down

0 comments on commit 7d6f7fd

Please sign in to comment.