Questions tagged [qcircuit]
The qcircuit tag has no usage guidance.
32
questions
1
vote
1
answer
214
views
Quantikz: Annotation Text Above Gate
For a given gate symbol in the quantikz package, I would like to be able to place text above or below the gate in addition to the gate label.
Shifting the text up and using \n to force multiple lines ...
1
vote
1
answer
125
views
Using a control gate on a classical wire in Qcircuit
I would like to have a controlled gate operator on a classical wire, similar to Part F of Figure 3 in Schuld 2017. When I try it in Qcircuit, it awkwardly uses a quantum wire on the left side control ...
1
vote
1
answer
232
views
Draw multiple multi-qubit gates in qcircuit
I am trying to draw 4 three-qubit gates in qcircuit but I already got stuck in my second three-qubit gate and I have no idea what I am doing wrong.
Here is my code:
\Qcircuit @C=2em @R=.5em {
& \...
2
votes
1
answer
156
views
How to split QCircuit figure in multiple rows
I am using Qiskit's draw('latex_source') method to get a latex figure of my circuit. This circuit has high depth and thus is very wide.
I want it to be split into multiple rows, like using the fold ...
1
vote
2
answers
488
views
Trying to draw a quantum circuit, a basic one
In the beginning, it can start with 'n' input and the same number of output but could not make output lines. I am actually now quite sure about the details of these codes, that's why could not ...
1
vote
1
answer
85
views
trying to add an image, a drawing and a circuit at the same time but got wrong
Here, I am trying to draw a circuit and draw an image of how the layers would be looking like and also add an image of the element but they look so ugly. They are so close to each other and not at the ...
2
votes
1
answer
153
views
qcircuit: dashed wire through a block gate
Consider the modifying the circuit in the documentation for qcircuit on page 3 where the \mathcal{F} gate spans 6 wires: source code is
\documentclass{article}
\usepackage{amsmath,qcircuit}
\begin{...
0
votes
1
answer
80
views
The problem of using qcircuit package in Sringer Nature journal latex template
I cannot use qcircuit package in Springer Nature journal template, the latex template for Springer journal papers. It makes an error when I use that package in that template. Could anybody please help ...
0
votes
0
answers
27
views
How to Typeset This RC and RL Circuits [duplicate]
Please, I need the latex code that will typeset the following circuits. I will be grateful if help in this regard is rendered.
Please I don't even know how to start. Help me.
1
vote
1
answer
159
views
Drawing brackets on the side of the circuit
I need some help with drawing the brackets around the circuit. The result of the code below is presented in the first image. I want to draw brackets around the circuit and write the letter p on top of ...
1
vote
3
answers
191
views
Using parentheses around a Qcircuit
I'm trying to draw parentheses around a circuit build using the qcircuit package, and it seems that the circuits from this package add some white space that is usually compensated in a way, but ...
4
votes
1
answer
560
views
Attempt to use QCircuit nghost and \vdots
I am working on a project that takes advantage of the QCircuit library. I have to say that I have run into a lot of problems with this library that has poor documentation as to what can be done. ...
1
vote
1
answer
965
views
How to Draw This RCL Circuit with Circuitikz
I am a total newbie using circuitikz.
Please how do I draw the attached RCL Circuit diagram?
I'll be glad to be helped
1
vote
1
answer
246
views
how can I add a switch to this RLC circuit?
i got this RLC circuit:
it is all set, but I need to add a switch to the node colored yellow, like this:
and this is the code I got so far:
\begin{circuitikz}[american]
\draw (0,0) to[battery1 = \SI{...
1
vote
0
answers
127
views
QCircuit: How to not overlap inputgrupv label with brackets
I have a problem trying to label a circuit created with QCircuit but the labels keep overlap the brackets. The idea is that I want to add some space between the label and bracket but I couldn't find ...