pennylane_calculquebec.utility.debug.are_tape_same_probs#
- pennylane_calculquebec.utility.debug.are_tape_same_probs(tape1, tape2)#
execute two tapes and check if they yield the same probabilities
- Parameters:
tape1 (QuantumTape) – a quantum tape with counts in it
tape2 (QuantumTape) – a quantum tape with counts in it
- Returns:
do the two tapes have the same probabilities?
- Return type:
bool