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.4.3.tar.gz
(48.2 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.4.3.tar.gz.
File metadata
- Download URL: rigetti_quax-0.4.3.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.13 Linux/5.10.245-245.983.amzn2.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0176a1d795c822eaed0ae6fb102ccab1044127e21519f7f16c80805462168d7
|
|
| MD5 |
3daac053bf0c9f1f2fa7ee600fc14076
|
|
| BLAKE2b-256 |
5deb233b258f771096173f0dba127330a32a51622847ab263237390166b7a862
|
File details
Details for the file rigetti_quax-0.4.3-py3-none-any.whl.
File metadata
- Download URL: rigetti_quax-0.4.3-py3-none-any.whl
- Upload date:
- Size: 62.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.13 Linux/5.10.245-245.983.amzn2.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46ec7ec31ceca2c997b4441ee82a3320038c01809ae6e5ecf3273bd3f64a42f8
|
|
| MD5 |
0a26e0dd3d233376a1e5731f11e59b07
|
|
| BLAKE2b-256 |
bbbfbe0ff5a88167d9d40daf49266c0290e9283284db7c43381efb8565eb574c
|