Skip to main content

A Quantum compUting PULse parametrization and SEquencing framework

Project description

qupulse: A Quantum compUting PULse parametrization and SEquencing framework

Coverage Status Build Status Documentation Status

The qupulse project aims to produce a software toolkit facilitating experiments involving pulse driven state manipulation of physical qubits.

It provides a high-level hardware-independent representation of pulses as well as means to translate this representation to hardware-specific device instructions and waveforms, execute these instructions and perform corresponding measurements.

Pulses can be assembled from previously defined subpulses, allowing easy construction of high-level from low-level pulses and re-use of previous work. Additionally, all pulses are parameterizable allowing users to fine-tune and adapt pulse templates to specific hardware or functionality without redefining an entire pulse sequence. To ensure meaningful parameter values, constraints can be put on parameters on a per-pulse basis.

Status

Note that the project is still in development and thus not feature-complete.

The qupulse library is already used productively by the Quantum Technology Group at the 2nd Institute of Physics at the RWTH Aachen University. As such, some features - such as pulse definition - are mostly complete and tested and interfaces are expected to remain largely stable (or changes to be backward compatible). However, it is still possible for existing portions of the code base to be redesigned if this will increase the usability long-term.

The current feature list is as follows:

  • Definition of complex (arbitrarily deep nested and looped pulses) parameterized pulses in Python (including measurement windows)
  • Mathematical expression evaluation (based on sympy) for parameter values and parameter constraints
  • Serialization of pulses (to allow storing into permanent storage)
  • Hardware model representation (prototype, work in progress)
  • High-level pulse to hardware configuration and waveform translation routines
  • Hardware drivers for Tabor Electronics AWGs and AlazarTech Digitizers
  • MATLAB interface to access qupulse functionality

Installation

qupulse is available on PyPi and the latest release can be installed by executing:

pip3 install qupulse

qupulse version numbers follow the Semantic Versioning conventions.

Alternatively, the current development version of qupulse can be installed by executing in the cloned repository root folder:

pip3 install .

qupulse is developed using Python 3.6 and tested on 3.5 - 3.7 It relies on some external Python packages as dependencies; requirements.txt lists the versions of these qupulse is developed against. We intentionally did not restrict versions of dependencies in the install scripts to not unnecessarily prevent usage of newer releases of dependencies that might be compatible. However, if qupulse does encounter problems with a particular dependency version, try installing the version listed in requirements.txt.

The backend for TaborAWGs requires packages that can be found here.

The data acquisition backend for AlazarTech cards needs a package that unfortunately is not open source (yet). If you need it or have questions contact simon.humpohl@rwth-aachen.de.

The optional script tests/utils/syntax_check.py invokes pyflakes to perform a static code analysis, so pyflakes should be installed if its usage is intended.

Documentation

You can find documentation on how to use this library on readthedocs and IPython notebooks with examples in this repo

Folder Structure

The repository primarily consists of the folders qupulse (toolkit core code) and tests (toolkit core tests). Additional parts of the project reside in MATLAB (MATLAB interface) and doc (configuration and source files to build documentation)

qupulse contains the entire Python source code of the project and is further partitioned the following packages of related modules

  • pulses which contains all modules related to pulse representation.
  • hardware containing classes for hardware representation as well as hardware drivers
  • utils containing miscellaneous utility modules or wrapping code for external libraries

Contents of tests mirror the structure of qupulse. For every <module> somewhere in qupulse there should exist a <module>Tests.py in the corresponding subdirectory of tests.

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

qupulse-0.4.tar.gz (97.8 kB view details)

Uploaded Source

Built Distribution

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

qupulse-0.4-py3-none-any.whl (118.1 kB view details)

Uploaded Python 3

File details

Details for the file qupulse-0.4.tar.gz.

File metadata

  • Download URL: qupulse-0.4.tar.gz
  • Upload date:
  • Size: 97.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for qupulse-0.4.tar.gz
Algorithm Hash digest
SHA256 f4ec952be49d9b9737fd7d1c7259b45207d0a06b6493f228ce83c3277d1e1537
MD5 bb678e91888baa690e5c41cfcebc73cd
BLAKE2b-256 87ce72bdc268d6b4bdf55d28570910aa018a319f99f13537c90df7d686405ede

See more details on using hashes here.

File details

Details for the file qupulse-0.4-py3-none-any.whl.

File metadata

  • Download URL: qupulse-0.4-py3-none-any.whl
  • Upload date:
  • Size: 118.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for qupulse-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5d2c325ce7f936db5692aa39711727f3a2b7c64e6000fd2e18bb8ae0b167016e
MD5 122f7b24b6f04c1560aab655fc0377b2
BLAKE2b-256 88b95d9494aa869450eac4ed38c32a21ee856160113d19665e01e82a6eab1c45

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