Removes final measurement on all qubits if they are present. Deletes the ClassicalRegister that was used to store the values from these measurements if it is idle.
Returns a new circuit without measurements if inplace=False.
inplace (bool) – All measurements removed inplace or return new circuit.
Returns circuit with measurements removed when inplace = False.
- Return type