I have been working on Qiskit. Is it possible to display just the angle of each gate in a circuit as an output?
For example, if the below code is my circuit is it possible to just print the angle of the gate. We have function
QuantumCircuit.count_ops() to display the gate counts similarly is there a way to do so?
q2 = QuantumRegister(2) circuit = QuantumCircuit(q2) circuit.cu1(math.pi/2, q2, q2) print(circuit)