Skip to content

Simple script to export long Qiskit quantum circuits into a multi-line LaTeX QCircuit environment

License

Notifications You must be signed in to change notification settings

grossardt/qiskit-long-circuits-to-latex

Repository files navigation

qiskit-long-circuits-to-latex

Implements a simple Python class to export long Qiskit quantum circuits into a multi-line LaTeX QCircuit environment.

Usage

from qiskit import QuantumCircuit
from qiskit_long_circuits_to_latex import LayeredCircuit

circuit = # some deep Qiskit circuit
latex = LayeredCircuit(circuit).multiline_latex(gates_per_line = 15)

About

Simple script to export long Qiskit quantum circuits into a multi-line LaTeX QCircuit environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published