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.12.tar.gz (32.2 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.12-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantumsymmetry-0.2.12.tar.gz
  • Upload date:
  • Size: 32.2 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.12.tar.gz
Algorithm Hash digest
SHA256 42b6cb8b957cc8dca926f95b6186ccf8be8507263cad0a9b1bb26e1edd4d1ef5
MD5 0314cd3282e117deb20aa74b2c954b0a
BLAKE2b-256 1485629c517822cb76c0c2d20414bb6e852ccea73a608cba9e09c9bc34fd0484

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quantumsymmetry-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 28c6623686efcf916acd88cb6eee248c9560efb028b260081a18b4ed951b4779
MD5 7f6a8e0de80d2f3c1b41f320056cbd88
BLAKE2b-256 904e448518e0de194ab2567a485075a84d1671d9fab48dc1cc115016842f67e9

See more details on using hashes here.

Provenance

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