Skip to main content

Classification of Pauli Lie algebras

Project description

PauLie

The PauLie package is an open-source library for studying various algebraic properties of quantum circuits. This first release focuses on the classification of the circuit's dynamical Lie algebra given the generators as Pauli strings.

Documentation

Unitary Fund

Make sure to have Python >= 3.12 installed.

Installation

Clone the repository. Once you have uv installed, run the following command to install all dependencies:

uv sync --all-extras --dev

Getting started

The following code gives an example of usage:

    from paulie import get_pauli_string as p
    
    n_qubits = 6
    generators = p(["XYZX", "ZZYZY"], n = n_qubits)
    algebra = generators.get_algebra()
    print(f"number of qubits = {n_qubits}, algebra = {algebra}")

Feel free to contribute and check out our open issues. We are also happy to chat with you via Discord

Testing

In order to run the test suite, run:

uv run python -m pytest

Type Checking

Check for type errors, improve readability, and assist IDEs, run:

uv run mypy src/paulie/common src/paulie/classifier/classification.py

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

paulie-0.0.1.tar.gz (58.7 kB view details)

Uploaded Source

Built Distribution

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

paulie-0.0.1-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file paulie-0.0.1.tar.gz.

File metadata

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

File hashes

Hashes for paulie-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e3c30c5bf2ba38c4ca00d2ab4771991d795b3ade789765cf10119e2ef592fcf8
MD5 a7ba75dd420e0221cdefd30340c3af7e
BLAKE2b-256 0d0b3d4420020a76a1c2d7448b3a9eb19ce58fca6018199a11d8ab5ba0ed096d

See more details on using hashes here.

Provenance

The following attestation bundles were made for paulie-0.0.1.tar.gz:

Publisher: publish.yml on QPauLie/PauLie

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

File details

Details for the file paulie-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: paulie-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 49.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for paulie-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98b3d2d645e832b4b3c5bbd288ae4e5724a41bb009ede5a389aa8e606d712e16
MD5 e9a4855322c04b16e859103111b503f4
BLAKE2b-256 c0ccb58f9cfdc5a4be7f54b28f1276e7e98925e714012dcbbfbcaf6c5b0be31a

See more details on using hashes here.

Provenance

The following attestation bundles were made for paulie-0.0.1-py3-none-any.whl:

Publisher: publish.yml on QPauLie/PauLie

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