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.16.tar.gz (61.5 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.16-py3-none-any.whl (64.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantumsymmetry-0.2.16.tar.gz
  • Upload date:
  • Size: 61.5 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.16.tar.gz
Algorithm Hash digest
SHA256 4e01d8029a1ca180340f6a10e42d9aba0ed8c911e9367b4e49357f04d05b7b09
MD5 d0000e1c3b504584b7800562be2dc975
BLAKE2b-256 d90b2dba86ab2344a20b6ffb0df51626c347076ce815c5dce40d266c40a5dc80

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantumsymmetry-0.2.16.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.16-py3-none-any.whl.

File metadata

File hashes

Hashes for quantumsymmetry-0.2.16-py3-none-any.whl
Algorithm Hash digest
SHA256 45092410082749aedf44ca6de132048341424d9a43d29af127d1e9bc2b4abad0
MD5 f7b2b77e6212bf0c2e30e0ca6a0b708d
BLAKE2b-256 2949f5f0c0434131193f115cd8f28c76e8d30401d7757ad7169b84d1399557c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantumsymmetry-0.2.16-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