Skip to main content

fast pauli

Project description

Status Linux Build Status Linting
Usage Documentation Status Installation
Package PyPI - Version
Legal License Contributor Covenant

Introduction

Welcome to fast-pauli from Qognitive, an open-source Python / C++ library for optimized operations on Pauli matrices and Pauli strings, inspired by PauliComposer paper. fast-pauli aims to provide a fast and efficient alternative to existing libraries for working with Pauli matrices and strings, with a focus on performance and usability. For example, fast-pauli provides optimized functions to apply Pauli strings and operators to a batch of states rather than just a single state vector. See our benchmarks for more details about how fast-pauli can speed up certain functions compared to Qiskit.

Our Getting Started guide offers an introduction to some of the core functionality in fast-pauli.

Installation

Pre-built Binaries

pip install fast_pauli

From Source

There are two strategies for building fast_pauli from source. One is a quick and easy method that uses all the default configuration settings. The other is a more configurable method that involves invoking CMake, pip, pytest, and other tools directly.

Requirements

Build from Source (Linux)

# Build
python -m pip install -e ".[dev]"
# Test
pytest -v tests/fast_pauli

Build from Source (MacOS)

# Setup
python -m pip install --upgrade pip
python -m pip install scikit-build-core
brew install llvm
# Build
pip install -e . -C cmake.args="-DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++;-DCMAKE_CXX_FLAGS='-stdlib=libc++ -fexperimental-library'"
# Test
pytest -v tests/fast_pauli # + other pytest flags

Build from Source (Custom Configuration)

# Setup
python -m pip install --upgrade pip
python -m pip install scikit-build-core
# Build
python -m pip install --no-build-isolation -ve ".[dev]" -C cmake.args="-DCMAKE_CXX_COMPILER=<compiler> + <other cmake flags>"
# Test
pytest -v tests/fast_pauli # + other pytest flags

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

fast_pauli-0.0.35rc5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (359.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.35rc5-cp312-cp312-macosx_14_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

fast_pauli-0.0.35rc5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (359.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.35rc5-cp311-cp311-macosx_14_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

fast_pauli-0.0.35rc5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (360.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.35rc5-cp310-cp310-macosx_14_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file fast_pauli-0.0.35rc5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d49b81e56b12f96b1a2bd6cdef4cf48aa3ffbaf9f9a77d799995aa039b49b730
MD5 f4ea77c2e2b8c7f154290f5b30bf4c10
BLAKE2b-256 8d8e1fe63c321c7a0fa6291f11ef76d7d843a6929ff7a626860f9cc1d21684ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on qognitive/fast-pauli

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

File details

Details for the file fast_pauli-0.0.35rc5-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 99ce1e4be3a835b88d4c829942ae3b92a7daf2e5172f3b3d72f95f41c7196dc2
MD5 0045b46daf730ff2d94360ffa4dd6f4f
BLAKE2b-256 7bd34890d12530d690c2842a754e30675e34be7ddc2402dbf73d557478c0b6c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc5-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: release.yml on qognitive/fast-pauli

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

File details

Details for the file fast_pauli-0.0.35rc5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eca2a8015bd27a45eaae46651af520cdc4d47425743c0ee81c57c140d88ec05e
MD5 7afbd9846c64f6e4921c70f7c41c86c8
BLAKE2b-256 8398493f4415e82f8fe25070bd5a9ccd3683bca130cd761c329a4e692159cf6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on qognitive/fast-pauli

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

File details

Details for the file fast_pauli-0.0.35rc5-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ae020bb5b5e886d282e7bee8e27cecf4aefc14540f47b68f7a4c11d64cbadcec
MD5 175dc1ec0df9fc333590dab888522411
BLAKE2b-256 ab13d63e046c0f17b74f5a8a76f97c58ff1a95fed18e9ca9de6363231bfd2121

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc5-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: release.yml on qognitive/fast-pauli

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

File details

Details for the file fast_pauli-0.0.35rc5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15ef61474ed21fae340e50f58818572b03571623198e8a61228b5225c7382460
MD5 03090183b0cb261a5b9e1616edb2a6d9
BLAKE2b-256 48d251c709b1e6a0e38f81dd2679e91f0ea33a1d07ad696d1348752ce9248dfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on qognitive/fast-pauli

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

File details

Details for the file fast_pauli-0.0.35rc5-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc5-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d3c9a52054bbcc30efd1be961fed2a856b8c258b1656801f17ae8fed54e2bebb
MD5 eb43300d882b0cdec5379d673346d96e
BLAKE2b-256 a08e89ce4c09a6b03b1a5652a2cded20043e0cdd8e5e4870751c2f77e0a3fb42

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc5-cp310-cp310-macosx_14_0_arm64.whl:

Publisher: release.yml on qognitive/fast-pauli

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