Skip to content

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

SHFQA

Device Specification: here

Manufacturer card: ZURICH INSTRUMENTS

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

PROTOCOLS > SCPI

Here is an example Python script that uses Qcodes to connect to a SHFQA Quantum Analyzer:

import qcodes as qc
from qcodes.instrument_drivers.zhinst import SHFQA
# Connect to the SHFQA Quantum Analyzer
shfqa = SHFQA("shfqa", "dev1234")
# Print the available QA channels
print(shfqa.qachannels())
# Configure the first QA channel
channel = shfqa.qachannels[0]
channel.configure_channel(
input_range=0,
output_range=0,
center_frequency=5e9,
mode="spectroscopy"
)
# Run the spectroscopy measurement
channel.spectroscopy.run()
# Wait for the measurement to finish
channel.spectroscopy.wait_done()
# Read the measurement data
data = channel.spectroscopy.read()
# Print the measurement data
print(data)
# Disconnect from the SHFQA Quantum Analyzer
shfqa.close()

Note: Replace "dev1234" with the actual serial number of your SHFQA Quantum Analyzer.