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

Installation

PauLie package requires Python 3.12 or newer. To install PauLie, run:

pip install paulie

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}")

Contributing

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

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

uv sync --all-extras --dev

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

Citation

You can cite the package as @software{paulie2026, author = {Shaya, Oxana and Golovkin, Konstantin and Roy, Mainak and Russo, Vincent and {The PauLie Contributors}}, title = {{PauLie}}, year = {2026}, url = {https://github.com/QPauLie/PauLie} }.

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.2.tar.gz (78.8 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.2-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: paulie-0.0.2.tar.gz
  • Upload date:
  • Size: 78.8 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.2.tar.gz
Algorithm Hash digest
SHA256 6af182a624df3754af294dfe64e1073fd7f34a46046fdcf98a47883ef25a50d5
MD5 08d2f5d97d97b1cf17faedc69c80b0b6
BLAKE2b-256 e1ab881bb48a356470585aa8c79d302d0878951591b5913d015c3f661654cfaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for paulie-0.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: paulie-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 69.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff57c9d8242d10ca07b190d6e8abe5c2f6738e2652c6b809910d3e8f80c172b3
MD5 5060151ec1094d66c2ced2222dfcdd12
BLAKE2b-256 136713712a09f8c55c65afdc295115c168257f92a46e89d595eaac78e501b401

See more details on using hashes here.

Provenance

The following attestation bundles were made for paulie-0.0.2-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