Skip to main content

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
  • Intermediate representation support
  • quri-parts-qsub: Structured circuit generation for FTQC algorithms
  • 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

Installation

QURI Parts requires Python 3.10 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
  • qsub

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 SDK is available at https://quri-sdk.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.

Metadata

Release files for quri-parts 0.27.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quri-parts 0.27.0
File Size Uploaded
quri_parts-0.27.0.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quri-parts 0.27.0
File Interpreter ABI Platform
quri_parts-0.27.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.4 kB

Release files / quri_parts-0.27.0.tar.gz

Download URL quri_parts-0.27.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
49ad5d6507e4c5966b2771645cb46e8ea3d835ae00e47f784ad0f818a457e356
BLAKE2b-256 checksum
How to use checksums
84a4205c089b18f7dff38f3f2e8b1087e3e05054527cdb9256351d1b26277427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / quri_parts-0.27.0-py3-none-any.whl

Download URL quri_parts-0.27.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c8e336dc34272abb914526e9c352c279a294b1baaef60676a5d9a86ed563bcc
BLAKE2b-256 checksum
How to use checksums
62c35ee0e9e57fc1c50561ff6ead7f8f14ffe2bd67194143a9a147a9ec48a4bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

17.0.0

2 release files

This release

0.27.0 This release

2 release files

0.26.4

2 release files

0.26.2

2 release files

0.26.1

1 release file

0.25.1

2 release files

0.24.1

2 release files

0.22.1

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.3

2 release files

0.20.2

2 release files

0.20.1

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.1

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.1

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.13.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page