Arline Quantum
Arline Quantum is an open-source library providing basic functionality for creating and manipulating quantum circuits. It also contains a list of mock quantum hardware.
Installation
$ pip3 install arline-quantum
Alternatively, Arline Quantum can be installed locally in the editable mode.
Clone Arline Quantum repository, cd to the source directory:
$ git clone https://github.com/ArlineQ/arline_quantum.git
$ cd arline_quantum
We recommend to install Arline Quantum in the virtual environment.
$ virtualenv venv
$ source venv/bin/activate
If virtualenv is not installed on your machine, run
$ pip3 install virtualenv
Next in order to install the Arline Quantum platform execute:
$ pip3 install .
Alternatively, Arline Quantum can be installed in the editable mode:
$ pip3 install -e .
API documentation
API documentation is here documentation. To generate HTML API documentation, run below command:
$ cd docs/
$ make html
Running tests
To run unit-tests and check installed dependencies:
$ tox
Folder structure
arline_quantum
│
├── arline_quantum # library
│ ├── gate_chain # gate chain (circuit) class
│ ├── gate_sets # collection of gate sets for quantum hardware
│ ├── gates # collection of quantum gates
│ ├── hardware # collection of predefined mock hardware devices
│ ├── qasm_parser # parser of .qasm circuits
│ └── qubit_connectivity # list of hardware topologies and utils functions
│
├── docs # documentation
│
└── test # tests
├── gate_chain # tests for gate chain class
├── gates # tests for gates
├── hardware # tests for quantum hardware
├── qasm_files # .qasm files for gate_chain test
└── qubit_connectivity # tests for qubit connectivity class
Metadata
Release files for arline-quantum 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arline-quantum-0.1.8.tar.gz | 40.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arline_quantum-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 163.5 kB
Release files / arline-quantum-0.1.8.tar.gz
| Download URL | arline-quantum-0.1.8.tar.gz |
|---|---|
| Size | 40.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90f861c6da62223d186b271917347ad8909edffe50194bb0405e9c8da0615c59
|
|
BLAKE2b-256 checksum How to use checksums |
ef77bee3f0de900d7a997d58935aa69760aef759f279d765c39da70651408c81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
|
Release files / arline_quantum-0.1.8-py3-none-any.whl
| Download URL | arline_quantum-0.1.8-py3-none-any.whl |
|---|---|
| Size | 122.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e38d3deeda49a9d27060bc066c3f70bb6c01bc6495feba87d990900e4196b412
|
|
BLAKE2b-256 checksum How to use checksums |
c08c02e70954ee562543b5f4330cd32f8253b7b9a1b5fae3d4d4bb82fe08b7ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
|