Metraipolis › archive › dc_12fda0c60c99

Granthi: Higher-Order Quantum Programming via Unitary Wiring — arXiv:2608.20443

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.20443
License (as archived)
CC0-1.0
Archived
2026-10-18T10:57:33.608Z
SHA-256 of the archived text
c7fed3ed703d1f558664c86e0bae5be1f8f5c2ef0ecde12bcf8d60b7e5affcdc
Stable URL of this page
https://metraipolis.com/documento/dc_12fda0c60c99

How to cite

Granthi: Higher-Order Quantum Programming via Unitary Wiring — arXiv:2608.20443 — arXiv (en), https://arxiv.org/abs/2608.20443 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_12fda0c60c99 (Metraipolis archive dc_12fda0c60c99, sha256 c7fed3ed703d1f558664c86e0bae5be1f8f5c2ef0ecde12bcf8d60b7e5affcdc)
BibTeX
@misc{dc12fda0c60c99,
  title = {Granthi: Higher-Order Quantum Programming via Unitary Wiring — arXiv:2608.20443},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.20443},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_12fda0c60c99; sha256 c7fed3ed703d1f558664c86e0bae5be1f8f5c2ef0ecde12bcf8d60b7e5affcdc},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.20443. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Many mainstream quantum programming languages confine higher-order structure to a classical host while restricting the quantum layer to first-order operations on qubits. This paper presents Granthi, a purely unitary higher-order quantum programming language built on three design commitments: quantum programs are first-class values that may be passed, returned, and coherently composed; additive structure is tag-preserving routing rather than observational branching, so control may remain in superposition; and programmer-facing finite label types with staged reversible-operation bindings provide domain-level control spaces without exposing tag management. These bindings are eliminated by elaboration before Source typing. Granthi deterministically normalizes each Source program to a canonical wiring form. Every well-typed Source program, including a term of function type, has a unitary boundary interpretation. Under backend correctness (BC), the reference compiler produces a unitary circuit realizing that interpretation. Granthi's currently supported executable fragment is implemented end-to-end: an OCaml DSL elaborates surface programs through a higher-order Core IR to executable quantum circuits via pytket. The language directly supports the pure-unitary quantum switch for explicitly supplied operations; closed instances compile to static circuits. It also supports interference on control-flow history and structured finite control, all within the purely unitary fragment

Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-08-24 in cs.LO).
Categorie arXiv: Quantum Physics (quant-ph) ; Emerging Technologies (cs.ET); Logic in Computer Science (cs.LO); Programming Languages (cs.PL).
Pagina del lavoro: https://arxiv.org/abs/2608.20443 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T10:57:28.214Z dalla pagina https://arxiv.org/catchup/cs.LO/2026-08-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).