diff --git a/qw5q_gold.yml b/qw5q_gold.yml index 80f8582f..186ae901 100644 --- a/qw5q_gold.yml +++ b/qw5q_gold.yml @@ -1,43 +1,49 @@ nqubits: 5 -qubits: [0, 1, 2, 3, 4] settings: {nshots: 1024, sampling_rate: 1000000000, relaxation_time: 20000} +qubits: [0, 1, 2, 3, 4] topology: - [0, 2] - [1, 2] - [2, 3] - [2, 4] - instruments: - twpa_pump: - frequency: 6_535_900_000 - power: 4 - + twpa_pump: {power: 1.4, frequency: 6545500000} native_gates: single_qubit: 0: - RX: {duration: 40, amplitude: 0.5037576688262035, shape: 'Drag(5, 0.200)', - frequency: 5050086650, relative_start: 0, phase: 0, type: qd} - MZ: {duration: 2000, amplitude: 0.1, shape: Rectangular(), frequency: 7212285260, + RX: {duration: 40, amplitude: 0.7857641001738979, shape: Gaussian(5), + frequency: 5041132868, relative_start: 0, phase: 0, type: qd} + RX12: {duration: 40, amplitude: 0.5987848683582333, shape: 'Drag(5, -0.100)', + frequency: 5041564317, relative_start: 0, phase: 0.0, type: qd} + MZ: {duration: 2000, amplitude: 0.3, shape: Rectangular(), frequency: 7211719220, relative_start: 0, phase: 0, type: ro} 1: - RX: {duration: 40, amplitude: 0.5091870515531648, shape: 'Drag(5, 0.000)', - frequency: 4852520440, relative_start: 0, phase: 0.0, type: qd} - MZ: {duration: 2000, amplitude: 0.2, shape: Rectangular(), frequency: 7453035641, + RX: {duration: 40, amplitude: 0.4948140333980767, shape: Gaussian(5), + frequency: 4852007272, relative_start: 0, phase: 0.0, type: qd} + RX12: {duration: 40, amplitude: 0.3288755497886648, shape: 'Drag(5, 0.000)', + frequency: 4551209776, relative_start: 0, phase: 0.0, type: qd} + MZ: {duration: 2000, amplitude: 0.3, shape: Rectangular(), frequency: 7452288659, relative_start: 0, phase: 0.0, type: ro} 2: - RX: {duration: 40, amplitude: 0.4961740399301971, shape: 'Drag(5, -0.100)', - frequency: 5797646199, relative_start: 0, phase: 0.0, type: qd} - MZ: {duration: 2000, amplitude: 0.25, shape: Rectangular(), frequency: 7655043737, + RX: {duration: 40, amplitude: 0.5739756219966101, shape: Gaussian(5), + frequency: 5791033225, relative_start: 0, phase: 0.0, type: qd} + RX12: {duration: 40, amplitude: 0.5987848683582333, shape: 'Drag(5, -0.100)', + frequency: 5790889285, relative_start: 0, phase: 0.0, type: qd} + MZ: {duration: 2000, amplitude: 0.3, shape: Rectangular(), frequency: 7654623915, relative_start: 0, phase: 0.0, type: ro} 3: - RX: {duration: 40, amplitude: 0.4977305637146838, shape: 'Drag(5, 0.300)', - frequency: 6761241415, relative_start: 0, phase: 0.0, type: qd} - MZ: {duration: 2000, amplitude: 0.2, shape: Rectangular(), frequency: 7803420774, + RX: {duration: 40, amplitude: 0.4862715490329436, shape: Gaussian(5), + frequency: 6759947957, relative_start: 0, phase: 0.0, type: qd} + RX12: {duration: 40, amplitude: 0.35366451808433585, shape: 'Drag(5, 0.300)', + frequency: 6455188644, relative_start: 0, phase: 0.0, type: qd} + MZ: {duration: 2000, amplitude: 0.3, shape: Rectangular(), frequency: 7802878098, relative_start: 0, phase: 0.0, type: ro} 4: - RX: {duration: 40, amplitude: 0.56468497579218, shape: 'Drag(5, -0.100)', - frequency: 6584637329, relative_start: 0, phase: 0.0, type: qd} - MZ: {duration: 2000, amplitude: 0.4, shape: Rectangular(), frequency: 8058870664, + RX: {duration: 40, amplitude: 0.6510099424437265, shape: Gaussian(5), + frequency: 6588063150, relative_start: 0, phase: 0.0, type: qd} + RX12: {duration: 40, amplitude: 0.3910866301682921, shape: 'Drag(5, -0.100)', + frequency: 6286920753, relative_start: 0, phase: 0.0, type: qd} + MZ: {duration: 2000, amplitude: 0.3, shape: Rectangular(), frequency: 8058657525, relative_start: 0, phase: 0.0, type: ro} two_qubit: 0-2: @@ -60,18 +66,19 @@ characterization: single_qubit: 0: bare_resonator_frequency: 7200000000 - readout_frequency: 7212285260 - drive_frequency: 5050086650 + readout_frequency: 7211719220 + drive_frequency: 5041132868 anharmonicity: 291463266 - Ec: 270000000 - Ej: 11400000000 - g: 107000000 + sweetspot: 0.219 flux_to_bias: 0.0 asymmetry: 0.0 bare_resonator_frequency_sweetspot: 0.0 ssf_brf: 0.0 - assignment_fidelity: 0.859 - sweetspot: 0.5427880360264379 + Ec: 270000000 + Ej: 11400000000 + g: 107000000 + assignment_fidelity: 0.7964516129032259 + readout_fidelity: 0.5929032258064517 peak_voltage: 0 pi_pulse_amplitude: 0.5037576688262035 T1: 5662.122123503363 @@ -79,30 +86,32 @@ characterization: T2_spin_echo: 0 state0_voltage: 0 state1_voltage: 0 - mean_gnd_states: [-0.0007345424593255905, -0.0033851610490404607] - mean_exc_states: [-0.00022768388266126613, -0.006746426594899088] - threshold: 0.0047939306569503995 - iq_angle: 1.421129970769001 + mean_gnd_states: [0.009050922106950392, 0.0015359164753137027] + mean_exc_states: [0.00784854345812475, 0.005070611245060088] + threshold: 0.00034890493471258184 + iq_angle: -1.8986825263836642 mixer_drive_g: 0.0 mixer_drive_phi: 0.0 mixer_readout_g: 0.0 mixer_readout_phi: 0.0 classifiers_hpars: qubit_fit: {} + qutrit_classifiers_hpars: {} 1: bare_resonator_frequency: 7400000000 - readout_frequency: 7453035641 - drive_frequency: 4852520440 + readout_frequency: 7452288659 + drive_frequency: 4852007272 anharmonicity: 292584018 - Ec: 270000000 - Ej: 11400000000 - g: 11400000 + sweetspot: 0.243 flux_to_bias: 0.0 asymmetry: 0.0 bare_resonator_frequency_sweetspot: 0.0 ssf_brf: 0.0 - assignment_fidelity: 0.918 - sweetspot: 0.24054218235277314 + Ec: 270000000 + Ej: 11400000000 + g: 11400000 + assignment_fidelity: 0.9106451612903226 + readout_fidelity: 0.8212903225806452 peak_voltage: 0 pi_pulse_amplitude: 0.5091870515531648 T1: 3246.261636989574 @@ -110,30 +119,32 @@ characterization: T2_spin_echo: 0 state0_voltage: 0 state1_voltage: 0 - mean_gnd_states: [-0.0013786207510767749, 0.001756676041819825] - mean_exc_states: [-0.004034030061438043, 0.00490006139289245] - threshold: 0.004222680659192379 - iq_angle: -2.2722409996775217 + mean_gnd_states: [0.009245204478233559, -0.002504811909183683] + mean_exc_states: [0.00808938756428237, 0.0035853020330477523] + threshold: -0.0018653227541758585 + iq_angle: -1.7583514915133016 mixer_drive_g: 0.0 mixer_drive_phi: 0.0 mixer_readout_g: 0.0 mixer_readout_phi: 0.0 classifiers_hpars: qubit_fit: {} + qutrit_classifiers_hpars: {} 2: bare_resonator_frequency: 7600000000 - readout_frequency: 7655043737 - drive_frequency: 5797646199 + readout_frequency: 7654623915 + drive_frequency: 5791033225 anharmonicity: 276187576 - Ec: 270000000 - Ej: 16000000000 - g: 83600000 + sweetspot: -0.249 flux_to_bias: 0.0 asymmetry: 0.0 bare_resonator_frequency_sweetspot: 0.0 ssf_brf: 0.0 - assignment_fidelity: 0.825 - sweetspot: -0.34751511776284993 + Ec: 270000000 + Ej: 16000000000 + g: 83600000 + assignment_fidelity: 0.854516129032258 + readout_fidelity: 0.7090322580645162 peak_voltage: 0 pi_pulse_amplitude: 0.4961740399301971 T1: 3094.334599720453 @@ -141,30 +152,32 @@ characterization: T2_spin_echo: 0 state0_voltage: 0 state1_voltage: 0 - mean_gnd_states: [-0.0015068481479900491, -6.643588015332594e-05] - mean_exc_states: [-0.0033550746498968256, -0.0011589779098270575] - threshold: 0.002448030667411703 - iq_angle: 2.607720782249141 + mean_gnd_states: [0.0037324709022594515, -0.0019909745452589772] + mean_exc_states: [0.004076415700570638, 0.0016605274262711594] + threshold: -1.4157202143450635e-05 + iq_angle: -1.4768807292719275 mixer_drive_g: 0.0 mixer_drive_phi: 0.0 mixer_readout_g: 0.0 mixer_readout_phi: 0.0 classifiers_hpars: qubit_fit: {} + qutrit_classifiers_hpars: {} 3: bare_resonator_frequency: 7800000000 - readout_frequency: 7803420774 - drive_frequency: 6761241415 + readout_frequency: 7802878098 + drive_frequency: 6759947957 anharmonicity: 262310994 - Ec: 270000000 - Ej: 21200000000 - g: 54300000 + sweetspot: 0.514 flux_to_bias: 0.0 asymmetry: 0.0 bare_resonator_frequency_sweetspot: 0.0 ssf_brf: 0.0 - assignment_fidelity: 0.914 - sweetspot: -1.1064345026449074 + Ec: 270000000 + Ej: 21200000000 + g: 54300000 + assignment_fidelity: 0.9064516129032258 + readout_fidelity: 0.8129032258064517 peak_voltage: 0 pi_pulse_amplitude: 0.4977305637146838 T1: 2776.2707299721433 @@ -172,30 +185,32 @@ characterization: T2_spin_echo: 0 state0_voltage: 0 state1_voltage: 0 - mean_gnd_states: [-0.0014752192586057935, -0.001920609825870185] - mean_exc_states: [-0.0021389499138718595, -0.005743304554281938] - threshold: 0.0039597740132007245 - iq_angle: 1.7427114215535728 + mean_gnd_states: [0.0009596075664717493, 0.007530427278990469] + mean_exc_states: [-0.002786348410909922, 0.0038024552058874618] + threshold: -0.004074409710963071 + iq_angle: 2.3586007040933947 mixer_drive_g: 0.0 mixer_drive_phi: 0.0 mixer_readout_g: 0.0 mixer_readout_phi: 0.0 classifiers_hpars: qubit_fit: {} + qutrit_classifiers_hpars: {} 4: bare_resonator_frequency: 8000000000 - readout_frequency: 8058870664 - drive_frequency: 6584637329 + readout_frequency: 8058657525 + drive_frequency: 6588063150 anharmonicity: 261390626 - Ec: 270000000 - Ej: 21200000000 - g: 62700000 + sweetspot: -0.592 flux_to_bias: 0.0 asymmetry: 0.0 bare_resonator_frequency_sweetspot: 0.0 ssf_brf: 0.0 - assignment_fidelity: 0.860 - sweetspot: 0.5950321704768161 + Ec: 270000000 + Ej: 21200000000 + g: 62700000 + assignment_fidelity: 0.8109677419354839 + readout_fidelity: 0.6219354838709678 peak_voltage: 0 pi_pulse_amplitude: 0.56468497579218 T1: 1424.3422193259726 @@ -203,13 +218,14 @@ characterization: T2_spin_echo: 0 state0_voltage: 0 state1_voltage: 0 - mean_gnd_states: [0.0004887100284627321, 0.0006531678162954823] - mean_exc_states: [0.00036202629034824896, 0.0037232681337331965] - threshold: 0.001975520367263288 - iq_angle: -1.6120366437799305 + mean_gnd_states: [0.002449701684811943, 0.0005948857135459497] + mean_exc_states: [0.0008888283054316743, 0.0019769152514476133] + threshold: -0.0002757408968659526 + iq_angle: -2.416891077130921 mixer_drive_g: 0.0 mixer_drive_phi: 0.0 mixer_readout_g: 0.0 mixer_readout_phi: 0.0 classifiers_hpars: qubit_fit: {} + qutrit_classifiers_hpars: {} diff --git a/qw5q_gold_qblox.py b/qw5q_gold_qblox.py index 4e1c38ab..78082245 100644 --- a/qw5q_gold_qblox.py +++ b/qw5q_gold_qblox.py @@ -42,12 +42,12 @@ instruments_settings = { "cluster": Cluster_Settings(reference_clock_source=ReferenceClockSource.INTERNAL), - "qrm_rf_a": ClusterQRM_RF_Settings( # q0,q1,q5 + "qrm_rf_a": ClusterQRM_RF_Settings( # q0,q1,q5, 1-2-4? { "o1": ClusterRF_OutputPort_Settings( channel="L3-25_a", attenuation=36, # 38 - lo_frequency=7_255_000_000, + lo_frequency=7_300_000_000, gain=0.6, ), "i1": QbloxInputPort_Settings( @@ -61,7 +61,7 @@ { "o1": ClusterRF_OutputPort_Settings( channel="L3-25_b", - attenuation=32, + attenuation=36, # 32 lo_frequency=7_850_000_000, gain=0.6, ), @@ -77,76 +77,76 @@ "o1": ClusterRF_OutputPort_Settings( channel="L3-15", attenuation=20, - lo_frequency=5_250_304_836, + lo_frequency=5_052_833_073, gain=0.470, - ) - } - ), - "qcm_rf1": ClusterQCM_RF_Settings( - { - "o1": ClusterRF_OutputPort_Settings( + ), + "o2": ClusterRF_OutputPort_Settings( channel="L3-11", attenuation=20, lo_frequency=5_052_833_073, gain=0.570, ), - "o2": ClusterRF_OutputPort_Settings( - channel="L3-12", - attenuation=20, - lo_frequency=5_995_371_914, - gain=0.655, - ), } ), - "qcm_rf2": ClusterQCM_RF_Settings( + "qcm_rf1": ClusterQCM_RF_Settings( { "o1": ClusterRF_OutputPort_Settings( - channel="L3-13", + channel="L3-12", attenuation=20, - lo_frequency=6_961_018_001, + lo_frequency=5_995_371_914, gain=0.550, ), "o2": ClusterRF_OutputPort_Settings( - channel="L3-14", + channel="L3-13", attenuation=20, - lo_frequency=6_786_543_060, + lo_frequency=6_961_018_001, gain=0.596, ), } ), - "qcm_bb0": ClusterQCM_BB_Settings( + "qcm_rf2": ClusterQCM_RF_Settings( { - "o2": ClusterBB_OutputPort_Settings( - channel="L4-5", - gain=0.5, - qubit=0, # channel="L4-5", gain=0.5, offset=0.5544, qubit=0 + "o1": ClusterRF_OutputPort_Settings( + channel="L3-14", + attenuation=20, + lo_frequency=6_786_543_060, + gain=0.470, ) } ), - "qcm_bb1": ClusterQCM_BB_Settings( + "qcm_bb0": ClusterQCM_BB_Settings( { "o1": ClusterBB_OutputPort_Settings( - channel="L4-1", + channel="L4-5", gain=0.5, - qubit=1, # channel="L4-1", gain=0.5, offset=0.2244, qubit=1 + qubit=0, # channel="L4-1", gain=0.5, offset=0.2244, qubit=1 ), "o2": ClusterBB_OutputPort_Settings( - channel="L4-2", + channel="L4-1", gain=0.5, - qubit=2, # channel="L4-2", gain=0.5, offset=-0.3762, qubit=2 + qubit=1, # channel="L4-2", gain=0.5, offset=-0.3762, qubit=2 ), "o3": ClusterBB_OutputPort_Settings( - channel="L4-3", + channel="L4-2", gain=0.5, - qubit=3, # channel="L4-3", gain=0.5, offset=-0.8893, qubit=3 + qubit=2, # channel="L4-3", gain=0.5, offset=-0.8893, qubit=3 ), "o4": ClusterBB_OutputPort_Settings( - channel="L4-4", + channel="L4-3", gain=0.5, - qubit=4, # channel="L4-4", gain=0.5, offset=0.5915, qubit=4 + qubit=3, # channel="L4-4", gain=0.5, offset=0.5915, qubit=4 ), } ), + "qcm_bb1": ClusterQCM_BB_Settings( + { + "o1": ClusterBB_OutputPort_Settings( + channel="L4-4", + gain=0.5, + qubit=4, # channel="L4-5", gain=0.5, offset=0.5544, qubit=0 + ) + } + ), } @@ -181,17 +181,17 @@ def instantiate_module(modules, cls, name, address, settings): modules, ClusterQCM_RF, "qcm_rf0", "192.168.0.20:6", instruments_settings ) # qubit q0 qcm_rf1 = instantiate_module( - modules, ClusterQCM_RF, "qcm_rf1", "192.168.0.20:4", instruments_settings + modules, ClusterQCM_RF, "qcm_rf1", "192.168.0.20:8", instruments_settings ) # qubits q1, q2 qcm_rf2 = instantiate_module( - modules, ClusterQCM_RF, "qcm_rf2", "192.168.0.20:5", instruments_settings + modules, ClusterQCM_RF, "qcm_rf2", "192.168.0.20:10", instruments_settings ) # qubits q3, q4 qcm_bb0 = instantiate_module( - modules, ClusterQCM_BB, "qcm_bb0", "192.168.0.20:9", instruments_settings + modules, ClusterQCM_BB, "qcm_bb0", "192.168.0.20:2", instruments_settings ) # qubit q0 qcm_bb1 = instantiate_module( - modules, ClusterQCM_BB, "qcm_bb1", "192.168.0.20:2", instruments_settings + modules, ClusterQCM_BB, "qcm_bb1", "192.168.0.20:4", instruments_settings ) # qubits q1, q2, q3, q4 # DEBUG: debug folder = report folder @@ -203,7 +203,7 @@ def instantiate_module(modules, cls, name, address, settings): # modules[name]._debug_folder = folder controller = QbloxController("qblox_controller", cluster, modules) - twpa_pump = SGS100A(name="twpa_pump", address="192.168.0.37") + twpa_pump = SGS100A(name="twpa_pump", address="192.168.0.36") # Create channel objects channels = {} @@ -217,21 +217,21 @@ def instantiate_module(modules, cls, name, address, settings): # drive channels["L3-15"] = Channel(name="L3-15", port=qcm_rf0.ports["o1"]) - channels["L3-11"] = Channel(name="L3-11", port=qcm_rf1.ports["o1"]) - channels["L3-12"] = Channel(name="L3-12", port=qcm_rf1.ports["o2"]) - channels["L3-13"] = Channel(name="L3-13", port=qcm_rf2.ports["o1"]) - channels["L3-14"] = Channel(name="L3-14", port=qcm_rf2.ports["o2"]) + channels["L3-11"] = Channel(name="L3-11", port=qcm_rf0.ports["o2"]) + channels["L3-12"] = Channel(name="L3-12", port=qcm_rf1.ports["o1"]) + channels["L3-13"] = Channel(name="L3-13", port=qcm_rf1.ports["o2"]) + channels["L3-14"] = Channel(name="L3-14", port=qcm_rf2.ports["o1"]) # flux channels["L4-5"] = Channel(name="L4-5", port=qcm_bb0.ports["o1"]) - channels["L4-1"] = Channel(name="L4-1", port=qcm_bb1.ports["o1"]) - channels["L4-2"] = Channel(name="L4-2", port=qcm_bb1.ports["o2"]) - channels["L4-3"] = Channel(name="L4-3", port=qcm_bb1.ports["o3"]) - channels["L4-4"] = Channel(name="L4-4", port=qcm_bb1.ports["o4"]) + channels["L4-1"] = Channel(name="L4-1", port=qcm_bb0.ports["o2"]) + channels["L4-2"] = Channel(name="L4-2", port=qcm_bb0.ports["o3"]) + channels["L4-3"] = Channel(name="L4-3", port=qcm_bb0.ports["o4"]) + channels["L4-4"] = Channel(name="L4-4", port=qcm_bb1.ports["o1"]) # TWPA - channels["L4-26"] = Channel(name="L4-4", port=None) - channels["L4-26"].local_oscillator = twpa_pump + channels["L3-28"] = Channel(name="L3-28", port=None) + channels["L3-28"].local_oscillator = twpa_pump # create qubit objects runcard = load_runcard(runcard_path) @@ -242,11 +242,11 @@ def instantiate_module(modules, cls, name, address, settings): for q in [0, 1]: qubits[q].readout = channels["L3-25_a"] qubits[q].feedback = channels["L2-5_a"] - qubits[q].twpa = channels["L4-26"] + qubits[q].twpa = channels["L3-28"] for q in [2, 3, 4]: qubits[q].readout = channels["L3-25_b"] qubits[q].feedback = channels["L2-5_b"] - qubits[q].twpa = channels["L4-26"] + qubits[q].twpa = channels["L3-28"] qubits[0].drive = channels["L3-15"] qubits[0].flux = channels["L4-5"] diff --git a/tii1q_b4_qblox.py b/tii1q_b4_qblox.py deleted file mode 100644 index 438b6163..00000000 --- a/tii1q_b4_qblox.py +++ /dev/null @@ -1,142 +0,0 @@ -import pathlib - -import networkx as nx -import yaml -from qibolab.channels import Channel, ChannelMap -from qibolab.instruments.erasynth import ERA -from qibolab.instruments.qblox.cluster import ( - Cluster, - Cluster_Settings, - ReferenceClockSource, -) -from qibolab.instruments.qblox.cluster_qcm_rf import ( - ClusterQCM_RF, - ClusterQCM_RF_Settings, -) -from qibolab.instruments.qblox.cluster_qrm_rf import ( - ClusterQRM_RF, - ClusterQRM_RF_Settings, -) -from qibolab.instruments.qblox.controller import QbloxController -from qibolab.instruments.qblox.port import ( - ClusterRF_OutputPort_Settings, - QbloxInputPort_Settings, -) -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 = "tii1qb4_qblox" -ADDRESS = "192.168.0.20" -TIME_OF_FLIGHT = 500 -RUNCARD = pathlib.Path(__file__).parent / "tii1q_b4_qblox.yml" -TWPA_ADDRESS = "192.168.0.208" - -instruments_settings = { - "cluster": Cluster_Settings(reference_clock_source=ReferenceClockSource.INTERNAL), - "qrm_rf_a": ClusterQRM_RF_Settings( # q0,q1,q5 - { - "o1": ClusterRF_OutputPort_Settings( - channel="L3-21_a", - attenuation=0, # 38 - lo_frequency=7_255_000_000, - gain=1, - ), - "i1": QbloxInputPort_Settings( - channel="L1-01", - acquisition_hold_off=TIME_OF_FLIGHT, - acquisition_duration=900, - ), - } - ), - "qrm_rf_b": ClusterQCM_RF_Settings( # q2,q3,q4 - { - "o1": ClusterRF_OutputPort_Settings( - channel="L3-21_b", - attenuation=32, - lo_frequency=7_850_000_000, - gain=0.6, - ), - } - ), -} - - -def create(runcard_path=RUNCARD): - """TII 1q-chip controlled using qblox cluster. - - Args: - runcard_path (str): Path to the runcard file. - """ - - def instantiate_module(modules, cls, name, address, settings): - module_settings = settings[name] - modules[name] = cls(name=name, address=address, settings=module_settings) - return modules[name] - - modules = {} - - cluster = Cluster( - name="cluster", - address=ADDRESS, - settings=instruments_settings["cluster"], - ) - - qrm_rf_a = instantiate_module( - modules, ClusterQRM_RF, "qrm_rf_a", "192.168.0.20:16", instruments_settings - ) # qubits q0 - qrm_rf_b = instantiate_module( - modules, ClusterQCM_RF, "qrm_rf_b", "192.168.0.20:12", instruments_settings - ) # qubits q0 - - # DEBUG: debug folder = report folder - # import os - # folder = os.path.dirname(runcard) + "/debug/" - # if not os.path.exists(folder): - # os.makedirs(folder) - # for name in modules: - # modules[name]._debug_folder = folder - - controller = QbloxController("qblox_controller", cluster, modules) - twpa_pump = ERA(name="twpa_pump", address=TWPA_ADDRESS) - - # Create channel objects - channels = {} - # readout - channels["L3-21_a"] = Channel(name="L3-21_a", port=qrm_rf_a.ports["o1"]) - - # feedback - channels["L1-01"] = Channel(name="L1-01", port=qrm_rf_a.ports["i1"]) - - # drive - channels["L3-21_b"] = Channel(name="L3-21_b", port=qrm_rf_b.ports["o1"]) - - # flux (no flux tunable the tii1q_b4) - - # TWPA - channels["L4-26"] = Channel(name="L4-4", port=None) - channels["L4-26"].local_oscillator = twpa_pump - - # create qubit objects - runcard = load_runcard(runcard_path) - qubits, couplers, pairs = load_qubits(runcard) - # remove witness qubit - # del qubits[5] - # assign channels to qubits - - qubits[0].readout = channels["L3-21_a"] - qubits[0].feedback = channels["L1-01"] - qubits[0].twpa = channels["L4-26"] - qubits[0].drive = channels["L3-21_b"] - - instruments = {controller.name: controller, twpa_pump.name: twpa_pump} - settings = load_settings(runcard) - instruments = load_instrument_settings(runcard, instruments) - return Platform( - "tii1qb4_qblox", qubits, pairs, instruments, settings, resonator_type="3D" - ) diff --git a/tii1q_b4_qblox.yml b/tii1q_b4_qblox.yml deleted file mode 100644 index 052edbea..00000000 --- a/tii1q_b4_qblox.yml +++ /dev/null @@ -1,35 +0,0 @@ -nqubits: 1 -qubits: [0] -topology: [] -settings: {nshots: 1024, relaxation_time: 70000, sampling_rate: 9830400000} - -instruments: - twpa_pump: - frequency: 6_690_000_000 - power: -5.6 - -native_gates: - single_qubit: - 0: - RX: {duration: 40, amplitude: 0.4991361195928207, frequency: 5509378347, - shape: Gaussian(3), type: qd, start: 0, phase: 0} - MZ: {duration: 1000, amplitude: 0.0001, frequency: 7255000000, shape: Rectangular(), - type: ro, start: 0, phase: 0} - two_qubits: {} -characterization: - single_qubit: - 0: - readout_frequency: 7255000000 - drive_frequency: 5050304836 - anharmonicity: 0 - Ec: 0 - Ej: 0 - g: 0 - pi_pulse_amplitude: 0.4991361195928207 - T1: 19905.294436569755 - T2_spin_echo: 11255.259744766483 - T2: 4654.863660508437 - threshold: 0.594148378361051 - iq_angle: -3.012709931343581 - mean_gnd_states: [0.1758355048859935, 0.248585667752443] - mean_exc_states: [-1.2420530944625408, 0.43234560260586313]