English

Q-circuit Tutorial

Quantum Physics 2007-05-23 v2

Abstract

Q-circuit is a list of macros that greatly simplifies the construction of quantum circuit diagrams (QCDs) in LaTeX with the help of the Xy-pic package. This tutorial should help the reader acquire the skill to render arbitrary QCDs in a matter of minutes. Q-circuit is available for free at http://info.phys.unm.edu/Qcircuit/.

Cite

@article{arxiv.quant-ph/0406003,
  title  = {Q-circuit Tutorial},
  author = {Bryan Eastin and Steven T. Flammia},
  journal= {arXiv preprint arXiv:quant-ph/0406003},
  year   = {2007}
}

Comments

Only 6 pages, but with dozens of beautiful circuit diagrams! v2 New measurement gates added (Nielsen & Chuang "meter" style and "D" shape, a la Cleve). Support for centering and inserting in figures and circuit equations added