~/talk

Imperative Quantum Programming with Ownership and Borrowing in Guppy

Talkat PLanQC 2025 · on Saturday, 2025-01-25· [compilers-and-language-design]
name:Mark Koch
links:none on file
links:none on file
name:Craig Roy
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Guppy implements an imperative quantum type system that enforces ownership and borrowing so you cannot measure or deallocate a qubit you don’t own, borrows cannot be measured, moved ownership forbids further use, and owned qubits must be explicitly consumed or returned. The team ships a Python-embedded compiler that infers lifetimes automatically, handles mid-circuit measurements and dynamic allocation, functionalizes into value semantics for optimization, and the implementation is production-ready and open source on GitHub.

AI-written summary · about

  1. 0:00Quantum programming semantics
  2. 1:25Value vs reference semantics
  3. 2:50Dynamic quantum features
  4. 4:15Guppy design goals
  5. 6:44Type system needs
  6. 7:29Cubit lifetime tracking
  7. 9:13Ownership for cubits
  8. 12:45Borrowing rules
  9. 14:29Structs in Guppy
  10. 15:33Ownership and leaks
  11. 17:18Imperative to functional
  12. 19:25Summary
  13. 19:46Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.