Question: how to use qcircuit latex?
Answer: To install Q-circuit simply place the file Qcircuit. tex in the tex/latex subdirectory of your TeX tree and execute the command that updates the tree. I recommend putting it in $TEXMFLOCAL/tex/latex/Qcircuit if possible.