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.1.tar.gz
(40.7 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.1.tar.gz.
File metadata
- Download URL: rigetti_quax-0.3.1.tar.gz
- Upload date:
- Size: 40.7 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 |
f93afda4aca817a19f6d357cf41c92cb2aa845e3470854c2e0197b17a93885be
|
|
| MD5 |
527e9d63842d8e3f7fb27cddb3087825
|
|
| BLAKE2b-256 |
19f13918c2cf5c93fc99fd7e418f438bdfe43ee2258cadf4533ad34fcc23a307
|
File details
Details for the file rigetti_quax-0.3.1-py3-none-any.whl.
File metadata
- Download URL: rigetti_quax-0.3.1-py3-none-any.whl
- Upload date:
- Size: 53.7 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 |
92db1fab7b5d1c0b92d8589e7bde3c6e510e7009f63d6723ca476a8ce4c2504d
|
|
| MD5 |
70d33edbccf820ef45b1c0d7d632411d
|
|
| BLAKE2b-256 |
3dce423f48f30e67a1f1b8b4721ba3697ab9f15b8c27156bb418c137b9242d5f
|