Skip to main content

Quantum computing research package

Project description

QuantumSymmetry

PyPI version

QuantumSymmetry

QuantumSymmetry is an open-source Python package for research in molecular physics using quantum computing. It allows to encode more efficiently information about a molecular system on a quantum computer using symmetry-adapted encodings.

QuantumSymmetry uses PySCF to perform Hartre-Fock calculations, for the calculation of one- and two-electron integrals and the construction of symmetry-adapted molecular orbitals. It automatically retrieves from PySCF the largest Boolean symmetry group for the input molecular geometry, as well as the irreducible representation of its HF ground state.

QuantumSymmetry takes arbitrary user input such as the molecular geometry and the atomic basis set and allows the user to construct the qubit operators that correspond to fermionic operators on the molecular system in the appropriate symmetry-adapted encoding. It is compatible with both OpenFermion and Qiskit.

Installation

You can install QuantumSymmetry by running the following command from terminal:

$ pip install quantumsymmetry

Quickstart

In QuantumSymmetry, information about a symmetry-adapted encoding is in an Encoding object:

from quantumsymmetry import Encoding

encoding = Encoding(
    atom = 'H 0 0 0; H 0.7414 0 0',
    basis = 'sto-3g')

This can be used for example to obtain the symmetry-adapted encoding qubit Hamiltonian:

encoding.hamiltonian

Tutorials

Interactive tutorials with code snippets hosted on Google Colab can be found here.

How to cite

Picozzi, D. and Tennyson, J. (2023). Symmetry-adapted encodings for qubit number reduction by point-group and other Boolean symmetries. Quantum Science and Technology, 8(3). DOI:https://doi.org/10.1088/2058-9565/acd86c

Getting in touch

For any question about QuantumSymmetry or my research, don't hesitate to get in touch.

License

QuantumSymmetry was created by Dario Picozzi. It is licensed under the terms of the GNU General Public License v3.0 license.

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

quantumsymmetry-0.2.17.tar.gz (65.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantumsymmetry-0.2.17-py3-none-any.whl (69.0 kB view details)

Uploaded Python 3

File details

Details for the file quantumsymmetry-0.2.17.tar.gz.

File metadata

  • Download URL: quantumsymmetry-0.2.17.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for quantumsymmetry-0.2.17.tar.gz
Algorithm Hash digest
SHA256 48f1ad89b7e18568b0af75dd64ce3ee392dd96bb5548e82685933d9a57ec417b
MD5 ab691df108960759afc86200a9118d93
BLAKE2b-256 b08fb7597acade480babaa92da6308c0efb6be6498d3af7e809d1dd11ebb1bb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantumsymmetry-0.2.17.tar.gz:

Publisher: release.yml on dariopicozzi/quantumsymmetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quantumsymmetry-0.2.17-py3-none-any.whl.

File metadata

File hashes

Hashes for quantumsymmetry-0.2.17-py3-none-any.whl
Algorithm Hash digest
SHA256 8ef934ac000c2078f76ede6c42a3c93517e26c7f47cfadb35cbb1737c10e683e
MD5 5156b0681c5e59e71273b5c0651bdd9e
BLAKE2b-256 885e6ce23d9c9d9dd57b03d797d84b2576d31bddecfe898163c0d5a03831fae0

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantumsymmetry-0.2.17-py3-none-any.whl:

Publisher: release.yml on dariopicozzi/quantumsymmetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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