qrisp.QuantumCircuit.measure#

QuantumCircuit.measure(qubits, clbits=None)[source]#

Instructs a measurement. If given no classical bits, the proper amount will be created.

Parameters:
qubitsQubit

The Qubit to be measured.

clbitsClBit, optional

The Clbit to store the measurement result. The default is None.