Lifetime

Qurts: Automatic Quantum Uncomputation by Affine Types with Lifetime

Uncomputation is a feature in quantum programming that allows the programmer to discard a value without losing quantum information, and that allows the compiler to reuse resources. Whereas quantum information has to be treated linearly by the type …