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.11

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.11
File Size Uploaded Provenance Actions
quantumsheets-0.1.11.tar.gz 477.2 kB With provenance Details for quantumsheets-0.1.11.tar.gz

Built distribution (wheel)

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

Total release size: 953.2 kB

Release files / quantumsheets-0.1.11.tar.gz

Download URL quantumsheets-0.1.11.tar.gz
Size 477.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6504fd1ba2f203219653b02a90c451e963740da6a4e4adc95afe7aeb1bf97f4b
BLAKE2b-256 checksum
How to use checksums
0ea4f75bc31e5751a297bacf36c4b9caa06dc4f5922e53cac672aa4ca15e4851
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.11-py3-none-any.whl

Download URL quantumsheets-0.1.11-py3-none-any.whl
Size 476.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
001b406796e8bf34da03a75b537cd51eea14daa525beb6698e311d568e079c51
BLAKE2b-256 checksum
How to use checksums
321ce4de28c5353c282193bc78733fa363c0342dba119e3a5b38aee5f255b8f0
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.11

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.11.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