Connecting to SHFQA by Zurich Instruments in Python
Instrument Card
The Zurich Instruments SHFQA Quantum Analyzer integrates in a single instrument a full real-time readout setup for up to 64 superconducting and spin qubits. The SHFQA operates in a frequency range from 0.5 to 8.5 GHz with a clean analysis bandwidth of 1 GHz and without the need for mixer calibration. Each of its 2 or 4 readout channels can analyze up to 16 qubits, 8 qutrits or 5 ququads
Device Specification: here
Manufacturer card: ZURICH INSTRUMENTS
Zurich Instruments Ltd. is a privately owned company developing and selling advanced test and measurement instruments equipped with software for dynamic signal analysis.
- Headquarters: Switzerland
- Yearly Revenue (millions, USD): 38
- Vendor Website: here
Connect to the SHFQA in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here is an example Python script that uses Qcodes to connect to a SHFQA Quantum Analyzer:
import qcodes as qcfrom qcodes.instrument_drivers.zhinst import SHFQA
# Connect to the SHFQA Quantum Analyzershfqa = SHFQA("shfqa", "dev1234")
# Print the available QA channelsprint(shfqa.qachannels())
# Configure the first QA channelchannel = shfqa.qachannels[0]channel.configure_channel( input_range=0, output_range=0, center_frequency=5e9, mode="spectroscopy")
# Run the spectroscopy measurementchannel.spectroscopy.run()
# Wait for the measurement to finishchannel.spectroscopy.wait_done()
# Read the measurement datadata = channel.spectroscopy.read()
# Print the measurement dataprint(data)
# Disconnect from the SHFQA Quantum Analyzershfqa.close()
Note: Replace "dev1234"
with the actual serial number of your SHFQA Quantum Analyzer.