To create quantum circuits I am using Qiskit for it. Everything works fine but there is one thing which I didn’t find out.
Here is my Python code:
from qiskit import QuantumCircuit
qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.draw(output = "mpl")
This is my output:
I am only interested into the graphical representation of the Hadamard gate (red one). I need it for a description. I don’t need the wires and the qubits. How can I save the Hadamard gate as png/svg file using Qiskit?
Thanks.