\newcommand{\Tr}{\text{Tr}}
\newcommand{\oh}{$\frac{1}{2}$\xspace}
\newcommand{\Hil}{\mathcal{H}}
\newcommand{\Id}{\mathds{1}}
\newcommand{\ord}[1]{\mathcal{O}(#1)}
\newcommand{\reg}[1]{\mathcal{#1}}

\renewcommand{\Re}{\error}
\DeclareMathOperator{\re}{Re}

%\newcommand{\nts}[1]{[\emph{\color{red}{#1}}]}
\newcommand{\nts}[1]{}

\newcommand{\eqnref}[1]{(\ref{#1})}

\newcommand{\zz}{\mathbb{Z}_2}
\newcommand{\zq}{\mathbb{Z}_q}
\newcommand{\uo}{\text{U(1)}}

\newcommand{\BIGOP}[1]{\mathop{\mathchoice%
{\raise-0.22em\hbox{\huge $#1$}}%
{\raise-0.05em\hbox{\Large $#1$}}{\hbox{\large $#1$}}{#1}}}
\newcommand{\bigtimes}{\BIGOP{\times}}

\newcommand{\cpp}{\texttt{C++}\xspace}

\DeclareMathOperator{\imod}{mod}

\newcommand{\bcop}[2]{(a_{[#1]}^\dagger)^{#2}}
\newcommand{\bdop}[2]{(a_{[#1]})^{#2}}
\newcommand{\vac}{|0\rangle\langle 0|}

\newcommand{\sys}[2]{(#1+2) \times #2}
\newcommand{\su}[1]{SU($#1$)}
