\documentclass[11pt]{article}
\include{lecture}
\begin{document}
\lecture{0}{9/2/2010}{Template}{Your name}
\draft % put this here only if you want to indicate this is a draft
\section{Environments}
\begin{theorem}
This is an example of the theorem environment.
Other theorem-like environments are: claim and exercise.
\end{theorem}
\begin{example}
Here, we use the Q-Circuit package to draw a quantum circuit:
\[
\Qcircuit @C=.7em @R=.4em @! {
\lstick{\ket{\psi}} & \qw & \qw & \ctrl{1} & \gate{H} & \meter & \control \cw\\
\lstick{\ket{0}} & \qw & \targ & \targ & \qw & \meter & \cwx\\
\lstick{\ket{0}} & \gate{H} & \ctrl{-1} & \qw & \qw & \gate{X} \cwx & \gate{Z} \cwx & \rstick{\ket{\psi}} \qw
}
\]
\end{example}


\end{document}
