qbraid.transpiler.conversions.pennylane.pennylane_to_qasm2

pennylane_to_qasm2(tape)[source]

Converts a PennyLane tape to OpenQASM 2.0

Parameters:

tape (QuantumTape) – input PennyLane tape

Returns:

OpenQASM 2.0 representation of the tape

Return type:

str