diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py index 406d239a1d5d..ad93541a791c 100644 --- a/qiskit/circuit/quantumcircuit.py +++ b/qiskit/circuit/quantumcircuit.py @@ -228,7 +228,9 @@ class QuantumCircuit: .. code-block:: text - [CircuitInstruction(operation=Instruction(name='measure', num_qubits=1, num_clbits=1, params=[]), qubits=(Qubit(QuantumRegister(2, 'q'), 0),), clbits=(Clbit(ClassicalRegister(2, 'c'), 1),))] + [CircuitInstruction(operation=Instruction(name='measure', num_qubits=1, + num_clbits=1, params=[]), qubits=(Qubit(QuantumRegister(2, 'q'), 0),), + clbits=(Clbit(ClassicalRegister(2, 'c'), 1),))] Alongside the :attr:`data`, the :attr:`global_phase` of a circuit can have some impact on its output, if the circuit is used to describe a :class:`.Gate` that may be controlled. This is