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.

braket_to_pytket(circuit)

Returns a pytket circuit equivalent to the input Amazon Braket circuit.

pytket_to_braket(circuit)

Returns an Amazon Braket circuit equivalent to the input pytket circuit.