pennylane_calculquebec.utility.debug.to_qasm

Contents

pennylane_calculquebec.utility.debug.to_qasm#

pennylane_calculquebec.utility.debug.to_qasm(tape: QuantumTape) str#

turns a quantum tape into a qasm string

Parameters:

tape (QuantumTape) – a quantum tape you want to turn into qasm2

Returns:

the resulting qasm2 string

Return type:

str