Connecting to S5i by Qutech in Python
Instrument Card
The S5i module is a RF source ranging from 40 MHz to 4 GHz, initially designed for reflectometry. The output power of the fundamental frequency ranges from -20 dBm to 14 dBm and can be controlled by both the front panel and via software. The RF output can be muted by an external source, which gives an on/off ratio of larger than 60 dB.
Device Specification: here
Manufacturer card: QUTECH
At QuTech, we work on a radically new technology with world-changing potential. Our mission: to develop scalable prototypes of a quantum computer and an inherently safe quantum internet, based on the fundamental laws of quantum mechanics.
- Headquarters: CJ Delft, Netherlands
- Yearly Revenue (millions, USD): 41.3
- Vendor Website: here
Connect to the S5i in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to an S5i RF Signal Generator using Qcodes Community, you can use the following Python script:
from qcodes.instrument.base import Instrumentfrom qcodes.utils.validators import Bool, Numbersfrom spirack import S5i_module
class S5i(Instrument): # ... (same code as provided in the question)
# Create an instance of the SPI_rack class from the spirack packagespi_rack = SPI_rack()
# Create an instance of the S5i RF Signal Generators5i = S5i('s5i', spi_rack, module=1)
# Connect to the S5i RF Signal Generators5i.connect()
# Now you can use the S5i RF Signal Generator# For example, you can enable the RF outputs5i.output_enabled(True)
# Set the frequency to 50 MHzs5i.frequency(50e6)
# Set the output power to -10 dBms5i.power(-10)
# Disconnect from the S5i RF Signal Generators5i.disconnect()
Note: In the above code, make sure to replace SPI_rack()
with the appropriate initialization code for your specific SPI rack.