qleap.Measurement

class qleap.Measurement(*args: QState)

Measurement is a class that represents a measurement operation in the QLeap framework.

The Measurement operation measures the state of the target qubits and collapses them to a classical state. The measurement results are recorded in the QLeap framework for later retrieval.

__init__(*args: QState)

Creates a Measurement instance that represents a measurement operation on the given QState instances.

Parameters:

*args (QState) – The QState instances to be measured by this measurement operation.

Methods

__init__(*args)

Creates a Measurement instance that represents a measurement operation on the given QState instances.