microsoft / qsharp-language

Official repository for design of the quantum programming language Q# and its core libraries
MIT License
233 stars 54 forks source link

QIR spec missing __quantum__rt__memory_allocate function #96

Open swernli opened 3 years ago

swernli commented 3 years ago

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