% % LaTeX macros for the Sphinx docs.
% Deprecated (see xanadu_theme/layout.html instead), 
% but sphinx complains if the file is not found
% 
%
% \usepackage{bbm}
% 
% \newcommand{\pr}[1]{| #1 \rangle \langle #1|}
% \newcommand{\ket}[1]{| #1 \rangle}            % generic ket, also Fock state
% \newcommand{\bra}[1]{\langle #1 |}            % generic bra, also Fock costate
% \newcommand{\xket}[1]{| #1 \rangle_x}         % position eigenket
% \newcommand{\xbra}[1]{\langle #1 |_x}         % position eigenbra
% \newcommand{\braket}[1]{\langle #1 \rangle}
% \newcommand{\ketbra}[2]{| #1 \rangle\langle #2 |}
% \newcommand{\hc}{\text{h.c.}}   % hermitian conjugate
% \newcommand{\cc}{\text{c.c.}}   % complex conjugate
% \newcommand{\h}{\hat}
% \newcommand{\nn}{\nonumber}
% \newcommand{\di}[1]{\frac{d}{d #1}}  
% \newcommand{\uu}{\mathcal{U}}
% \newcommand{\inn}{\text{in}}
% \newcommand{\out}{\text{out}}
% \newcommand{\vac}{\text{vac}}
% \newcommand{\nbar}{\overline{n}}
% \newcommand{\x}{\hat{x}}
% \newcommand{\p}{\hat{p}}
% \newcommand{\a}{\hat{a}}
% \newcommand{\ad}{\a^\dagger}
% \newcommand{\b}{\hat{b}}
% \newcommand{\I}{\mathbbm{1}}     % vector/Hilbert space identity operator
% \newcommand{\sech}{\mathrm{sech~}}
% 
% \DeclareMathOperator{\re}{Re}    % real part
% \DeclareMathOperator{\im}{Im}    % imaginary part
% \DeclareMathOperator{\sign}{sign}  % sign function
