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.2.tar.gz
(47.3 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.2.tar.gz.
File metadata
- Download URL: rigetti_quax-0.4.2.tar.gz
- Upload date:
- Size: 47.3 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 |
dde396af21fb5e0b81578db98ef20302533d8368cf64e3a8b8ec242a698e70de
|
|
| MD5 |
fd0a2a658f6292b9e202810df3aa1dd1
|
|
| BLAKE2b-256 |
1152bbbc4c6c0ea4c78a7954b06ba926c3ae50a9e2da568197a546ec69ff6c95
|
File details
Details for the file rigetti_quax-0.4.2-py3-none-any.whl.
File metadata
- Download URL: rigetti_quax-0.4.2-py3-none-any.whl
- Upload date:
- Size: 61.3 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 |
cf64fcbafff409cfc61b58cce6c295260199304cf1184f67d46122887d9aaf41
|
|
| MD5 |
dfd622b46e4e393ce3eb4c7097973a59
|
|
| BLAKE2b-256 |
b1f839a70c1891b9e4140fdf147bfb8360d415a5d75cc33ebb1fc452d8fe2d54
|