<reponame>PratikSathe/PratikSathe.github.io
\documentclass[10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{quantikz}


\begin{document}
    \begin{quantikz}\lstick{$\ket{0}$} & \qw & \gate{U} & \qw & \meter{} \arrow[r] & \rstick{0/1} \end{quantikz}
\end{document}