microsoft / qsharp-language

Official repository for design of the quantum programming language Q# and its core libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QIR spec missing __quantum__rt__memory_allocate function

swernli opened this issue · comments

The __quantum__rt__memory_allocate function is used by Q# to QIR generation when converting opaque data structures into LLVM data structures, such as in the generated interop functions. This function is not currently present in the QIR spec, so should be added and described as part of the classical runtime section (probably under Memory Management).

@bettinaheim @alan-geller FYI