yquant
yquant copied to clipboard
Typesetting quantum circuits in a human-readable language
In a few papers I am reading, a black triangle is used to mark the "output" qubits, like shown below. Is there something similar implemented in `yquant`? Otherwise, do you...
A motivation is to support $R_{x}, R_{y}, R_{z}$. It would be nice if the following syntax is possible. ```tex \definebox[required_attrs={value}]{ry}{$R_t \left( \yquant@lang@attr@value \right)$} \definebox[required_attrs={value}]{rz}{$R_t \left( \yquant@lang@attr@value \right)$} \begin{yquant*} ry {$\theta_1$}...
**Describe the bug** After a controlled subcircuit, gates applied on the control qubit are misaligned. **To Reproduce** ``` \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[compat=0.8]{yquant} \title{yquant bug} \begin{document} \begin{figure}[h] \centering \begin{tikzpicture} \begin{yquant} qubit {}...
**Is your feature request related to a problem? Please describe.** It is common to use non-destructive measurements in fault-tolerant quantum computing. Depicting a sequence of these measurements using yquant is...