qupulse


Namequpulse JSON
Version 0.9 PyPI version JSON
download
home_pagehttps://github.com/qutech/qupulse
SummaryA Quantum compUting PULse parametrization and SEquencing framework
upload_time2023-11-08 10:18:46
maintainer
docs_urlNone
authorQuantum Technology Group and Chair of Software Engineering, RWTH Aachen University
requires_python>=3.8
licenseMIT
keywords quantum physics control pulse qubit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # qupulse: A Quantum compUting PULse parametrization and SEquencing framework
[![Coverage Status](https://coveralls.io/repos/github/qutech/qupulse/badge.svg?branch=master)](https://coveralls.io/github/qutech/qupulse?branch=master)
[![Build Status](https://travis-ci.org/qutech/qupulse.svg?branch=master)](https://travis-ci.org/qutech/qupulse)
[![Documentation Status](https://readthedocs.org/projects/qupulse/badge/?version=latest)](http://qupulse.readthedocs.org/en/latest/?badge=latest)
[![DOI](https://zenodo.org/badge/29915259.svg)](https://zenodo.org/badge/latestdoi/29915259)

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 and stability
The qupulse library is 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). A key goal is that experiments should be repeatable with new versions of qupulse.
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
- High-level pulse to hardware configuration and waveform translation routines 
- Hardware drivers for Tabor Electronics, Tektronix and Zurich Instruments AWGs and AlazarTech Digitizers
- MATLAB interface to access qupulse functionality
 
Pending changes are tracked in the `changes.d` subdirectory and published in [`RELEASE_NOTES.rst`](RELEASE_NOTES.rst) on release using the tool `towncrier`.

## Installation
qupulse is available on [PyPi](https://pypi.org/project/qupulse/) and the latest release can be installed by executing:
```sh
python -m pip install qupulse[default]
```
which will install all required and optional dependencies except for hardware support. qupulse version numbers follow the [Semantic Versioning](https://semver.org/) conventions.

Alternatively, the current development version of qupulse can be installed by executing
```sh
python -m pip install -e git+https://github.com/qutech/qupulse.git#egg=qupulse[default]
```
which will clone the github repository to `./src/qupulse` and do an editable/development install. 

### Requirements and dependencies
qupulse requires at least Python 3.8 and is tested on 3.8, 3.9 and 3.10. It relies on some external Python packages as dependencies. 
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 please file an issue. 

The backend for TaborAWGs requires packages that can be found [here](https://git.rwth-aachen.de/qutech/python-TaborDriver). As a shortcut you can install it from the python interpreter via `qupulse.hardware.awgs.install_requirements('tabor')`.

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>.

## Documentation
You can find documentation on how to use this library on [readthedocs](https://qupulse.readthedocs.io/en/latest/) and [IPython notebooks with examples in this repo](doc/source/examples). You can build it locally with `python setup.py build_sphinx`.

### 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
- `_program` contains general and hardware specific representations of instantiated (parameter free) pulses. It is private because there is no stability guarantee.

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`.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/qutech/qupulse",
    "name": "qupulse",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "quantum,physics,control pulse,qubit",
    "author": "Quantum Technology Group and Chair of Software Engineering, RWTH Aachen University",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/31/82/47faf06e13b685b432e6683ca72bd87d5557e71c2080bbf8a8189b82dbb8/qupulse-0.9.tar.gz",
    "platform": null,
    "description": "# qupulse: A Quantum compUting PULse parametrization and SEquencing framework\n[![Coverage Status](https://coveralls.io/repos/github/qutech/qupulse/badge.svg?branch=master)](https://coveralls.io/github/qutech/qupulse?branch=master)\n[![Build Status](https://travis-ci.org/qutech/qupulse.svg?branch=master)](https://travis-ci.org/qutech/qupulse)\n[![Documentation Status](https://readthedocs.org/projects/qupulse/badge/?version=latest)](http://qupulse.readthedocs.org/en/latest/?badge=latest)\n[![DOI](https://zenodo.org/badge/29915259.svg)](https://zenodo.org/badge/latestdoi/29915259)\n\nThe qupulse project aims to produce a software toolkit facilitating experiments involving pulse driven state manipulation of physical qubits.\n\nIt 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.\n\nPulses can be assembled from previously defined subpulses, allowing easy construction of high-level from low-level pulses and re-use of previous work.\nAdditionally, 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.  \n\n## Status and stability\nThe qupulse library is 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). A key goal is that experiments should be repeatable with new versions of qupulse.\nHowever, it is still possible for existing portions of the code base to be redesigned if this will increase the usability long-term.\n \nThe current feature list is as follows:\n\n- Definition of complex (arbitrarily deep nested and looped pulses) parameterized pulses in Python (including measurement windows)\n- Mathematical expression evaluation (based on sympy) for parameter values and parameter constraints\n- Serialization of pulses (to allow storing into permanent storage)\n- Hardware model representation\n- High-level pulse to hardware configuration and waveform translation routines \n- Hardware drivers for Tabor Electronics, Tektronix and Zurich Instruments AWGs and AlazarTech Digitizers\n- MATLAB interface to access qupulse functionality\n \nPending changes are tracked in the `changes.d` subdirectory and published in [`RELEASE_NOTES.rst`](RELEASE_NOTES.rst) on release using the tool `towncrier`.\n\n## Installation\nqupulse is available on [PyPi](https://pypi.org/project/qupulse/) and the latest release can be installed by executing:\n```sh\npython -m pip install qupulse[default]\n```\nwhich will install all required and optional dependencies except for hardware support. qupulse version numbers follow the [Semantic Versioning](https://semver.org/) conventions.\n\nAlternatively, the current development version of qupulse can be installed by executing\n```sh\npython -m pip install -e git+https://github.com/qutech/qupulse.git#egg=qupulse[default]\n```\nwhich will clone the github repository to `./src/qupulse` and do an editable/development install. \n\n### Requirements and dependencies\nqupulse requires at least Python 3.8 and is tested on 3.8, 3.9 and 3.10. It relies on some external Python packages as dependencies. \nWe 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 please file an issue. \n\nThe backend for TaborAWGs requires packages that can be found [here](https://git.rwth-aachen.de/qutech/python-TaborDriver). As a shortcut you can install it from the python interpreter via `qupulse.hardware.awgs.install_requirements('tabor')`.\n\nThe 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>.\n\n## Documentation\nYou can find documentation on how to use this library on [readthedocs](https://qupulse.readthedocs.io/en/latest/) and [IPython notebooks with examples in this repo](doc/source/examples). You can build it locally with `python setup.py build_sphinx`.\n\n### Folder Structure\nThe 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)  \n\n`qupulse` contains the entire Python source code of the project and is further partitioned the following packages of related modules \n\n- `pulses` which contains all modules related to pulse representation.\n- `hardware` containing classes for hardware representation as well as hardware drivers\n- `utils` containing miscellaneous utility modules or wrapping code for external libraries\n- `_program` contains general and hardware specific representations of instantiated (parameter free) pulses. It is private because there is no stability guarantee.\n\nContents 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`.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Quantum compUting PULse parametrization and SEquencing framework",
    "version": "0.9",
    "project_urls": {
        "Homepage": "https://github.com/qutech/qupulse"
    },
    "split_keywords": [
        "quantum",
        "physics",
        "control pulse",
        "qubit"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b95aa806887f1e5587d3fa5e84c3107300b2e2089e9690fbca084329f1517642",
                "md5": "cb945fe23245f4eca1b20fa1d07be009",
                "sha256": "100fa0923d485bf8da42a4cdf646ae1504be7c429f6b2c04ba74c589061388a7"
            },
            "downloads": -1,
            "filename": "qupulse-0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb945fe23245f4eca1b20fa1d07be009",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 216782,
            "upload_time": "2023-11-08T10:18:44",
            "upload_time_iso_8601": "2023-11-08T10:18:44.090112Z",
            "url": "https://files.pythonhosted.org/packages/b9/5a/a806887f1e5587d3fa5e84c3107300b2e2089e9690fbca084329f1517642/qupulse-0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "318247faf06e13b685b432e6683ca72bd87d5557e71c2080bbf8a8189b82dbb8",
                "md5": "6d37dc857456de5bfdc79dd03e47dcea",
                "sha256": "6ac260ca74305d083714898f1c2a8b1ab36c9ddf46510e2ac04facf8f49e8980"
            },
            "downloads": -1,
            "filename": "qupulse-0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "6d37dc857456de5bfdc79dd03e47dcea",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 187529,
            "upload_time": "2023-11-08T10:18:46",
            "upload_time_iso_8601": "2023-11-08T10:18:46.037663Z",
            "url": "https://files.pythonhosted.org/packages/31/82/47faf06e13b685b432e6683ca72bd87d5557e71c2080bbf8a8189b82dbb8/qupulse-0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-08 10:18:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "qutech",
    "github_project": "qupulse",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "qupulse"
}
        
Elapsed time: 0.13103s