Postprocessing with pdf2svg, Inkscape and Scour: x=Qcircuit_CNOTi; pdflatex $x.tex; pdf2svg $x.pdf $x_.svg; inkscape --verb=EditSelectAll --verb=SelectionUnGroup...