Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 1.76 KB

README.md

File metadata and controls

72 lines (48 loc) · 1.76 KB

Qtics - Quantum Technologies Instrumentation ControlS

docs Lint-Pytest-Mypy

Overview

Qtics is a collection of tools designed to facilitate the instrumentation of the BiQuTe Cryogenic Laboratory.

Documentation

You can find the latest documentation here.

Installation instructions

Stable version:

To install the latest released version, you can use the standard pip command:

pip install qtics

Drivers needing extra packages have pip extras: qtics[proteox] (Oxford Proteox), qtics[niscope] (NI PXIe-5170R) or qtics[all].

Latest version:

To install the latest version, unreleased, you can first clone the repository with:

git clone https://github.com/biqute/qtics.git

then to install it in normal mode:

pip install .

Use poetry to install the latest version in developer mode, remember to also install the pre-commits!

poetry install --all-extras --with docs,analysis
pre-commit install

Usage

Drivers are imported from qtics and take the instrument address (or a transport from qtics.transport):

from qtics import SMA100B, ZNB

with ZNB("192.168.0.4") as vna, SMA100B("192.168.0.5") as source:
    source.frequency = 5e9  # Hz
    source.power = -10  # dBm
    source.output = True
    vna.set(f_start=4e9, f_stop=6e9, points=1001)
    freqs, s21 = vna.snapshot()

Coming from qtics 0.0.x? See the migration guide in the documentation.

License

Qtics is licensed under the Apache License 2.0. See the LICENSE file for details.