qat.interop.pyquil.qlm_to_pyquil

qat.interop.pyquil.qlm_to_pyquil(qlm_circuit, program_pragma=None)

Converts a QLM circuit to a pyquil circuit

Warning

Only circuit parametrized with float numbers can be translated to PyQuil. Thus, variational circuits cannot be translated to PyQuil

Parameters

qlm_circuit – QLM circuit to convert

Returns

Pyquil circuit