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.11.tar.gz (31.9 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.11-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quantumsymmetry-0.2.11.tar.gz
Algorithm Hash digest
SHA256 9c18a7388b3e79254c3e700fa42635a6a0fa6cd5536be7de6268042b4a336f53
MD5 173cf7d8d52daaf6472411bde46baa98
BLAKE2b-256 2597e85f3ff05a144b552b0a0eb0970c6fd78372120eeeb4f68e48819746311a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quantumsymmetry-0.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 e78ce6dce2fe5496640662d44f74243c784ac0c899cd6188829226f6f9e10187
MD5 2da14ad5ebaa3ada7d67f46ede2896a7
BLAKE2b-256 f1651331d6525a60b51f0ca609c898bf10f0c713553f1553d684778f839cf065

See more details on using hashes here.

Provenance

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