Skip to content

Commit

Permalink
black formating
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoLaudatQM committed Jan 8, 2025
1 parent 596ae7e commit de46ef0
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@
# Its range is -41dBm to +10dBm with 3dBm steps.
"type": "MW",
"analog_outputs": {
1: {"band": 1, "full_scale_power_dbm": qubit_power, "upconverters": { 1: {"frequency": qubit_LO} } }, # qubit
1: {
"band": 1,
"full_scale_power_dbm": qubit_power,
"upconverters": {1: {"frequency": qubit_LO}},
}, # qubit
},
"digital_outputs": {},
},
Expand Down Expand Up @@ -266,7 +270,8 @@
"MWInput": {
"port": (con, mw_fem, 1),
"upconverter": 1,
}, "intermediate_frequency": qubit_IF,
},
"intermediate_frequency": qubit_IF,
"operations": {
"cw": "cw_pulse",
"pi": "pi_pulse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@
# 1: (50 MHz - 5.5 GHz)
# 2: (4.5 GHz - 7.5 GHz)
# 3: (6.5 GHz - 10.5 GHz)
# Note that the "coupled" ports O1 & I1, O2 & O3, O4 & O5, O6 & O7, O8 & O1
# must be in the same band, or in bands 1 & 3.
# Note that the "coupled" ports O1 & I1, O2 & O3, O4 & O5, O6 & O7, and O8 & I2
# must be in the same band, or in bands 1 & 3 (that is, if you assign band 2 to one of the coupled ports, the other must use the same band).
# The keyword "full_scale_power_dbm" is the maximum power of
# normalized pulse waveforms in [-1,1]. To convert to voltage,
# power_mw = 10**(full_scale_power_dbm / 10)
Expand All @@ -180,11 +180,15 @@
"type": "MW",
"analog_outputs": {
1: {
"full_scale_power_dbm": resonator_power,
"band": 2,
"upconverter_frequency": resonator_LO,
"full_scale_power_dbm": resonator_power,
"upconverters": {1: {"frequency": resonator_LO}},
}, # resonator
2: {"full_scale_power_dbm": qubit_power, "band": 2, "upconverter_frequency": qubit_LO}, # qubit
2: {
"band": 2,
"full_scale_power_dbm": qubit_power,
"upconverters": {1: {"frequency": qubit_LO}},
}, # qubit
},
"digital_outputs": {},
"analog_inputs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,15 @@
"type": "MW",
"analog_outputs": {
1: {
"full_scale_power_dbm": resonator_power,
"band": 2,
"upconverter_frequency": resonator_LO,
"full_scale_power_dbm": resonator_power,
"upconverters": {1: {"frequency": resonator_LO}},
}, # resonator
2: {"full_scale_power_dbm": qubit_power, "band": 2, "upconverter_frequency": qubit_LO}, # qubit
2: {
"band": 2,
"full_scale_power_dbm": qubit_power,
"upconverters": {1: {"frequency": qubit_LO}},
}, # qubit
},
"digital_outputs": {},
"analog_inputs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,23 @@
"type": "MW",
"analog_outputs": {
# Resonator XY
1: {"full_scale_power_dbm": resonator_power, "band": 2, "upconverter_frequency": resonator_LO},
1: {
"band": 2,
"full_scale_power_dbm": resonator_power,
"upconverters": {1: {"frequency": resonator_LO}},
},
# Qubit 1 XY
2: {"full_scale_power_dbm": qubit_power, "band": 1, "upconverter_frequency": qubit_LO_q1},
2: {
"band": 1,
"full_scale_power_dbm": qubit_power,
"upconverters": {1: {"frequency": qubit_LO_q1}},
},
# Qubit 2 XY
3: {"full_scale_power_dbm": qubit_power, "band": 1, "upconverter_frequency": qubit_LO_q2},
3: {
"band": 1,
"full_scale_power_dbm": qubit_power,
"upconverters": {1: {"frequency": qubit_LO_q2}},
},
},
"digital_outputs": {},
"analog_inputs": {
Expand Down

0 comments on commit de46ef0

Please sign in to comment.