Skip to content

Commit

Permalink
initial calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
igres26 committed Feb 14, 2024
1 parent c645e01 commit a43afca
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 0 deletions.
97 changes: 97 additions & 0 deletions tii1qs_xld1000/parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"nqubits": 1,
"settings": {
"nshots": 4024,
"relaxation_time": 100000
},
"topology": [],
"qubits": [
0
],
"instruments": {
"qrm_rf0": {
"o1": {
"attenuation": 46,
"lo_frequency": 7095000000
},
"i1": {
"acquisition_hold_off": 500,
"acquisition_duration": 1800
}
},
"qcm_rf0": {
"o1": {
"attenuation": 4,
"lo_frequency": 5600000000
},
"i1": {
"acquisition_hold_off": 500,
"acquisition_duration": 1800
}
}
},
"native_gates": {
"single_qubit": {
"0": {
"RX": {
"duration": 80,
"amplitude": 0.214,
"shape": "Gaussian(5)",
"frequency": 5796353976,
"relative_start": 0,
"phase": 0,
"type": "qd"
},
"MZ": {
"duration": 2500,
"amplitude": 0.4,
"shape": "Rectangular()",
"frequency": 7292027169,
"relative_start": 0,
"phase": 0,
"type": "ro"
}
}
},
"two_qubits": {}
},

"characterization": {
"single_qubit": {
"0": {
"bare_resonator_frequency": 7292500000,
"readout_frequency": 7292027169,
"drive_frequency": 5796353976,
"anharmonicity": 0,
"sweetspot": 0,
"asymmetry": 0,
"Ec": 0,
"g": 0,
"assignment_fidelity": 0.947,
"readout_fidelity": 0.895,
"effective_temperature": 0,
"peak_voltage": 0,
"pi_pulse_amplitude": 0.442,
"T1": 16155,
"T2": 0,
"T2_spin_echo": 0,
"state0_voltage": 0,
"state1_voltage": 0,
"mean_gnd_states": [
0,
0
],
"mean_exc_states": [
0,
0
],
"threshold": -0.000602,
"iq_angle": 1.497,
"mixer_drive_g": 0,
"mixer_drive_phi": 0,
"mixer_readout_g": 0,
"mixer_readout_phi": 0
}
}
}
}
66 changes: 66 additions & 0 deletions tii1qs_xld1000/platform.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
import pathlib

from qibolab.channels import Channel, ChannelMap
from qibolab.instruments.qblox.cluster_qcm_bb import QcmBb
from qibolab.instruments.qblox.cluster_qcm_rf import QcmRf
from qibolab.instruments.qblox.cluster_qrm_rf import QrmRf
from qibolab.instruments.qblox.controller import QbloxController
from qibolab.instruments.rohde_schwarz import SGS100A
from qibolab.platform import Platform
from qibolab.serialize import (
load_instrument_settings,
load_qubits,
load_runcard,
load_settings,
)

NAME = "tii1qs_xld1000"
ADDRESS = "192.168.0.2"
FOLDER = pathlib.Path(__file__).parent


def create():
"""QuantWare 5q-chip controlled using qblox cluster.
Args:
runcard_path (str): Path to the runcard file.
"""
runcard = load_runcard(FOLDER)
modules = {
"qrm_rf0": QrmRf("qrm_rf0", f"{ADDRESS}:15"), #readout o=L3-31r, i=L2-1
"qcm_rf0": QrmRf("qcm_rf0", f"{ADDRESS}:13"), #drive L-3-31d
}

controller = QbloxController("qblox_controller", ADDRESS, modules)
# twpa_pump0 = SGS100A(name="twpa_pump0", address="192.168.0.37")

instruments = {
controller.name: controller,
# twpa_pump0.name: twpa_pump0,
}
instruments.update(modules)
channels = ChannelMap()
# Readout
channels |= Channel(name="L3-31r", port=modules["qrm_rf0"].ports("o1"))
# Feedback
channels |= Channel(name="L2-1", port=modules["qrm_rf0"].ports("i1", out=False))
# Drive
channels |= Channel(name="L3-31d", port=modules["qcm_rf0"].ports("o1"))

channels |= Channel(name="L99", port=modules["qcm_rf0"].ports("i1", out=False))

# create qubit objects
qubits,couplers, pairs = load_qubits(runcard)


qubits[0].readout = channels["L3-31r"]
qubits[0].feedback = channels["L2-1"]
qubits[0].drive = channels["L3-31d"]


settings = load_settings(runcard)
instruments = load_instrument_settings(runcard, instruments)

return Platform(
str(FOLDER), qubits, pairs, instruments, settings, resonator_type="3D"
)

0 comments on commit a43afca

Please sign in to comment.