Skip to content

Commit

Permalink
Merge branch 'david/twpa_SNR' of https://github.com/qiboteam/qibocal
Browse files Browse the repository at this point in the history
…into david/twpa_SNR
  • Loading branch information
DavidSarlle committed Jan 12, 2024
2 parents 265fb67 + 31d0634 commit 76ace75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ def _acquisition(

for _freq in TWPAFrequency_range:
for qubit in qubits:
qubits[qubit].twpa.local_oscillator.frequency = ( initial_twpa_freq[qubit] + _freq )
qubits[qubit].twpa.local_oscillator.frequency = (
initial_twpa_freq[qubit] + _freq
)

resonator_spectroscopy_data = resonator_spectroscopy._acquisition(
resonator_spectroscopy.ResonatorSpectroscopyParameters.load(
Expand All @@ -156,8 +158,8 @@ def _acquisition(
qubit,
signal=resonator_spectroscopy_data[qubit].signal,
phase=resonator_spectroscopy_data[qubit].phase,
freq=resonator_spectroscopy_data[qubit].freq,
twpa_freq= _freq + initial_twpa_freq[qubit]
freq=resonator_spectroscopy_data[qubit].freq,
twpa_freq=_freq + initial_twpa_freq[qubit],
)

return data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _acquisition(

for _pow in TWPAPower_range:
for qubit in qubits:
qubits[qubit].twpa.local_oscillator.power = ( initial_twpa_pow[qubit] + _pow )
qubits[qubit].twpa.local_oscillator.power = initial_twpa_pow[qubit] + _pow

resonator_spectroscopy_data = resonator_spectroscopy._acquisition(
resonator_spectroscopy.ResonatorSpectroscopyParameters.load(
Expand All @@ -157,7 +157,7 @@ def _acquisition(
signal=resonator_spectroscopy_data.data[qubit].signal,
phase=resonator_spectroscopy_data.data[qubit].phase,
freq=resonator_spectroscopy_data.data[qubit].freq,
twpa_pow=_pow + initial_twpa_pow[qubit]
twpa_pow=_pow + initial_twpa_pow[qubit],
)

return data
Expand Down
2 changes: 1 addition & 1 deletion tests/runcards/protocols.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ actions:
twpa_pow_step: 1
power_level: low
nshots: 1000
relaxation_time: 2000
relaxation_time: 2000

- id: twpa_frequency_SNR
priority: 0
Expand Down

0 comments on commit 76ace75

Please sign in to comment.