Beginning with the earlier works of work of Brakerski et al. or the more recent results of Kahanamoku-Meyer et al., interactive proofs of quantum advantage entail a classical verifier (Vicky) providing a quantum prover (Peggy) a circuit to evaluate a trapdoor claw-free function $f$ in superposition, e.g. Peggy prepares $\sum|x\rangle|f(x)\rangle$, and evaluates the first and second register in the Hadamard and computational basis, respectively. See, e.g., Mahadev's lecture that expands these ideas into her breakthrough procedure to classically verify a quantum computation.
These interactive procedures have Peggy to evaluate certain trapdoor claw-free functions. I'd like to see if we can modify this approach to use another hash function outsource the verification to cryptocurrency miners.
That is, consider the following modification combining proof-of-work mining with proof-of-quantumness verification. I'll initially start off with SHA256
as the hash function, as that is what is used in the bitcoin network (and I'll relax that requirement below):
Let a first register have $m$ qubits, and a second register have $m-1$ qubits. The quantum computer (Peggy) prepares the registers as $\frac{1}{\sqrt {2^m}}\sum|x\rangle|f(x)\rangle$, where $f(x)$ is the last $m-1$ bits of
SHA256
of $x$.Peggy measures the second register $y=f(x)$ in the computational basis and commits and broadcasts $y$. This measurement of the second register collapses the first register onto the preimages of $f$ that collide at $y$. If $f$ is two-to-one, then the two preimages $x_1,x_2$ both hash onto $y$. Importantly, although Peggy does not find the colliding pair $(x_1,x_2)$, she maintains the pair in superposition.
Peggy measures this first register $d$ in the Hadamard basis and broadcasts and commits $d$. We should have that $d\cdot (x_1\oplus x_2)=0$ from the Hadamard measurement of the first register. That is, although Peggy does not announce both preimages (because she can't yet), she announces a single bit that she learned about these preimages.
Bitcoin miners (Vicky) set their rigs to work, cycling through various $x's$ to find the two preimages $(x_1,x_2)$ such that $f(x_1)=f(x_2)=y$. The test that $d\cdot (x_1\oplus x_2)=0$ is also checked by other clients on the network, once both $(x_1,x_2)$ are broadcast by Vicky.
Indeed, Peggy can incentivize miners to find her preimages by offering a smart-contract awarding a certain amount of cryptocurrency to the first miners that broadcast the preimages.
If the miners Vicky are always (or often) able to find pairs of preimages that hash onto the announced $y$ and that also satisfy the orthogonality test with respect to $d$, then this shows that Peggy had possession of preimages in superposition - i.e., she was a quantum computer capable of evaluating $f(x)$, the last $m-1$ bits of SHA256
, in superposition.
The hash function $f(x)$ need not be SHA256
, and the miners need not be bitcoin miners; rather, any cryptographically secure hash function that is easily implementable on a quantum circuit may be viable. But, there needs to be enough cryptocurrency miners that would be incentivized properly to run all the hashes to find $x_1$ and $x_2$.
Is such a proof-of-work based proof-of-quantumness realistic in the NISQ era?
Ideally it would be two-to-one or close to it; I think the the number of collisions on a random oracle, instantiated as a SHA256
hash, obeys Poisson statistics. But, as long as the hash is two-to-one often enough, I think enough statistics can be generated to reject the null hypothesis that Peggy was randomly guessing her $d$.