Compiling a Q# Subset to QASM 3.0 in TypeScript via a JSON Based IR

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autor principal: Edwards, Marcus
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915394675015680
author Edwards, Marcus
author_facet Edwards, Marcus
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_23407
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Compiling a Q# Subset to QASM 3.0 in TypeScript via a JSON Based IR
Edwards, Marcus
Programming Languages
Quantum Physics
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.
title Compiling a Q# Subset to QASM 3.0 in TypeScript via a JSON Based IR
topic Programming Languages
Quantum Physics
url https://arxiv.org/abs/2506.23407