rf_switch_toggle#
Module that contains the RFSwitchToggle operation.
Module Contents#
Classes#
Turn the RF complex output on for the given duration. |
- class RFSwitchToggle(duration: float, port: str, clock: str)[source]#
Bases:
quantify_scheduler.Operation
Turn the RF complex output on for the given duration. The RF ports are on by default, make sure to set
rf_output_on
to False to turn them off.- Parameters:
duration – Duration to turn the RF output on.
port – Name of the associated port.
clock – Name of the associated clock. For now the given port-clock combination must have a LO frequency defined in the hardware configuration.
Examples
Partial hardware configuration to turn the RF complex output off by default to be able to use this operation.
hardware_compilation_config = { "config_type": QbloxHardwareCompilationConfig, "hardware_description": { "cluster0": { "instrument_type": "Cluster", "modules": { "0": {"instrument_type": "QCM_RF", "rf_output_on": False}, "1": {"instrument_type": "QRM_RF", "rf_output_on": False}, }, }, }, }