Skip to main content

Quantum Hardware Library

Project description

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

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

arline-quantum-0.1.7.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

arline_quantum-0.1.7-py3-none-any.whl (122.6 kB view details)

Uploaded Python 3

File details

Details for the file arline-quantum-0.1.7.tar.gz.

File metadata

  • Download URL: arline-quantum-0.1.7.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for arline-quantum-0.1.7.tar.gz
Algorithm Hash digest
SHA256 efb41b5c06ea53b617544d1236a800acf6f02f164aec03629cf4c79bb43bc89d
MD5 17e9b533a1452342c8da5d6315c6017d
BLAKE2b-256 4d21624beaac33c15d02e4c21e5e084f219e406e2788f178919315d54697adf7

See more details on using hashes here.

File details

Details for the file arline_quantum-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: arline_quantum-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 122.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for arline_quantum-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2d411628fa2196c8852207f70c42d07b7a16dac021081f6b533fb4f13a4d3729
MD5 601da5a5f2c4fde94b3f5ac177dab137
BLAKE2b-256 787be38a208b784b6ff5fcabbf568f578bb9c155faa774f8c4a50152285c5314

See more details on using hashes here.

Supported by

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