Nonlocal quantum clock (source code)

= Nonlocal quantum clock
{title2=$|0\rangle,\ldots,|T\rangle$}

A <nonlocal quantum clock> records <quantum circuit> time in an abstract $T+1$ dimensional register. A binary encoding uses logarithmically many qubits, but transitions $|t\rangle\langle t-1|$ need not have bounded qubit locality. Extra diagonal penalties may exclude unused binary labels. A <unary quantum clock> provides a different encoding for fixed-locality constructions.