Questions tagged [qasm2circ]

qasm2circ is a package which converts a QASM file into a graphical depiction of the quantum circuit, using standard quantum gate symbols (and other user-defined symbols). This is done using latex (specifically, xypic), to produce high-quality output in epsf, pdf, or png formats.

Filter by
Sorted by
Tagged with
0 votes
1 answer
253 views

Implementing U2-Gates on Cirq

I am interested in using the QASM2Cirq methods to make this gate: u2(0, np.pi, q[0]). How can I build that object using Cirq rather than QASM string value passed onto cirq.
Enrique Segura's user avatar
2 votes
1 answer
445 views

How to draw a multiple qubit controlled NOT gate using qasm2circ?

In Example 6, the case of multiple qubit controlled custom $U$ gate is covered, but I want to reuse the standard NOT symbol i.e. $\bigoplus$. Say I want to draw this circuit, but with a $\bigoplus$ ...
Sanchayan Dutta's user avatar
6 votes
4 answers
2k views

How to re-create the following circuit image?

What would be the best way to re-create the following image of the HHL quantum circuit without compromising on image quality (the image is from this review paper)? Using qasm2circ I can create the ...
Sanchayan Dutta's user avatar