A Graded Modal Type Theory for Pulse Schedules
Paper in proceeding, 2026

The operations to be performed by a quantum computer are almost invariably given in the form of a quantum circuit. In the final stage of compilation, a quantum circuit must be translated into the input signals accepted by the quantum hardware itself. For a quantum computer based on superconducting qubits, this will be a sequence of microwave control pulses to be sent to the various input channels. A pulse schedule gives a full specification for which pulse should be applied to which channel at what time. There is as yet no language for these pulse schedules that is very amenable to formal semantics.
In this paper, we propose such a language called GRAMPUS (GRAded Modal type theory for PUlse Schedules). It is a graded modal type theory, where the grades represent timing information: a variable x :^{50} Q₁ will represent a state of qubit Q₁ that will exist 50 nanoseconds in the future, and a variable y :^{-75} Q₂ will represent a state of qubit Q₂ that existed 75 nanoseconds in the past.
We give the syntax for two type theories, one with grades (the annotated language) and one without (the plain language). We prove some metatheoretic properties, and describe the semantics in terms of category theory. We show that the input signals to a quantum chip forms a model of the annotated language. We also give a syntactic model, prove that it is initial, and hence prove soundness and completeness theorems.

linear type theory

graded modal type theory

superconducting qubits

Quantum computing

Author

Robin Adams

Chalmers, Computer Science and Engineering (Chalmers), Computing Science

Jean-Philippe Bernardy

Chalmers, Computer Science and Engineering (Chalmers), Computing Science

Lorenzo Perticone

Chalmers, Computer Science and Engineering (Chalmers), Computing Science

Jeremy Matthew Gardiner Pope

Chalmers, Computer Science and Engineering (Chalmers), Computing Science

Leibniz International Proceedings in Informatics, LIPIcs

18688969 (ISSN)

Vol. 384 5:1-5:22 5
978-3-95977-441-3 (ISBN)

31st International Conference on Types for Proofs and Programs (TYPES 2025)
Glasgow, United Kingdom,

Quantumstack: Programmering av kvantdatorn

Swedish Foundation for Strategic Research (SSF) (FU21-0063), 2022-06-01 -- 2027-05-31.

Areas of Advance

Information and Communication Technology

Subject Categories (SSIF 2025)

Computer Sciences

Algebra and Logic

Other Computer and Information Science

DOI

10.4230/LIPIcs.TYPES.2025.5

Related datasets

Graded Modal Type Theory for Pulse Schedules [dataset]

DOI: 10.4230/artifacts.27329 URI: https://codeberg.org/radams78/grampus.git

More information

Latest update

8/20/2026