File:The quantum logic gates that generates the 3-qubit GHZ state.png

Summary
% Qcircuit script showing the creation of a three-qubit GHZ state %%%
 * Other information:

\documentclass{amsart} \usepackage[matrix,frame,arrow]{xypic} \usepackage[braket]{qcircuit} \vfuzz2pt

%%% \begin{document} \[ \Qcircuit @C=1.0em @R=.7em { \lstick{\ket{0}} & \gate{H} & \ctrl{1} & \qw     & \qw & & & \raisebox{-11ex}{$\Bigg\} \frac{|000\rangle + |111\rangle}{\sqrt{2}}$} \\ \lstick{\ket{0}} & \qw     & \targ    & \ctrl{1} & \qw & & & \\ \lstick{\ket{0}} & \qw     & \qw      & \targ    & \qw & & & } \] \end{document} %%%