This release is a pre-release and may not be stable for production use.
Qkit-gla : a quantum measurement suite in python
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
- 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()
Metadata
Release files for qkit-gla 0.0.1rc0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qkit_gla-0.0.1rc0.tar.gz | 805.0 kB | Without provenance | Details for qkit_gla-0.0.1rc0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qkit_gla-0.0.1rc0-py3-none-any.whl | Python 3 | none | any | Details for qkit_gla-0.0.1rc0-py3-none-any.whl |
Total release size: 1.8 MB
Release files / qkit_gla-0.0.1rc0.tar.gz
| Download URL | qkit_gla-0.0.1rc0.tar.gz |
|---|---|
| Size | 805.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
475e87d56b62285a60c7a2d039db2d71abb92a8bd25c9831506d36dc71cc23fc
|
|
BLAKE2b-256 checksum How to use checksums |
9787ca583da0e4a1b185d70611ef9c1c5a586b44e99ae6529fb35e467dc82fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|
Release files / qkit_gla-0.0.1rc0-py3-none-any.whl
| Download URL | qkit_gla-0.0.1rc0-py3-none-any.whl |
|---|---|
| Size | 978.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14c93338a2ba3c98da48f8f7b1c83dd4275b2110f0ad8c93268446abc05bfd74
|
|
BLAKE2b-256 checksum How to use checksums |
ece893520abb00c8d97fcfff8b3e993a4ed99631c6c00b7bd4fc57c2f402b6da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|
Security for qkit-gla 0.0.1rc0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.