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 Paulistrings.
Make sure to have Python >= 3.12 installed.
Clone the repository. Once you have poetry installed, run:
poetry installThe following code gives an example of usage:
from paulie.common.pauli_string_factory 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
In order to run the test suite, run:
poetry run python -m pytest