Skip to main content

A quantum measurement toolkit for superconducting qubits and resonators

Project description

QKIT

Qkit-gla : a quantum measurement suite in python

Static Badge

Python Version from PEP 621 TOML Build

PyPI version TestPyPI version

Note: this is a adaptation measurement suite based on the KIT suite of the same name for Quantum Circuits Glasgow

Features:

  • a collection of ipython notebooks for measurement and data analysis tasks.
  • hdf5 based data storage of 1,2 and 3 dimensional data, including a viewer.
  • classes for data fitting, e.g. of microwave resonator data. This includes also a robust circle fit algorithm.
  • extended and maintained drivers for various low frequency and microwave electronics.

Platform:

The qkit framework has been tested under windows and with limits under macos x and linux. The gui requires h5py, qt and pyqtgraph, which work fine on these platforms. The core of the framework runs on Python 3.9+

Requirements:

This project uses python 3.9+. An up to date installation of python is expected to be present. The requirements are listed in the requirements.txt file.

They can be installed automatically using

pip install -r requirements.txt
Library Usage
pyqt5 GUI
numpy, scipy, uncertainties General Usage
pyqtgraph, matplotlib Plotting
h5py Data Stroage
jupyterlab Interactive Notebooks
jupyterlab-templates Notebook Templating
pyvisa, pyvisa-py Communication with Devices
zhinst Drivers for Zurich Instruments devices
zeromq Messaging

Pre-requisites:

for Windows : Install some version of conda. Miniconda3 or Anaconda would do.

Installation:

It is recommended to install in a virtual-env or conda environment for compatibility with other dependencies. For venv see below. For a conda env :

#create a new py3.9 env
conda create -n qkit-env python=3.9

#activate the env
conda activate qkit-env

and install via pip and testPyPi

python -m pip install --upgrade pip

pip install -i https://test.pypi.org/simple/ qkit --extra-index-url https://pypi.org/simple

Alternative Install methods :

Clone this repository with

git clone https://github.com/qkitgroup/qkit.git

In this directory, create a virtual environment with the required dependencies. Should you not have virtualenv installed, see below.

 #(Windows) 
python -m venv .venv-test && .venv-test\Scripts\activate

# (Unix)
source .venv-test/bin/activate

Now install the dependencies using (in a python 3.9 env)

pip install -r requirements.txt

Installing venv

If you don't have support for virtual environments, enable it by running

pip install virtualenv

Usage

Usually run within a Jupyter Notebook

  1. Create a cell
import qkit

qkit.cfg['load_visa'] = True
qkit.cfg['run_id'] = 'run001'
qkit.cfg['datadir'] = path/to/data/folder
qkit.cfg['debug']='ERROR'

qkit.start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qkit_gla-0.0.1rc0.tar.gz (805.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qkit_gla-0.0.1rc0-py3-none-any.whl (978.2 kB view details)

Uploaded Python 3

File details

Details for the file qkit_gla-0.0.1rc0.tar.gz.

File metadata

  • Download URL: qkit_gla-0.0.1rc0.tar.gz
  • Upload date:
  • Size: 805.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for qkit_gla-0.0.1rc0.tar.gz
Algorithm Hash digest
SHA256 475e87d56b62285a60c7a2d039db2d71abb92a8bd25c9831506d36dc71cc23fc
MD5 9496dd80a08cebb9197c5b7f68fa11d5
BLAKE2b-256 9787ca583da0e4a1b185d70611ef9c1c5a586b44e99ae6529fb35e467dc82fa6

See more details on using hashes here.

File details

Details for the file qkit_gla-0.0.1rc0-py3-none-any.whl.

File metadata

  • Download URL: qkit_gla-0.0.1rc0-py3-none-any.whl
  • Upload date:
  • Size: 978.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for qkit_gla-0.0.1rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 14c93338a2ba3c98da48f8f7b1c83dd4275b2110f0ad8c93268446abc05bfd74
MD5 05d94e2736ee3a14761d66e5d7d1aab4
BLAKE2b-256 ece893520abb00c8d97fcfff8b3e993a4ed99631c6c00b7bd4fc57c2f402b6da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page