# 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
- `quri-parts-qulacs`: [Qulacs](https://github.com/qulacs/qulacs)
- `quri-parts-stim`: [Stim](https://github.com/quantumlib/Stim)
- `quri-parts-itensor`: [ITensor](https://github.com/ITensor/ITensors.jl)
- `quri-parts-tket`: [TKet](https://www.quantinuum.com/developers/tket)
- Quantum platforms/SDKs
- `quri-parts-braket`: [Amazon Braket SDK](https://github.com/aws/amazon-braket-sdk-python)
- `quri-parts-cirq`: [Cirq](https://quantumai.google/cirq) (Only circuit and operator conversion is supported yet)
- `quri-parts-qiskit`: [Qiskit](https://qiskit.org/)
- `quri-parts-quantinuum`: [Quantinuum](https://www.quantinuum.com/hardware/)
- `quri-parts-ionq`: [IONQ](https://ionq.com/docs/)
- Intermediate representation support
- `quri-parts-openqasm`: [OpenQASM 3.0](https://openqasm.com/)
- `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](https://pyscf.org/)
- Library support
- `quri-parts-openfermion`: [OpenFermion](https://quantumai.google/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](https://quri-parts.qunasys.com/docs/category/basics) would be a good starting point.
## Release notes
See [Releases page](https://github.com/QunaSys/quri-parts/releases) on GitHub.
## Contribution guidelines
If you are interested in contributing to QURI Parts, please take a look at our [contribution guidelines](CONTRIBUTING.md).
## Authors
QURI Parts developed and maintained by [QunaSys Inc.](https://qunasys.com/en). All contributors can be viewed on [GitHub](https://github.com/QunaSys/quri-parts/graphs/contributors).
## License
QURI Parts is licensed under [Apache License 2.0](https://github.com/QunaSys/quri-parts/blob/main/LICENSE).
Raw data
{
"_id": null,
"home_page": "https://github.com/QunaSys/quri-parts",
"name": "quri-parts",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0.0,>=3.9.8",
"maintainer_email": null,
"keywords": "quantum, quantum computing",
"author": "QURI Parts Authors",
"author_email": "opensource@qunasys.com",
"download_url": "https://files.pythonhosted.org/packages/d4/3a/5a0b38b6569716ce1ba5939a3fe47c55e1c224942b86d7af69259a90f5d7/quri_parts-0.20.3.tar.gz",
"platform": null,
"description": "# QURI Parts\n\n\nQURI 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:\n\n- **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.\n- **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.\n- **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.\n\n\n## Covered areas and components\n\nCurrent QURI Parts covers the following areas, provided as individual components.\nPlease note that more components will be added in future.\nYou are also encouraged to propose or author new components as necessary.\n\n- Core components\n - `quri-parts-circuit`: Quantum circuit\n - Gate, circuit, noise etc.\n - `quri-parts-core`: General components\n - Operator, state, estimator, sampler etc.\n- Platform (device/simulator) support\n - Quantum circuit simulators\n - `quri-parts-qulacs`: [Qulacs](https://github.com/qulacs/qulacs)\n - `quri-parts-stim`: [Stim](https://github.com/quantumlib/Stim)\n - `quri-parts-itensor`: [ITensor](https://github.com/ITensor/ITensors.jl)\n - `quri-parts-tket`: [TKet](https://www.quantinuum.com/developers/tket)\n - Quantum platforms/SDKs\n - `quri-parts-braket`: [Amazon Braket SDK](https://github.com/aws/amazon-braket-sdk-python)\n - `quri-parts-cirq`: [Cirq](https://quantumai.google/cirq) (Only circuit and operator conversion is supported yet)\n - `quri-parts-qiskit`: [Qiskit](https://qiskit.org/)\n - `quri-parts-quantinuum`: [Quantinuum](https://www.quantinuum.com/hardware/)\n - `quri-parts-ionq`: [IONQ](https://ionq.com/docs/)\n- Intermediate representation support\n - `quri-parts-openqasm`: [OpenQASM 3.0](https://openqasm.com/)\n- `quri-parts-algo`: Algorithms\n - Ansatz, optimizer, error mitigation etc.\n- Chemistry\n - `quri-parts-chem`: General concepts\n - Fermion-qubit mapping, electron integrals, ansatz etc.\n - `quri-parts-pyscf`: [PySCF](https://pyscf.org/)\n - Library support\n - `quri-parts-openfermion`: [OpenFermion](https://quantumai.google/openfermion)\n\n\n## Installation\n\nQURI Parts requires Python 3.9.8 or later.\n\nUse `pip` to install QURI Parts.\nDefault installation only contains components not depending specific platforms (devices/simulators) or external libraries.\nYou need to specify *extras* with square brackets (`[]`) to use those platforms and external libraries with QURI Parts:\n\n```\n# Default installation, no extras\npip install quri-parts\n\n# Use Qulacs, a quantum circuit simulator\npip install \"quri-parts[qulacs]\"\n\n# Use Amazon Braket SDK\npip install \"quri-parts[braket]\"\n\n# Use Qulacs and OpenFermion, a quantum chemistry library for quantum computers\npip install \"quri-parts[qulacs,openfermion]\"\n```\n\nCurrently available extras are as follows:\n\n- `qulacs`\n- `braket`\n- `qiskit`\n- `cirq`\n- `openfermion`\n- `stim`\n- `openqasm`\n- `itensor`\n\nYou can also install individual components (`quri-parts-*`) directly.\nIn fact, `quri-parts` is a meta package, a convenience method to install those individual components.\n\n### Installation from local source tree\n\nIf you check out the QURI Parts repository and want to install from that local source tree, you can use `requirements-local.txt`.\nIn `requirements-local.txt`, optional components are commented out, so please uncomment them as necessary.\n\n```\npip install -r requirements-local.txt\n```\n\n\n## Documentation and tutorials\n\nDocumentation of QURI Parts is available at <https://quri-parts.qunasys.com>.\n[Tutorials](https://quri-parts.qunasys.com/docs/category/basics) would be a good starting point.\n\n## Release notes\n\nSee [Releases page](https://github.com/QunaSys/quri-parts/releases) on GitHub.\n\n\n## Contribution guidelines\n\nIf you are interested in contributing to QURI Parts, please take a look at our [contribution guidelines](CONTRIBUTING.md).\n\n\n## Authors\n\nQURI Parts developed and maintained by [QunaSys Inc.](https://qunasys.com/en). All contributors can be viewed on [GitHub](https://github.com/QunaSys/quri-parts/graphs/contributors).\n\n\n## License\n\nQURI Parts is licensed under [Apache License 2.0](https://github.com/QunaSys/quri-parts/blob/main/LICENSE).\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Platform-independent quantum computing library",
"version": "0.20.3",
"project_urls": {
"Documentation": "https://quri-parts.qunasys.com",
"Homepage": "https://github.com/QunaSys/quri-parts",
"Repository": "https://github.com/QunaSys/quri-parts"
},
"split_keywords": [
"quantum",
" quantum computing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "76a5f785be687ae1d5f453f06491228a1c269091bb25a11a8c064bec739dda18",
"md5": "6aa8e16cfb1dfcd8b880e386bc5e9b3b",
"sha256": "2329d97b045234f185d8b6682dcbffa70e345ae923642587b6722a685f91d8ab"
},
"downloads": -1,
"filename": "quri_parts-0.20.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6aa8e16cfb1dfcd8b880e386bc5e9b3b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.9.8",
"size": 7632,
"upload_time": "2024-10-28T08:18:28",
"upload_time_iso_8601": "2024-10-28T08:18:28.143256Z",
"url": "https://files.pythonhosted.org/packages/76/a5/f785be687ae1d5f453f06491228a1c269091bb25a11a8c064bec739dda18/quri_parts-0.20.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d43a5a0b38b6569716ce1ba5939a3fe47c55e1c224942b86d7af69259a90f5d7",
"md5": "e80b588b765abf164fbe238430727807",
"sha256": "3d97ac6ee5b37b131c5636b10ef19d70876b8805db7fa9cf6ac1a236fe2fb2b2"
},
"downloads": -1,
"filename": "quri_parts-0.20.3.tar.gz",
"has_sig": false,
"md5_digest": "e80b588b765abf164fbe238430727807",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.9.8",
"size": 7772,
"upload_time": "2024-10-28T08:19:02",
"upload_time_iso_8601": "2024-10-28T08:19:02.168920Z",
"url": "https://files.pythonhosted.org/packages/d4/3a/5a0b38b6569716ce1ba5939a3fe47c55e1c224942b86d7af69259a90f5d7/quri_parts-0.20.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-28 08:19:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "QunaSys",
"github_project": "quri-parts",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "quri-parts"
}