QuantumSheets 🎵⚛️
QuantumSheets is a Python library that bridges the worlds of quantum computing and music. It takes a Qiskit quantum circuit and visually renders it as beautiful, highly-legible sheet music.
Instead of traditional blocky quantum circuit diagrams, QuantumSheets draws your gates as musical notes on a grand staff, with classical measurements, multi-qubit controls, and precise musical spacing. It's perfect for educational materials, presentations, and anyone who wants to see the harmony in their quantum algorithms.
Features
- Native Qiskit Support: Pass in any standard
qiskit.QuantumCircuitobject. - Musical Aesthetics: Notes for single-qubit gates, chords for multi-qubit gates, proper stems, and clefs!
- Multi-System Wrapping: Automatically wraps long circuits across multiple "systems" (lines) like real sheet music.
- Strip Mode: Toggle
strip=Trueto render the entire circuit as one continuous horizontal line. - Smart Barriers: Respects
measure_all()barriers while maintaining visual cleanness.
Quickstart
from qiskit import QuantumCircuit
from QuantumSheets import draw_circuit
# 1. Build your Qiskit circuit
qc = QuantumCircuit(3)
qc.h(0)
qc.cx(0, 1)
qc.cx(1, 2)
qc.measure_all()
# 2. Render as sheet music!
draw_circuit(qc, filename="my_circuit_score.png", strip=True)
Supported Gates
Currently supported gates include:
X,Y,Z,H,S,TRx,Ry,RzCX(CNOT),CZ,CP,SWAPCCX(Toffoli),CSWAPMeasure,Barrier
Customization
You can easily extend the aesthetic of the engine. The layout spacing, fonts, and colors are configured within the render.py and assets directories.
License
MIT License
Metadata
Release files for QuantumSheets 0.1.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 |
|---|---|---|---|---|
| quantumsheets-0.1.1.tar.gz | 475.6 kB | With provenance | Details for quantumsheets-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quantumsheets-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for quantumsheets-0.1.1-py3-none-any.whl |
Total release size: 948.0 kB
Release files / quantumsheets-0.1.1.tar.gz
| Download URL | quantumsheets-0.1.1.tar.gz |
|---|---|
| Size | 475.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8345d173389c527e3130ca1b3ab6170e56dc1ab2fd4f2fbfcd7c5565f7e5669
|
|
BLAKE2b-256 checksum How to use checksums |
6857835dc7eaa265567e2c4f33ecb6617f9c4045bd67a44a2f05ed11a0f223c8
|
| 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 logRelease files / quantumsheets-0.1.1-py3-none-any.whl
| Download URL | quantumsheets-0.1.1-py3-none-any.whl |
|---|---|
| Size | 472.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95170c8334826835aa8c17b1c83d5c88284c301113ce0a10cb97ae774e21faee
|
|
BLAKE2b-256 checksum How to use checksums |
e499685887d06f9fd0662291fc24ed5920a0e16805d3266160e201bb495db6e8
|
| 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 logSecurity for QuantumSheets 0.1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for quantumsheets-0.1.1.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 logA 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.