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.35-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.35-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.35-cp312-cp312-macosx_14_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.35-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.35-cp311-cp311-macosx_14_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

fast_pauli-0.0.35-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (346.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c03ce4b9f9aa3db19262fc75a7b7b16ea44c83f62eab10bb84509de0f0be28f1
MD5 820548e5d60344c340916ccc7ac4a55c
BLAKE2b-256 e6f26128d988c903edac05264363562ae06866b7f99338895fe17f4b86a61f55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3e7b1abbb9f3aedc9aaf413f67a1a861d08e15979110276d7b398b1a8c873d01
MD5 6c8506b3cdfe16646c8131c29aa9de46
BLAKE2b-256 85ffbfbee6a28024965862fc704000de57762caf030056cde4e8d0aab75bcf7a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 02397a05e74494e81ee4289fc35bb001ca2cc0f1e6fafca503fb323893aec777
MD5 a24084c29b8d37456b973894bcd65f52
BLAKE2b-256 f40098764624884122266a2fa9785b9750a92fd39cc5d4150134cbb5829aa140

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a320ab99db01c1a09b4b2b1f2105b107702fc5c4dfc65392f4b2262c7763bbf2
MD5 8375521e37508c328eea6a8aead561f7
BLAKE2b-256 440672b49bd32f3047a1140ff13d658551bc97e3a308e863d9014f2a4dc39aa5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8e4977bc060b557deea9d9ab0253e0b4bd061628fed25012298c00d640cd0744
MD5 0e4cffb90f78c8f045f1239183f150c5
BLAKE2b-256 7319788c6d5bca56e1341849bc6d5cbfd3b131469302ed0d29cf25940a595fb5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 35749d8cc0cccaf8183634d708d0272f8464a789c6555257e54748e8def88cc6
MD5 0d2d96ad16b7fb79ba86779b968feaad
BLAKE2b-256 782ab0358fe0ce30b3718239ce0408bb155a4ba9a564a7be2904889c84369dbc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bdbec37962f2357ddf874e7c8878868531c88c4dbfdbb90568218478f86a7518
MD5 b715a8b84b0ab4981ca88c27c4e49e55
BLAKE2b-256 864a905575ac2ac07d94611a82dc20737cb35f139ad69b725f0408ec63c81371

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ee7b9965877a67298ae7d27a75dd6a3a9b273efbfb89695dc2d9df21b30daa87
MD5 808a84719f64489521f6706cb010f087
BLAKE2b-256 50f19d1ab32ec9ebf4289cbc9deac32324d87e71b71f8bd0d12463af21e2858b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fast_pauli-0.0.35-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 45d93e8475459c9799e203e746be5c41005230da2fd6d81dbf8b7977247976d8
MD5 f893e623f9ebd24c4626431db1f4fe15
BLAKE2b-256 2cd222cfd13130e094d16d186ec7a827cffb89c490d5348285109c807af5eb59

See more details on using hashes here.

Provenance

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