Adds measurement to all qubits. Creates a new ClassicalRegister with a size equal to the number of qubits being measured.
Returns a new circuit with measurements if inplace=False.
inplace (bool) – All measurements inplace or return new circuit.
Returns circuit with measurements when inplace = False.
- Return type