English

Yquant: Typesetting quantum circuits in a human-readable language

Quantum Physics 2021-09-07 v2

Abstract

Yquant is a LaTeX-only package -- i.e., involving no external programs -- that allows to typeset quantum circuits in a simple and human-readable language. It is inspired by the well-known qasm language and in fact even supports this language; however, the yquant language brings much more flexibility. yquant is based on TikZ and, while producing high-quality output out-of-the-box, it is highly configurable.

Cite

@article{arxiv.2007.12931,
  title  = {Yquant: Typesetting quantum circuits in a human-readable language},
  author = {Benjamin Desef},
  journal= {arXiv preprint arXiv:2007.12931},
  year   = {2021}
}

Comments

7 pages, 9 figures; summary of the full manual; source code at https://github.com/projekter/yquant

R2 v1 2026-06-23T17:24:05.176Z