{
    "config_type": "quantify_scheduler.backends.qblox_backend.QbloxHardwareCompilationConfig",
    "hardware_description": {
        "cluster0": {
            "instrument_type": "Cluster",
            "ref": "internal",
            "ip": null,
            "modules": {
                "1": {
                    "instrument_type": "QCM",
                    "complex_output_0": {
                        "marker_debug_mode_enable": true
                    }
                },
                "2": {
                    "instrument_type": "QCM_RF"
                },
                "3": {
                    "instrument_type": "QRM"
                },
                "4": {
                    "instrument_type": "QRM_RF"
                },
                "7": {
                    "instrument_type": "QCM"
                },
                "10": {
                    "instrument_type": "QCM"
                },
                "12": {
                    "instrument_type": "QCM"
                },
                "14": {
                    "instrument_type": "QRC"
                }
            }
        },
        "lo0": {
            "instrument_type": "LocalOscillator",
            "power": 1
        },
        "lo1": {
            "instrument_type": "LocalOscillator",
            "power": 1
        },
        "lo_real": {
            "instrument_type": "LocalOscillator",
            "power": 1
        },
        "iq_mixer_lo0": {
            "instrument_type": "IQMixer"
        },
        "iq_mixer_lo1": {
            "instrument_type": "IQMixer"
        },
        "iq_mixer_lo_real": {
            "instrument_type": "IQMixer"
        }
    },
    "hardware_options": {
        "latency_corrections": {
            "q4:mw-q4.01": 8e-9,
            "q5:mw-q5.01": 4e-9
        },
        "distortion_corrections": {
            "q0:fl-cl0.baseband": {
                "filter_func": "scipy.signal.lfilter",
                "input_var_name": "x",
                "kwargs": {
                    "b": [
                        0,
                        0.25,
                        0.5
                    ],
                    "a": [
                        1
                    ]
                },
                "clipping_values": [
                    -2.5,
                    2.5
                ]
            }
        },
        "modulation_frequencies": {
            "q0:res-q0.ro": {
                "interm_freq": null,
                "lo_freq": 7.8e9
            },
            "q0:mw-q0.01": {
                "interm_freq": 50e6,
                "lo_freq": null
            },
            "q4:mw-q4.01": {
                "interm_freq": 200e6,
                "lo_freq": null
            },
                        "q4:res-q4.ro": {
                "interm_freq": null,
                "lo_freq": 7.2e9
            },
            "q5:mw-q5.01": {
                "interm_freq": 50e6,
                "lo_freq": null
            },
            "q5:res-q5.ro": {
                "interm_freq": 50e6
            },
            "q6:mw-q6.01": {
                "lo_freq": 5e9
            },
            "q7:mw-q7.01": {
                "lo_freq": 5e9
            },
            "q8:mw-q8.01": {
                "interm_freq": 50e6,
                "lo_freq": null
            },
            "q8:res-q8.ro": {
                "interm_freq": 50e6,
                "lo_freq": null
            }
        },
        "mixer_corrections": {
            "q4:mw-q4.01": {
                "amp_ratio": 0.9999,
                "phase_error": -4.2
            },
            "q4:res-q4.ro": {
                "dc_offset_i": -0.054,
                "dc_offset_q": -0.034,
                "amp_ratio": 0.9997,
                "phase_error": -4.0
            }
        },
        "output_att": {
            "q0:mw-q0.01": 4,
            "q0:res-q0.ro": 12,
            "q5:mw-q5.01": 4,
            "q6:mw-q6.01": 6
        },
        "input_gain": {
            "q4:res-q4.ro": {
                "gain_I": 2,
                "gain_Q": 3
            }
        },
        "input_att": {
            "q0:res-q0.ro": 4,
            "q5:res-q5.ro": 10
        },
        "sequencer_options": {
            "qe0:optical_readout-qe0.ge0": {
                "ttl_acq_threshold": 0.5
            }
        }
    },
    "connectivity": {
        "graph": [
            [
                "cluster0.module1.complex_output_0",
                "iq_mixer_lo0.if"
            ],
            [
                "lo0.output",
                "iq_mixer_lo0.lo"
            ],
            [
                "iq_mixer_lo0.rf",
                "q4:mw"
            ],
            [
                "cluster0.module2.complex_output_0",
                [
                    "q0:mw",
                    "q5:mw"
                ]
            ],
            [
                "cluster0.module2.complex_output_1",
                "q6:mw"
            ],
            [
                "cluster0.module2.digital_output_0",
                "q0:switch"
            ],
            [
                "cluster0.module3.complex_output_0",
                "iq_mixer_lo1.if"
            ],
            [
                "lo1.output",
                "iq_mixer_lo1.lo"
            ],
            [
                "iq_mixer_lo1.rf",
                "q4:res"
            ],
            [
                "cluster0.module3.complex_input_0",
                "qe0:optical_readout"
            ],
            [
                "cluster0.module4.complex_input_0",
                "q5:res"
            ],
            [
                "cluster0.module4.complex_output_0",
                "q0:res"
            ],
            [
                "cluster0.module7.real_output_0",
                "iq_mixer_lo_real.if"
            ],
            [
                "lo_real.output",
                "iq_mixer_lo_real.lo"
            ],
            [
                "iq_mixer_lo_real.rf",
                "q7:mw"
            ],
            [
                "cluster0.module10.real_output_0",
                "q0:fl"
            ],
            [
                "cluster0.module10.real_output_1",
                "q1:fl"
            ],
            [
                "cluster0.module10.real_output_2",
                "q2:fl"
            ],
            [
                "cluster0.module10.real_output_3",
                "q3:fl"
            ],
            [
                "cluster0.module12.real_output_0",
                "q4:fl"
            ],
            [
                "cluster0.module14.complex_output_5",
                "q8:mw"
            ],
            [
                "cluster0.module14.complex_input_1",
                "q8:res"
            ],
            [
                "cluster0.module14.digital_output_0",
                "q8:switch"
            ]
        ]
    }
}
