Skip to content

Commit

Permalink
Merge pull request #411 from qiboteam/add_twpa_rfsoc
Browse files Browse the repository at this point in the history
Add TWPA to RFSoc4x2
  • Loading branch information
rodolfocarobene committed May 15, 2023
2 parents d47ed44 + f4643e8 commit a13fd1f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 30 deletions.
9 changes: 8 additions & 1 deletion src/qibolab/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def create_tii_rfsoc4x2(runcard, address=None):
If ``None`` it will attempt to connect to TII instruments.
"""
from qibolab.instruments.rfsoc import TII_RFSOC4x2
from qibolab.instruments.rohde_schwarz import SGS100A as LocalOscillator

# Create channel objects
channels = ChannelMap()
Expand All @@ -188,11 +189,17 @@ def create_tii_rfsoc4x2(runcard, address=None):
channels["L2-RO"].ports = [("i0", 0)] # feedback
channels["L3-18_qd"].ports = [("o1", 1)] # drive

local_oscillators = [
LocalOscillator("twpa_a", "192.168.0.32"),
]
local_oscillators[0].frequency = 6_200_000_000
local_oscillators[0].power = -1

# Instantiate QICK instruments
if address is None:
address = "192.168.0.72:6000"
controller = TII_RFSOC4x2("tii_rfsoc4x2", address)
design = InstrumentDesign([controller], channels)
design = InstrumentDesign([controller] + local_oscillators, channels)

platform = DesignPlatform("tii_rfsoc4x2", design, runcard)

Expand Down
39 changes: 10 additions & 29 deletions src/qibolab/runcards/tii1q_b1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,19 @@ qubits: [0]
resonator_type: 3D
topology:
- [1]
settings:
repetition_duration: 100000
sampling_rate: 9830400000
adc_trig_offset: 200
max_gain: 32000
settings: {repetition_duration: 100000, sampling_rate: 9830400000, adc_trig_offset: 200,
max_gain: 32000}
native_gates:
single_qubit:
0:
RX:
duration: 30
amplitude: 0.05202077615028646
frequency: 5542358040
shape: Rectangular()
type: qd
start: 0
phase: 0
MZ:
duration: 600
amplitude: 0.027
frequency: 7371797810
shape: Rectangular()
type: ro
start: 0
phase: 0
RX: {duration: 30, amplitude: 0.052326117418228534, frequency: 5542351373,
shape: Rectangular(), type: qd, start: 0, phase: 0}
MZ: {duration: 600, amplitude: 0.027, frequency: 7371342578, shape: Rectangular(),
type: ro, start: 0, phase: 0}
two_qubits: {}
characterization:
single_qubit:
0:
readout_frequency: 7371797810
drive_frequency: 5542358040
pi_pulse_amplitude: 0.052
T1: 5950.374891358031
T2: 3117.141967028255
threshold: -1.0614826586800015
iq_angle: 0.378264523650832
0: {readout_frequency: 7371342578, drive_frequency: 5542351373, pi_pulse_amplitude: 0.052326117418228534,
T1: 12649.629158599057, T2: 4610.783737888784, threshold: -0.7844653066298679,
iq_angle: 0.8230259423352915, mean_gnd_states: (-1.8355447154471543+1.2579772357723578j),
mean_exc_states: (-0.13880975609756097-0.5715040650406505j)}

0 comments on commit a13fd1f

Please sign in to comment.