Platform-independent quantum computing library
Project description
QURI Parts
QURI Parts is an open source library suite for creating and executing quantum algorithms on various quantum computers and simulators. QURI Parts focuses on the followings:
- Modularity and extensibility: It provides small parts with which you can assemble your own algorithms. You can also use ready-made algorithms, customizing their details by replacing sub components easily.
- Platform independence: Once you assemble an algorithm with QURI Parts, you can execute it on various quantum computers or simulators without modifying the main algorithm code. Typically you only need to replace a few lines to switch to a different device or simulator.
- Performance: When dealing with a simulator, it is often the case that classical computation before and after quantum circuit simulation (such as data preparation and post processing) takes considerable time, spoiling performance of the simulator. We put an emphasis on computational performance and try to get the most out of simulators.
Covered areas and components
Current QURI Parts covers the following areas, provided as individual components. Please note that more components will be added in future. You are also encouraged to propose or author new components as necessary.
- Core components
quri-parts-circuit
: Quantum circuit- Gate, circuit, noise etc.
quri-parts-core
: General components- Operator, state, estimator, sampler etc.
- Platform (device/simulator) support
- Quantum circuit simulators
- Quantum platforms/SDKs
quri-parts-braket
: Amazon Braket SDKquri-parts-cirq
: Cirq (Only circuit and operator conversion is supported yet)quri-parts-qiskit
: Qiskitquri-parts-quantinuum
: Quantinuumquri-parts-ionq
: IONQ
- Intermediate representation support
quri-parts-openqasm
: OpenQASM 3.0
quri-parts-algo
: Algorithms- Ansatz, optimizer, error mitigation etc.
- Chemistry
quri-parts-chem
: General concepts- Fermion-qubit mapping, electron integrals, ansatz etc.
quri-parts-pyscf
: PySCF- Library support
quri-parts-openfermion
: OpenFermion
Installation
QURI Parts requires Python 3.9.8 or later.
Use pip
to install QURI Parts.
Default installation only contains components not depending specific platforms (devices/simulators) or external libraries.
You need to specify extras with square brackets ([]
) to use those platforms and external libraries with QURI Parts:
# Default installation, no extras
pip install quri-parts
# Use Qulacs, a quantum circuit simulator
pip install "quri-parts[qulacs]"
# Use Amazon Braket SDK
pip install "quri-parts[braket]"
# Use Qulacs and OpenFermion, a quantum chemistry library for quantum computers
pip install "quri-parts[qulacs,openfermion]"
Currently available extras are as follows:
qulacs
braket
qiskit
cirq
openfermion
stim
openqasm
itensor
You can also install individual components (quri-parts-*
) directly.
In fact, quri-parts
is a meta package, a convenience method to install those individual components.
Installation from local source tree
If you check out the QURI Parts repository and want to install from that local source tree, you can use requirements-local.txt
.
In requirements-local.txt
, optional components are commented out, so please uncomment them as necessary.
pip install -r requirements-local.txt
Documentation and tutorials
Documentation of QURI Parts is available at https://quri-parts.qunasys.com. Tutorials would be a good starting point.
Release notes
See Releases page on GitHub.
Contribution guidelines
If you are interested in contributing to QURI Parts, please take a look at our contribution guidelines.
Authors
QURI Parts developed and maintained by QunaSys Inc.. All contributors can be viewed on GitHub.
License
QURI Parts is licensed under Apache License 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file quri_parts-0.20.3.tar.gz
.
File metadata
- Download URL: quri_parts-0.20.3.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d97ac6ee5b37b131c5636b10ef19d70876b8805db7fa9cf6ac1a236fe2fb2b2 |
|
MD5 | e80b588b765abf164fbe238430727807 |
|
BLAKE2b-256 | d43a5a0b38b6569716ce1ba5939a3fe47c55e1c224942b86d7af69259a90f5d7 |
File details
Details for the file quri_parts-0.20.3-py3-none-any.whl
.
File metadata
- Download URL: quri_parts-0.20.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2329d97b045234f185d8b6682dcbffa70e345ae923642587b6722a685f91d8ab |
|
MD5 | 6aa8e16cfb1dfcd8b880e386bc5e9b3b |
|
BLAKE2b-256 | 76a5f785be687ae1d5f453f06491228a1c269091bb25a11a8c064bec739dda18 |