crowe-quantum-viz
Quantum visualization — Bloch sphere rendering, probability bar charts, phase disks, density matrix heatmaps, and ASCII circuit drawing.
Installation
pip install crowe-quantum-viz
Features
- Bloch Sphere: Compute Bloch coordinates via Pauli traces, render 3D sphere data
- Probability Plots: Bar chart data with phase-based coloring
- Phase Disk: Polar plot of amplitude and phase
- Density Heatmap: Real/imaginary component visualization
- State Table: Tabular state decomposition with amplitudes, probabilities, phases
- Circuit Drawing: ASCII circuit diagrams from CircuitIR
Quick Start
from crowe_quantum_viz import bloch_coords, BlochSphere, CircuitDrawer
from crowe_quantum_core import states
# Bloch sphere coordinates for |+⟩
coords = bloch_coords(states.PLUS)
print(f"({coords.x:.2f}, {coords.y:.2f}, {coords.z:.2f})") # (1.0, 0.0, 0.0)
# ASCII circuit diagram
from crowe_quantum_core.circuit_ir import CircuitIR
circuit = CircuitIR(num_qubits=2)
circuit.h(0)
circuit.cnot(0, 1)
drawer = CircuitDrawer(circuit)
print(drawer.to_text())
Part of the Crowe Quantum Platform
Metadata
Release files for crowe-quantum-viz 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crowe_quantum_viz-1.0.1.tar.gz | 10.2 kB | Without provenance | Details for crowe_quantum_viz-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crowe_quantum_viz-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for crowe_quantum_viz-1.0.1-py3-none-any.whl |
Total release size: 18.3 kB
Release files / crowe_quantum_viz-1.0.1.tar.gz
| Download URL | crowe_quantum_viz-1.0.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c35ce6bbf7be03cf94bd7c9a1319aaf69059a16184bc12614da1b1be96ba00e1
|
|
BLAKE2b-256 checksum How to use checksums |
cc7e06a15939c0076d949686d8c6a230c761b0ca75841b4a2ed2faaac011d5c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / crowe_quantum_viz-1.0.1-py3-none-any.whl
| Download URL | crowe_quantum_viz-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abc103d577bdda2d869be8f9617e30ef6554626aea011fe883d813fb85dd0559
|
|
BLAKE2b-256 checksum How to use checksums |
42a38cffb74df681e62d4f2ed230ae1e22a9dbb8fea180c87f8f918aef3d256a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for crowe-quantum-viz 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.