arXiv · 2506.23407
Compiling a Q# Subset to QASM 3.0 in TypeScript via a JSON Based IR
Abstract
We implement a compile toolchain from Q# to QASM 3.0 including a full-featured lexer and parser implementation, as well as a compiler that supports a subset of Q# features. The lexer, parser and compiler are shown to work with various input Q# programs and the implementation is compared against existing Q# compile tools. Unlike the Microsoft implementation of the official Q# compile toolchain, our implementation is written in TypeScript in order to port functionality to web environments.
Explore related subjects
Keep this discovery
Marcus Edwards. 2025-06-29. Compiling a Q# Subset to QASM 3.0 in TypeScript via a JSON Based IR. https://arxiv.org/abs/2506.23407
Cite the original work for its findings. Save a collection to share your selection of sources.