geqo.visualization.latex

6.8.7. geqo.visualization.latex#

Functions

phase_name(gate, string, greek_string, ...)

Return the correct LaTeX string format of the name of a phase-related gate, used in the quantikz command like \gate{gate_name}.

plot_latex(seq[, backend, decompose_subseq, ...])

Plot a LaTeX-style (quantikz) quantum circuit diagram from a geqo Sequence.

render_latex_to_image(latex_code[, filename])

Render LaTeX code (quantikz) to a PDF, then convert it to a PNG image for visualization.

tolatex(seq[, backend, decompose_subseq, ...])

Convert a Sequence object into LaTeX quantikz code for visualizing quantum circuits.