Skip to main content

A high-performance library for quantum information science built on top of JAX

Project description

Quax

A high-performance quantum information science library built on top of JAX.

Documentation

Check out the docs.

Features

  • Quantum Objects: States, gates and superoperators objects are defined ot allow natural manipulations and operations.
  • Clear typing: Standard objects such as Unitaries, Chois and Density matrices are all typed, clarifying the nature of various objects.
  • Standard operators composition/application @, tensor products |, scalar multiplication * and powers * are defined on all quantum objects.
  • Automatic promotion Pure states and operators are automatically promoted to mixed states and superoperators when appropriate.
  • Qudit support Operations on d-dimensional qudits are supported.
  • Batch support Operating on batches or ensembles of states is supported for straightforward parallelization.

Installation

pip install rigetti-quax

Quick Example

import jax
import quax as qx

# Create a quantum state
state = qx.zero_state_vector(dims=(2,))

# Apply a unitary operation
U = qx.random_unitary(dims=(2,), key=jax.random.key(0))
final_state = U @ state

# Convert between representations
choi = qx.unitary_to_choi(U)
pauli_liouville = qx.to_pauli_liouville(choi)

License

Copyright 2026 Rigetti & Co, LLC. Licensed under Apache License 2.0.

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

rigetti_quax-0.5.0.tar.gz (59.4 kB view details)

Uploaded Source

Built Distribution

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

rigetti_quax-0.5.0-py3-none-any.whl (74.8 kB view details)

Uploaded Python 3

File details

Details for the file rigetti_quax-0.5.0.tar.gz.

File metadata

  • Download URL: rigetti_quax-0.5.0.tar.gz
  • Upload date:
  • Size: 59.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.12.13 Linux/5.10.245-245.983.amzn2.x86_64

File hashes

Hashes for rigetti_quax-0.5.0.tar.gz
Algorithm Hash digest
SHA256 acd464017470fdaeed6e2a30765cfe85ae099ae99f9cb4ffa7244a79036ed380
MD5 5b90f0409f82a76f29eb26b2a9ed03d8
BLAKE2b-256 32066110cb0e7f296015abe1e76461b89a0b64f603636c5b4a1c3f4523869af4

See more details on using hashes here.

File details

Details for the file rigetti_quax-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: rigetti_quax-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 74.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.12.13 Linux/5.10.245-245.983.amzn2.x86_64

File hashes

Hashes for rigetti_quax-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c9fcbfb50a2d68790c04a187c3d3b8aad6dcf33bf52043b76f4c3b3fe8da1cf
MD5 bee02050fcc128fbe7e0c13003704a21
BLAKE2b-256 f6ec36cab797ef2f629ba60f945b071c5d4a70d7c5577a1eaf2ce9bba1e959f2

See more details on using hashes here.

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