qat.interop.qiskit.qlm_to_qiskit

qat.interop.qiskit.qlm_to_qiskit(qlm_circuit, qubits=None)

Converts a QLM circuit to a Qiskit circuit.

The supported translatable gates are: H, X, Y, Z, SWAP, I, S, S.dag(), T, T.dag(), RX, RY, RZ, H.ctrl(), CNOT, Y.ctrl(), CSIGN, RZ.ctrl(), CCNOT, SWAP.ctrl(), U, RXX, RZZ, R, MS

Parameters
  • qlm_circuit – The input QLM circuit to convert

  • qubits (list<int>, optional) – measured qubits

Returns

A QuantumCircuit Qiskit object resulting from the conversion