cutqc2 package

Subpackages

Submodules

cutqc2.qiskit_to_cudaq module

class cutqc2.qiskit_to_cudaq.Kernel(kernel_name, qiskit_circuit)[source]

Bases: object

static get_cudaq_ast_module(name, qc)[source]
Return type:

Module

src

cudaq.kernel.kernel_decorator.PyKernelDecorator has somewhat strange behavior. It inspects function to see if its a string to determine whether to deserialize, yet then looks at funcSrc to do the actual deserialization.

Module contents