Skip to content

Update PyXASM

Created by: tnguyen-ornl

  • Support array (inline in the function call and var assignment), string literals, and array slice notation. Related to https://github.com/ORNL-QCI/qcor/issues/111 and https://github.com/ORNL-QCI/qcor/issues/112

  • Support KernelSignature: type annotation with typing.Callable, passing the function pointer, syntax handler to inject code to unpack the function pointer from HetMap and construct the appropriately-typed KernelSignature.

The ctrl and adjoint of KernelSignature argument won't work yet since we need to distinguish b/w KernelSignature and global scope kernels to use . rather than ::. This PR is getting big so get this in first then will continue to iterate.

Merge request reports

Loading