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.35rc6-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.35rc6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (345.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

fast_pauli-0.0.35rc6-cp312-cp312-macosx_14_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

fast_pauli-0.0.35rc6-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.35rc6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (346.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

fast_pauli-0.0.35rc6-cp311-cp311-macosx_14_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

fast_pauli-0.0.35rc6-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.35rc6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (346.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

fast_pauli-0.0.35rc6-cp310-cp310-macosx_14_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10macOS 14.0+ x86-64

fast_pauli-0.0.35rc6-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.35rc6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 717bc2857f9af0a9b0c59556875f3d34da265fda7396ad893fee625595e8e35d
MD5 1ffa212b975b27800d46284a6fa2632c
BLAKE2b-256 95400100b724677693655f04b13d886e6f0ba8701e6959dc3f7bcbfa308c1ef6

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-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.35rc6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f9c4ebac836b0831f37e91d9d70d5c4d7e5c7e2477a259b2b0ad394466f73884
MD5 db4b2538e51cac2a4925efa845ada300
BLAKE2b-256 ce50e1153c62ee74b434575a873dbbd175131320c54821f1f51ed7bec2c7ed23

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.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.35rc6-cp312-cp312-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 2f7382a57e881eb136024778df80a7a26bea0290301c36020ebb053f12406efe
MD5 42b3403059db9128c8fdc108e43f826d
BLAKE2b-256 908bfe4188f02c1e8d63b0f94995fd9f34cef1f0431e0826d21c8ebdf02fba0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-cp312-cp312-macosx_14_0_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.35rc6-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e6e72dac09344f311ca492a0e1870a65365297292f37982727b3f86ad4357ee5
MD5 feaabfecef86b0b40debf13e1212613b
BLAKE2b-256 8d3cc948f80ad7111c3affbaef4cb817eaae7c6da79a31483af698f7681ac1a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-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.35rc6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ffd2dede53f8755db7a89bee6d65b86fc418cef7537f8897ed37fc65e0c58269
MD5 d685748670c44afbeb8ed0a20d09406c
BLAKE2b-256 c156cf7dc07ea99d7075226c0ab15a60ab4fd3e19226084e175e0fe1e0236f56

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-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.35rc6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1f4ce255bfe178b404919e8be588fd72ed0d2c210bbc1d8533949bd02684ff86
MD5 0d097a41be34bf15a56c67f58ada512f
BLAKE2b-256 be7e018928974f36c10de472c0230b1a45dc2d61bc6f7843cb66b6fcea9355fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.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.35rc6-cp311-cp311-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 46c8189cd027301ebe565899a38fb8c336062c31be95e7109931e59685f1e4b5
MD5 0d8038415ed4ad7dc7a1a851d4c7c4f8
BLAKE2b-256 0ba808251be955f93bfa13fe696e217307fad6bafcb2049fdca0471e156ded60

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-cp311-cp311-macosx_14_0_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.35rc6-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 054aac7ca0ff72ac1452817ac43a537089e3c4897aa80e5472e67bff3c2b1ae2
MD5 d476e631921cd9a107f346dd0b7cb3de
BLAKE2b-256 957ea275fd8c77f5c2bc0494ffd5dd18ec92d6f10f82d1d71ffdb3452b856b7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-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.35rc6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd1dcccd569b3093715599ad04d9417779fb4f1795faef5bbbadf75657af60d3
MD5 1909297b62bcae30f2f12a9e2241f39a
BLAKE2b-256 9ab6ee9bdcccf9fa2c277e072e89f9fca8e7998bef7c32de851a7e9efe7193a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-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.35rc6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b913eaaca852320d23674d38bbdbc94c85d86b9bad40c6e26fa58e36355e488b
MD5 e451eb7c62dbcbc4cd945fba234e414a
BLAKE2b-256 dfa5ee32653a3e63310a2bf95466f3b70ed314d3f2d520083451f761992344ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.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.35rc6-cp310-cp310-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 91c1a02fe6892bb27210d20257ed8ea110fc12cb26d63e6bffdf3732917fcc24
MD5 50a9c2dbbc9a1c6a380952202dcca687
BLAKE2b-256 a8a1bd0209873bc71e9baf4a5c321c97829610cd19bea0d3b7cc0032b8b4f132

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-cp310-cp310-macosx_14_0_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.35rc6-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fast_pauli-0.0.35rc6-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c466af7b74c8705fce3156c35a2a4813dc01a613eb8f32fcddf1612888799762
MD5 755306a2bece15038028d34a08bb696c
BLAKE2b-256 3bdcb9eb1a051e968c8f483845694bd62c2c90294e1e3f0e4f2444b368b1063e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_pauli-0.0.35rc6-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