microsoft / qsharp-language

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

QIR: There is no way to inspect/view/pring %String type #32

Closed IrinaYatsenko closed 3 years ago

IrinaYatsenko commented 3 years ago

The RT specifies quite a few ways to create an instance of %String type but the only method that might conceivably expose the content of the string to the user is quantumrt__fail(%String). Shouldn't there be a standard way for the user to inspect/print a %String?