Skip to main content

QuantumSheets

PyPI

QuantumSheets is a Python library that renders Qiskit quantum circuits as classical sheet music. It maps quantum gates to musical notes on a staff, providing an alternative visual representation for quantum algorithms.

Installation

You can install QuantumSheets directly from PyPI:

pip install QuantumSheets

Features

  • Universal Gate Support: Completely supports ALL standard Qiskit gates natively, and flawlessly renders completely custom multi-qubit gates of any size.
  • Musical Notation: Renders single-qubit gates as notes and multi-qubit gates as polyphonic chords with proper stems and clefs.
  • Audio Synthesis: Generates .wav files playing the circuit's sequence. Pitches are mapped to gates, and multi-qubit gates generate beautiful harmonic intervals.
  • MathText Rendering: Supports LaTeX/MathText in custom gate labels (e.g., $7^{1} \\% 15$).
  • Dynamic Layout: Automatically wraps long circuits across multiple systems and gracefully adjusts horizontal spacing for massive labels to prevent overlap.

Example: Shor's Algorithm

An 8-qubit implementation of Shor's Algorithm containing custom, 5-qubit mathematical control operations:

Shor's Algorithm

Quickstart

from qiskit import QuantumCircuit
from QuantumSheets import draw_circuit
from QuantumSheets.audio import generate_audio

qc = QuantumCircuit(3)
qc.h(0)
qc.cx(0, 1)
qc.cx(1, 2)
qc.measure_all()

# Render circuit to image (supports "ink" and "clean" styles)
draw_circuit(qc, filename="circuit.png", style="clean", strip=True)

# Synthesize the circuit's audio to a WAV file
generate_audio(qc, filename="circuit.wav", bpm=120)

CLI Usage

You can generate both images and audio directly from the command line:

python -m QuantumSheets.cli my_circuit.py -o output.png --style clean --audio

License

MIT License

Metadata

Release files for QuantumSheets 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for QuantumSheets 0.1.12
File Size Uploaded Provenance Actions
quantumsheets-0.1.12.tar.gz 477.2 kB With provenance Details for quantumsheets-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for QuantumSheets 0.1.12
File Interpreter ABI Platform Actions
quantumsheets-0.1.12-py3-none-any.whl Python 3 none any Details for quantumsheets-0.1.12-py3-none-any.whl

Total release size: 953.2 kB

Release files / quantumsheets-0.1.12.tar.gz

Download URL quantumsheets-0.1.12.tar.gz
Size 477.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d50b9c9511fc35b15421bcf6bc0ffa42474beed96bca12bdf7b277d0034be0d1
BLAKE2b-256 checksum
How to use checksums
3b64abfbe2e645be3ffb4a610e85b8d6934b9b24890d803658dba036498f677d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / quantumsheets-0.1.12-py3-none-any.whl

Download URL quantumsheets-0.1.12-py3-none-any.whl
Size 476.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76d6a7ca7b1a07014f43ee10bed94f9107db8ff16ae13a786bcf2a8c7c0ea6de
BLAKE2b-256 checksum
How to use checksums
a9e5eb1d4f80807b6f2b7b6672d2f07ee76f705cb8a4a97db8e5eb40c8d8729c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Security for QuantumSheets 0.1.12

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for quantumsheets-0.1.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page