Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qcircuit]

The tag has no usage guidance.

1
vote
1answer
38 views

Color qubit lines using QCircuit

I'd like to color some qubit lines in quantum circuit diagrams drawn using QCircuit as exemplified in the following image: Can this be done with Qcircuit? As a follow-up, is it possible to do some ...
0
votes
0answers
60 views

How to not list a quantum circuit (made with qcircuit) in the list of tables of the document? [on hold]

I'm using qcircuit to draw quantum circuits. They're built using LaTeX's table environment, but my circuits are not tables. How can I make sure they're not listed in the list of tables built by \...
0
votes
0answers
20 views

Illegal parameter number in definition of \lastprentry@@, qcircuit package

My following code doesn't work and I really don't get why : %% Based on a TeXnicCenter-Template by Tino Weinkauf. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%...
0
votes
1answer
23 views

Recursive QCircuit Diagrams - “Missing number treated as zero”

I want to draw a huge QCircuit diagram recursively. So I want a recursive macro like this: \documentclass{article} \usepackage{qcircuit} \newcommand\recurse[1]{ \ifnum1=#1 \gate{Y} \else \...
0
votes
1answer
62 views

How to hide a part of my Qcircuit?

With the help of qcircuit.tex (official main page) I created the representation of a quantum circuit. I now want to hide some parts of the circuit, just like \phantom{} would do (but it seems like I ...
2
votes
1answer
269 views

Curly brackets in Qcircuit

I've written the following code for a quantum circuit using the qcircuit package and everything looks how I want it to look except that the curly brackets enclosing the bottom 2 lines are too far away....
0
votes
1answer
205 views

Labelling qcircuit

I am trying to add an EPR pair to a quantum circuit as an entry, and I need to select both of the entries using a bracket ({) that takes both of the entries. I am interested in that the output is ...
0
votes
1answer
202 views

Making quantum gates bigger in size using Qucircuit

I am drawing some quantum circuits by using Qcircuit latex package, and the size of the gates is small for the document as my purpose right now is just to show the Pauli gates in a figure. I would ...
0
votes
1answer
611 views

How to write qcircuit code for the following figure

I have been trying to write code for the following figure using the qcircuit environment. But did not succeed. Kindly help me in writing its code.