MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / conversion

Method conversion

python/cudaq/kernel/ast_bridge.py:691–695  ·  view source on GitHub ↗
(idx, value)

Source from the content-addressed store, hash-verified

689 if len(expectedEleTys) == len(currentEleTys):
690
691 def conversion(idx, value):
692 return self.changeOperandToType(
693 expectedEleTys[idx],
694 value,
695 allowDemotion=allowDemotion)
696
697 return self.__copyStructAndConvertElements(
698 operand,

Callers

nothing calls this directly

Tested by

no test coverage detected