pennylane_calculquebec.utility.debug.get_measurement_wires

pennylane_calculquebec.utility.debug.get_measurement_wires#

pennylane_calculquebec.utility.debug.get_measurement_wires(tape: QuantumTape)#

returns the wires that are used for measurement

Parameters:

tape (QuantumTape) – the tape from which to find the measurement wires

Returns:

the measurement wires

Return type:

list[int]