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
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
Release history Release notifications | RSS feed
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.3.0.tar.gz
(40.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rigetti_quax-0.3.0.tar.gz.
File metadata
- Download URL: rigetti_quax-0.3.0.tar.gz
- Upload date:
- Size: 40.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/5.10.245-245.983.amzn2.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4debe5484ab2b27433f14e5796876d1651a2a3c2e18ff6550e12d8e408e0b844
|
|
| MD5 |
fccfbe8b6415588d85dc24c6665f3570
|
|
| BLAKE2b-256 |
8a739393a5b22d398374401f6422bbde5095ca1f13318119c539d2c8e527eb2f
|
File details
Details for the file rigetti_quax-0.3.0-py3-none-any.whl.
File metadata
- Download URL: rigetti_quax-0.3.0-py3-none-any.whl
- Upload date:
- Size: 53.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/5.10.245-245.983.amzn2.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9ac1dec7df967e9d83c011884ff2f310522f0786857cfaffbe129cb3d40b88e
|
|
| MD5 |
4021fe4566e09a38b70d9e2bb8d61449
|
|
| BLAKE2b-256 |
a35c97a4cd4db4d69a9477b30fc32252e0dd57e24a0b02b55cba6de3c8255c39
|