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

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.14
File Size Uploaded Provenance Actions
quantumsheets-0.1.14.tar.gz 478.2 kB With provenance Details for quantumsheets-0.1.14.tar.gz

Built distribution (wheel)

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

Total release size: 955.2 kB

Release files / quantumsheets-0.1.14.tar.gz

Download URL quantumsheets-0.1.14.tar.gz
Size 478.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5180599d710c758cb1a15e0a9c93bf63a1ce410236908e9f9f6e6ffc35b9d639
BLAKE2b-256 checksum
How to use checksums
cce6fd83ea18bba49b9c7f3b99f3db153951746019439e2f542a21e674438896
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 2, 2026.

Transparency log

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

Download URL quantumsheets-0.1.14-py3-none-any.whl
Size 477.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f2743a601842bb586071a074cb44ec4a86cd171ac7931fd2f4bc433a4070a4b
BLAKE2b-256 checksum
How to use checksums
0347d4396170bc122ba2436dc7a0e81c71e7001bf988e7daf981a33e19cfa3d7
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 2, 2026.

Transparency log

Security for QuantumSheets 0.1.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.

Full provenance

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

Select from 2 files

Attestation for quantumsheets-0.1.14.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 2, 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