qbraid.transpiler.conversions.pytket

PyTKET conversions

Functions

pytket_to_qasm2(circuit)

Returns an OpenQASM 2 string equivalent to the input pytket circuit.

qasm2_to_pytket(qasm)

Returns a pytket circuit equivalent to the input OpenQASM 2 string.