Manuscript Offprint
arXiv:2609.40289Verifiable Quantum Advantage and Computation via Quantum Circuit Obfuscation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We construct protocols for classically verifiable quantum advantage and classical verification of BQP computations using quantum indistinguishability obfuscation (qiO). Specifically, given qiO and assuming a slightly stronger version of BQP BPP, we construct a two-message quantum-advantage protocol that is efficiently and publicly verifiable. Our result can be viewed as a rigorous cryptographic foundation for the heuristic quantum advantage proposals based on peaked random circuit sampling of Aaronson and Zhang (arXiv:2404.14493).
We also construct two simple protocols for classically verifying arbitrary BQP computations. The first protocol is privately verifiable and assumes only the existence of qiO. This gives a rare example of a nontrivial cryptographic application of (quantum) iO that does not make additional computational hardness assumptions. The second protocol additionally assumes post-quantum one-way functions and is publicly verifiable. To our knowledge, this is the first publicly verifiable protocol for classical verification of BQP computations under computational assumptions in the standard model.
We show that all our results hold when qiO is assumed only for ancilla-free unitary circuits. As evidence supporting this assumption, we prove a worst-to-average-case reduction for obfuscating such circuits. This reduction extends the local-mixing framework of Canetti–Chamon–Mucciolo–Ruckenstein (TCC 2024) under quantum analogues of their assumptions.
Contents
1 Introduction 3
2 Overview of main results 4
2.1 Proofs of quantumness and verification from quantum iO 4
2.2 Towards constructing quantum iO 10
2.3 Related work 13
3 Preliminaries 15
3.1 Quantum Circuits 15
3.2 Quantum Indistinguishability Obfuscation 16
3.3 Proofs of Quantumness 17
3.4 Classical Verification of BQP Computation 18
4 Quantum advantage from Quantum iO and BQP-hardness 19
4.1 Privately verifiable Proof of Quantumness 20
4.2 Publicly verifiable proofs of quantumness 22
5 Classical Verification of BQP computation 25
5.1 Private verification assuming qiO 25
5.2 Public verification assuming qiO and quantum-secure OWFs 27
6 Constructions of Quantum Indistinguishability Obfuscation 29
6.1 Definitions and Assumptions 29
6.2 Obfuscation for Ancilla-Free Circuits 33
6.3 Obfuscation for Tidy Circuits 36
7 Acknowledgements and AI disclosure 41
Unfortunately, existing approaches do not satisfy both requirements simultaneously. Cryptographic proofs of quantumness, such as , allow for efficient classical verification, but are not implementable on present-day noisy devices. Likewise, despite recent advances in optimizing Shor's algorithm , which make it increasingly plausible for early fault-tolerant quantum computers, it remains out of reach for near-term noisy hardware.
Random circuit sampling , on the other hand, is implementable on near-term devices and enjoys substantial complexity-theoretic evidence for classical hardness . However, verifying that the device is sampling from the correct distribution requires classical computation that scales exponentially with the number of qubits .
As an attempt to resolve this tension, Aaronson and Zhang proposed peaked circuit sampling [AZ24]. A peaked circuit is an otherwise complicated quantum circuit whose output distribution places noticeable probability on a hidden computational-basis string. This secret string, called the peak, acts as a built-in verification trapdoor. An auditor generates a circuit together with knowledge of its peak and sends the circuit to a purported quantum device. The device repeatedly executes the circuit and measures in the computational basis. If the claimed peak appears with the prescribed frequency, the auditor can check the answer essentially for free. However, this proposal raises two immediate questions. First, how can the auditor efficiently generate a sufficiently complicated peaked circuit while retaining knowledge of its peak? Second, given such an efficient generation procedure, how would we justify that this test is not classically spoofable?
A natural way to hide this structure is through program obfuscation. Indeed, a number of works have attempted to engineer large peaked circuits starting from circuits whose peak was easy to engineer and then applying heuristic circuit transformations intended to conceal this structure [SB09, GMS 25, YC20, BCJ25, Yan26]. Subsequent work was however able to classically recover the peak efficiently [KD26, KM23, GH25]. This pattern of candidate constructions followed by subsequent attacks is familiar from cryptography. Cryptographers have developed a modular approach to addressing this problem: rather than analyzing the security of each candidate construction from scratch, one seeks to reduce its security to a precisely stated computational assumption, or to another primitive that has been independently studied. In the context of classical program obfuscation, a notion called “indistinguishability obfuscation” (iO) has proved particularly powerful in this regard. Beginning with the candidate constructions of Garg et al. [GGH 13], iO has been shown to imply a remarkable range of cryptographic primitives and has emerged as a “central hub” for cryptographic constructions [SW14]. This philosophy is the motivating principle of this work. We therefore ask
Can we base the security of peaked-circuit quantum advantage on a cryptographic obfuscation assumption, such as quantum indistinguishability obfuscation?
We answer this question affirmatively. Assuming quantum indistinguishability obfuscation (qiO), and additionally (a slightly stronger variant of) BQP BPP, we give a proof of quantumness inspired by peaked circuit sampling, that is secure against classical spoofing. The same ideas can also be used to build a simple protocol for classical verification of quantum computation (CVQC), assuming just qiO. Classical verification has historically required sophisticated cryptographic machinery, beginning with Mahadev's breakthrough protocol based on Learning with Errors [Mah18a]. Moreover, making verification public and blind is subtle in the quantum setting and has been challenging to obtain in the standard model [BKNY23a]. Using the same ideas underlying our peaked-circuit construction, we obtain a simple CVQC protocol assuming qiO and show how to compile it, using one-way functions, into a publicly verifiable one.
These results shift a substantial burden onto construing qiO. General-purpose quantum indistinguishability obfuscation is an extremely strong primitive, and constructing it from standard assumptions remains open [BK21, BKNY23a]. We therefore conclude by proposing a plausible concrete realization, adapting the recent local-mixing framework of Canetti et al. [CCMR24] to quantum circuits. They considered a method for obfuscating classical circuits by repeatedly applying local, functionality-preserving transformations to a circuit, with security decomposed into a relatively weak obfuscation property for random circuits and a pseudorandomness assumption. We formulate a quantum analogue of this framework and identify corresponding properties which, if instantiated, would yield quantum indistinguishability obfuscation. We do not provide such an instantiation. Rather, our goal is to separate the cryptographic applications of qiO developed in this work from the concrete problem of constructing it, and to provide a framework in which candidate constructions can be studied and attacked.
2 Overview of main results
Our results fall into two categories. First, we use quantum iO to construct proofs of quantumness and protocols for classical verification of BQP computations. Second, we develop an approach to constructing qiO inspired by the local-mixing framework of [CCMR25].
2.1 Proofs of quantumness and verification from quantum iO
Quantum obfuscation admits several models, depending on whether the input, output, and evaluation procedure are classical or quantum [AF16]. We consider the variant in which the obfuscation algorithm is classical and polynomial time. It takes a classical description of a quantum circuit as input and outputs a circuit description of the obfuscated circuit. Informally, qiO preserves the functionality of the input circuit while guaranteeing that obfuscations of same-shape circuits with negligibly close induced channels are computationally indistinguishable. By same-shape circuits we mean circuits with the same gate count and the same numbers of input, ancilla, and output qubits. More precisely, we consider the following notion of qiO.
Definition 2.1 (Quantum indistinguishability obfuscation, informal). A qiO scheme is an efficient classical transformation with the following properties:
- Correctness: with probability , the obfuscated circuit is close to the input circuit; that is, .
• Security: for two quantum circuits and satisfying , their obfuscations are computationally indistinguishable to the relevant polynomial-time adversaries; that is,
Depending on the application, the adversaries are classical or quantum and may be nonuniform when explicitly stated.

Figure 1: Technical structure of the constructions. Solid arrows indicate implications.
Here denotes the diamond distance between the quantum channels implemented by the circuits.
We distinguish global correctness, which preserves the channel on all inputs, from the weaker single-state correctness, which suffices when the obfuscated circuit is evaluated only on the all-zero state. The formal circuit classes and qiO notions are introduced in Section 3.2.
Publicly verifiable quantum advantage. We first construct a two-message proof of quantumness. The verifier sends a classically generated challenge, the quantum prover returns a classical response, and the verifier decides whether or not to accept. Completeness requires an honest quantum prover to be accepted with overwhelming probability, while classical soundness requires every classical probabilistic polynomial-time prover to be accepted with only negligible probability.
Definition 2.2 (Two-message proof of quantumness, informal). A two-message proof of quantumness consists of a classical challenge, a classical response produced by a quantum prover, and a classical decision:
where Prove runs in quantum polynomial time. The protocol satisfies:
• Completeness: the honest quantum prover is accepted with probability ; that is,
• Classical soundness: every classical polynomial-time prover A is accepted only with negligible probability:
A proof of quantumness is publicly verifiable if acceptance is a deterministic function of , with no private state st.
To achieve such a protocol we require, in addition to qiO, an assumption separating efficient quantum and classical computation. Ideally, this assumption should be as close as possible to BQP BPP. The specific assumption we use is
which is slightly stronger. Here i.o.BPP denotes “infinitely-often” BPP: a decision problem belongs to this class if there is a single classical probabilistic polynomial-time algorithm that, for infinitely many input lengths , decides every input of length correctly with probability at least 2/3 (Definition 4.2). In contrast, BPP requires this guarantee at every input length, so BPP i.o.BPP. Our assumption therefore asserts that some BQP decision problem cannot be decided by any such classical algorithm even on infinitely many input lengths. This strengthening is needed for a somewhat technical reason: a non-negligible distinguishing advantage may occur only on an infinite subset of security parameters, so the resulting classical decision algorithm may be guaranteed to work only at the corresponding input lengths.
With these assumptions, we can show the following.
Theorem 2.3 (Informal version of Theorems 4.3 and 4.7). Assume BQP i.o.BPP and qiO secure against classical polynomial-time adversaries exists for all polynomial-size quantum circuits. Then there is a publicly verifiable two-message proof of quantumness.
We first describe the privately verifiable protocol. The verifier chooses a uniformly random string and, for each bit , obfuscates a circuit that leaves an input qubit unchanged if (the identity circuit) and flips it if (a Pauli X circuit). These circuits are padded with identities to a common polynomial size. The verifier sends the obfuscated circuit descriptions to the prover and retains as its secret state, in the notation of the definition above. Throughout these protocol outlines, denotes the total number of qubits used by the circuit being evaluated, including its single logical input qubit and all ancilla or workspace qubits; this number may depend on the circuit and the security parameter. The honest quantum prover initializes all qubits to , runs the circuit, and measures its designated output qubit. Repeating this for each circuit gives the response string . By correctness of , with overwhelming probability. The verifier accepts exactly when , that is, when .
The key to classical soundness is that obfuscations of the identity and bit-flip circuits are indistinguishable to efficient classical algorithms. This does not follow from qiO alone, since the two circuits have different functionalities. To use the complexity assumption, fix a decision problem . Given an input x, we can classically construct a quantum circuit that computes , flips a target qubit if the answer is 1, and reverses the computation to erase its workspace. Up to negligible error, this circuit has the same action as the identity or bit-flip circuit, according to . The qiO guarantee therefore makes its obfuscation indistinguishable from the corresponding challenge distribution. A classical algorithm that distinguishes the two challenge distributions with non-negligible advantage could, by repeating its test on fresh obfuscations, decide L on every input at infinitely many lengths, contradicting our assumption. This hiding property means that replacing the challenge circuits one at a time by obfuscations of the identity changes a classical prover's success probability only negligibly. The resulting challenge is independent of b, so the probability of returning the entire string is at most . Choosing t sufficiently large gives negligible classical soundness.
Note that assuming BQP BPP does not, by itself, yield efficiently verifiable quantum advantage. It merely implies the existence of a problem that is efficiently solvable by a quantum computer which is also hard for all efficient classical computers. However, that problem need not be efficiently verifiable.
To make verification public, suppose we have a one-way function secure against classical algorithms: is efficiently computable, but finding any preimage of for a uniformly random input is classically hard. We explain below why such a function already follows from our assumptions. Along with the obfuscated circuits, the verifier publishes , and the challenge is now . The response remains and anyone can check it by testing whether , so no private state st is needed for verification. The honest quantum prover recovers as before. For classical soundness, the same hiding argument lets us replace the challenge circuits by obfuscations of the identity, even with present, without noticeably changing the acceptance probability. After these replacements, the circuits can be generated independently of , so producing an accepting response would amount to inverting on .
Finally, the required classically secure one-way functions follow from the same pair of obfuscation distributions. Both consist of classical circuit descriptions that can be sampled efficiently by a classical algorithm, and the argument above shows that they are indistinguishable to efficient classical algorithms. Yet a quantum algorithm distinguishes them with overwhelming probability simply by running the circuit on and measuring its designated output qubit. Consequently, the two distributions must be statistically far apart: their indistinguishability reflects a computational limitation. A standard result turns such efficiently samplable, statistically far but computationally indistinguishable distributions (known as EFID pairs) into classically secure one-way functions [Gol90]. Thus the ingredient needed for public verification follows from qiO and the same complexity assumption, with no additional hardness assumption.
This result gives a cryptographic realization of the hiding principle in peaked circuit sampling: a quantum computation reveals a planted classical answer, while qiO prevents a classical observer from extracting it from the circuit description. It should be noted that we do not literally sample the Aaronson–Zhang circuit ensemble; rather, we replace the heuristic indistinguishability of planted and random-looking circuits by a precise qiO guarantee.
Private verification of BQP without one-way functions. Our second application verifies the answer to a specified BQP computation. Specifically, we are able to verify the results of BQP decision problems. Given a problem instance x, we wish to delegate a quantum circuit C to the prover and certify that it returns the correct yes-or-no answer.
The instance is hardcoded into , which prepares in a workspace and runs an amplified BQP decision circuit. The circuit then coherently copies the answer to a target qubit and uncomputes the workspace. Up to negligible error, acts on the target as the identity for a no-instance and as a bit flip for a yes-instance. Since is part of the circuit description, we can always evaluate by initializing its target and workspace registers jointly to . We denote the class of such decision circuits by .
Cryptographically, the verification protocol comprises of a setup algorithm which takes as input the circuit C, as well as a security parameter , and outputs a classical challenge for the prover and a (classical) secret state. The prover must respond to the challenge and the verifier will then use the response, the challenge, the circuit and the secret state to either reject or output the decision for this problem instance. Soundness is formulated as wrong-output soundness: a malicious quantum prover may cause rejection or the correct output, but it can cause the opposite decision bit only with negligible probability.
Definition 2.4 (Classical verification of BQP, informal). For , its semantic answer is the bit satisfying
The classical setup produces (ch, st) ← Gen(1λ, C). The prover receives only (1λ, ch); the circuit C and secret state st remain with the verifier. The protocol has the following properties:
• Completeness: the honest quantum prover causes the verifier to output with probability ; that is,
• Wrong-output soundness: for every possibly nonuniform quantum polynomial-time prover A, the verifier outputs only with negligible probability:
A malicious prover may instead cause rejection or the correct output. Verification is private when st remains secret and public when the output is determined by the public transcript alone. We call the protocol computationally blind if the prover's view is computationally indistinguishable from a view simulated efficiently using only the security parameter and public circuit shape. This hides the hardcoded instance and its answer, except for information already implied by the shape. For public verification, we instead allow the simulator to know the answer, since anyone can recover it from an honestly generated public transcript.
We first show that such a protocol can be constructed from qiO alone, without any additional assumptions. We emphasize however, that this result is specifically for BQP decision problems, not for sampling and relation problems as well.
Theorem 2.5 (Informal version of Theorem 5.2). Assume qiO for is secure against possibly nonuniform quantum adversaries. Then BQP has computationally blind private classical verification, leaking at most the public circuit shape.
The protocol works as follows. The verifier will consider a rows × cols grid of challenge circuits. In each row i, it chooses a uniformly random secret planted location , independently across rows, and independently chooses a uniform mask bit for every entry. At a planted location, it obfuscates , where is the circuit it wishes to delegate; at each remaining test location, it obfuscates a circuit implementing . All circuits are padded to the same shape. In the notation of the definition above, the challenge is the grid of obfuscated circuit descriptions, and the secret state st consists of the planted locations and mask bits. The verifier can construct these circuits without knowing the answer .
The honest quantum prover runs each circuit on , measures its designated output qubit, and returns the resulting grid of bits . The verifier first checks that at every test location. It then removes the masks at the planted locations and checks that all the bits agree, outputting their common value if they do and rejecting otherwise. By correctness of qiO, the honest response is at each test location and at each planted location, except with negligible probability. Thus all tests pass and the verifier outputs with overwhelming probability.
The key to soundness is that qiO hides the planted locations from even a quantum prover. To see this, let denote the ideal honest response: it equals at test locations and at planted locations. Replace each planted challenge circuit, one row at a time, by a fresh obfuscation of a padded circuit implementing . The original and replacement circuits have the same shape and negligibly close induced channels. Quantum security of qiO therefore ensures that these polynomially many replacements change the probability of a wrong verifier output by only a negligible amount.
After all replacements, every challenge entry is an obfuscation of . Since the masks are independent and uniform, the grid is uniform and independent of the planted locations. The modified challenge therefore reveals no information about those locations, even to a prover that learns every and knows . To make the verifier output while passing all tests, the prover must return a grid that differs from at exactly the planted location in each row. This requires guessing all the independently chosen locations, which succeeds with probability at most cols . Taking rows and cols makes this at most ; adding the negligible change from the replacements proves wrong-output soundness. The argument uses no one-way functions or additional complexity-class separation.
Since C itself is never explicitly given to the prover, it is possible to simulate the prover’s entire view from the security parameter and circuit shape: sample independent uniform bits and obfuscate the corresponding padded identity or bit-flip circuits. This simulation depends only on the public circuit shape, hiding the delegated computation, its hardcoded instance, and its answer. Padding to common public bounds on gate count and width makes the leakage depend only on those bounds. For this reason, the protocol is computationally blind.
Let us make two remarks about the protocol. First, its structure resembles early trap-based blind verification protocols, such as that of Fitzsimons–Kashefi [FK17]. In that protocol, the verifier prepares and sends single-qubit states to the prover, hiding trap qubits with predictable outcomes within the delegated computation. Even closer analogies are the use of entire trap computations by Ferracin, Kapourniotis, and Datta [FKD18], and the interleaving of computation and test rounds in the BQP-verification protocol of Leichtle, Music, Kashefi, and Ollivier [LMKO21]. These protocols use blindness to conceal which parts perform the computation and which test the prover, achieving information-theoretic security with a verifier capable of preparing single-qubit states. Our protocol uses a similar hiding principle with a fully classical verifier; its blindness guarantee is computational and follows from qiO.
Second, our protocol relies only on qiO, without a separate one-way-function assumption. In this sense, its security guarantee can extend to settings not covered by earlier protocols. In particular, qiO can exist even if BQP = QMA. By comparison, the soundness of Mahadev’s classical-verification protocol and follow-up results relies on trapdoor claw-free functions, instantiated from post-quantum hardness assumptions such as LWE [Mah18b]. If BQP = QMA, however, quantum-secure classical one-way functions cannot exist, so these soundness guarantees would no longer hold. Our theorem would still apply in such a setting if the required qiO existed.
Public verification of BQP. We next show how to get a protocol for blind public verification of BQP. This is the first such result in the standard model of cryptography.
Similar to the publicly verifiable proof of quantumness, the idea is to publish one-way images associated with the two possible answers, so that verification requires no secret state. Because these public images are correlated with the circuits being obfuscated, the proof uses qiO security against nonuniform quantum adversaries to handle this classical side information. Thus, assuming the existence of qiO with nonuniform quantum security, together with post-quantum secure one-way functions, we obtain publicly verifiable classical verification of BQP.
Theorem 2.6 (Informal version of Theorem 5.3). Assume qiO for is secure against possibly nonuniform quantum adversaries and assume the existence of post-quantum OWFs. Then BQP has publicly verifiable classical verification and computational blindness up to circuit shape and answer.
We use the same grid construction as in the private protocol, now with rows and 2 columns. For each candidate answer , let be the response grid that the private verifier would accept with output : its entries are at test locations and at planted locations. Let be a quantum-secure
If BQP = QMA, a quantum algorithm can find the smallest circuit equivalent to a given circuit and use it as the obfuscation. This gives a quantum obfuscator, not necessarily a classical one.
one-way function on -bit strings. Alongside the obfuscated grid, the setup publishes the mask parity in each row and the one-way image of the first column of each candidate grid:
Both candidate grids can be computed from the masks and planted locations, without knowing the true answer .
The prover works exactly as before: it evaluates the obfuscated circuits on , measures each designated output qubit, and returns the resulting grid of bits . Anyone can now verify this response by checking that the bits agree across all rows. If they do, let be their common value; the verifier outputs if , and rejects otherwise. These checks use only the public challenge and response, requiring neither the circuit nor the secret masks and planted locations. The honest response is except with negligible probability. Since each row has exactly one planted location, its parity check gives , and its first column has image , proving completeness.
For soundness, we make the same qiO replacements as in the private proof, keeping the public parities and one-way images fixed. Nonuniform qiO security justifies these replacements even in the presence of this correlated classical information. In the final hybrid, the challenge circuits encode the uniform grid , which is independent of the planted locations. Because there are two columns, the opposite candidate's first column satisfies
It is therefore a uniform -bit string independent of . The remaining public data reveal no additional information about this string: , and is a function of the honest grid alone. Thus the opposite first column appears in the challenge only through its image . Any response accepted with the wrong answer supplies a preimage of this image. Producing such a response with non-negligible probability would therefore contradict quantum one-wayness. The wrong-output probability is consequently negligible in the final hybrid and, by qiO security, in the real protocol as well.
The construction is computationally blind up to circuit shape and the decision bit: the final hybrid can be simulated from these alone, including the public parities and one-way images. The decision bit is necessarily revealed by public verification, so this guarantee allows more leakage than the private protocol's blindness. We make no claim of succinctness; communication and verification cost can grow polynomially with the delegated circuit's size.
2.2 Towards constructing quantum iO
We next discuss a potential path toward constructing the qiO required by our protocols. First note that the qiO used in the proofs outlined above operates on circuits with ancillas that are initialized as and restored to at the end. We refer to these as tidy circuits. Our first result is to prove a reduction showing that qiO for tidy circuits can always be constructed from qiO for ancilla-free unitary circuits.
Second, as evidence supporting the existence of qiO for ancilla-free circuits, we prove a worst-to-average-case reduction for obfuscating such circuits. In other words, we show, modulo certain assumptions, that the ability to obfuscate random (ancilla-free) quantum circuits translates into the ability to obfuscate arbitrary circuits. This reduction extends the local-mixing framework of Canetti, Chamon, Mucciolo, and Ruckenstein [CCMR25] for classical reversible circuits to the quantum setting under quantum analogues of their assumptions.
From ancilla-free circuits to tidy computations. Our protocols use circuits with an ancilla register initialized to zero. For a circuit with n logical qubits and a ancilla qubits, only its action on the clean-input subspace matters for its logical functionality:
Two implementations can agree on this subspace and act differently on its orthogonal complement. Treating the ancilla qubits as additional inputs therefore need not give equivalent ancilla-free circuits.
We address this issue for tidy computations: circuits that implement a logical unitary and return their ancilla register to zero, up to negligible error, for arbitrary logical inputs (as defined in Section 3.1). We give a direct reduction with no additional cryptographic assumption.
Theorem 2.7 (Informal version of Theorem 6.10). qiO for ancilla-free unitary circuits implies qiO for tidy unitary computations. The implication holds for either classical or quantum nonuniform security.
The reduction also preserves single-state correctness. This requires correctness only on one fixed input, here the all-zero logical state , with any ancillas also initialized to zero. With overwhelming probability over the obfuscator’s randomness, the original and obfuscated circuits must produce output states at negligible trace distance on this input. This weaker guarantee suffices for our protocols because the honest prover evaluates the challenge circuits only from all-zero initial states. The reduction’s security guarantee is restricted to tidy computations and does not give qiO for arbitrary quantum channels.
The central step is a compilation inspired by the reversible classical embedding in Appendix A of the full version of [CCMR25]. Let denote the unitary implemented by on all qubits. Using the full gate sequence of , its inverse, and one additional control qubit, we construct an ancilla-free unitary whose action depends only on the clean-input restriction of . For an exactly tidy circuit with clean-input action , identifying with the logical space gives
Thus the original action outside the clean subspace disappears. All wires are inputs to the compiled unitary. To evaluate the final obfuscation, the control qubit and ancilla register are initialized to zero and the logical output is retained.
An issue for quantum circuits remains: a global phase of becomes a relative phase between the two control branches. To address this, we sample a phase uniformly from a sufficiently fine finite grid during obfuscation and compile , as depicted in Figure 7. For circuits with negligibly close logical channels, a shift of the sampled phases couples the compilations so that their full channels are negligibly close. By qiO security, the obfuscations of the compiled circuits are computationally indistinguishable.
Finally, the BQP decision circuits used in our protocols can be made tidy by running them on ancilla qubits initialized to zero, copying their output bit to a target qubit, and uncomputing. More generally, this approach also obfuscates classical functions computed by quantum circuits with negligible error on every input (Lemma 6.11).
A worst-to-average-case reduction for ancilla-free qiO. Our goal is to construct an obfuscator that works for every ancilla-free circuit, starting from an obfuscation procedure whose security is guaranteed only on certain randomized inputs. We first seek qiO security for same-shape circuits implementing exactly the same channel, and then explain what additional assumption extends this to negligibly close channels. The reduction is conditional: we assume the existence of the random-input procedure and a pseudorandomness property that lets us combine randomized circuit pieces.
To describe these assumptions, fix a finite, inverse-closed universal gate set containing the identity, and let be the uniform distribution over L-gate circuits of the same width implementing exactly the same channel as C. We choose L large enough that padding with identity gates makes this set nonempty. Sampling from this distribution would give a description whose distribution depends only on the channel and the prescribed shape, which is precisely what we want from an obfuscator. However, we do not know how to sample it efficiently. We use these distributions only as ideal objects in the security proof. Write for concatenation, with A executed before B.
Our first assumption concerns quantum random-input obfuscation (RIO). We assume there are efficient classical transformations Obf and that preserve the width and channel of every input circuit exactly, and satisfy
for specified input distributions and lengths L. Thus looks like an ideal equivalent circuit after the efficient postprocessing , even to a distinguisher given the original description C. The restriction to particular input distributions is crucial: at this stage we have no security guarantee for an arbitrary circuit supplied to Obf. We assume this guarantee for uniformly random gate sequences of prescribed lengths and for an additional distribution of joining inputs described below.
The second assumption, quantum split-circuit pseudorandomness (SCP), concerns the ideal distributions themselves. Suppose we want to combine two circuits A and B. Insert a fresh random circuit R and its inverse between them, and independently randomize the two resulting pieces by sampling equivalent circuits. For suitable lengths, SCP asserts that
The two samples X, Y are independent given A, B, R. Cancellation of R with ensures that X|Y implements A|B. SCP makes the additional computational assertion that its description looks like one ideal sample for the whole computation: the way we split the computation is hidden. Both RIO and SCP must hold with the correlated side information specified in Section 6.1, since the other circuit pieces remain visible when we use these assumptions in the proof.
We now describe the efficient construction. We obfuscate individual gates and then recursively join the results. Throughout, we keep each result as a triple of left, middle, and right circuit blocks. The middle block carries the desired computation surrounded by random circuits, and the outer blocks cancel these random circuits when all three blocks are executed. For a single gate , sample independent random circuits , of a prescribed length and form
Because Obf preserves channels exactly, concatenating these blocks implements , and hence implements . To combine triples and representing two successive computations, we reobfuscate the adjacent boundary blocks and include the result in the new middle block:
The leftmost and rightmost blocks remain available for the next join. For a longer circuit, take a balanced split and recursively set , using fresh independent randomness. The final obfuscation concatenates the three blocks of . This uses only polynomially many calls to the efficient procedure Obf. The outer blocks always have the length of an obfuscated mask, so the inputs to these calls remain of polynomial size throughout the recursion. Exact correctness follows from mask cancellation and channel preservation at each join.
Security requires more work. For a single gate, RIO lets us replace each obfuscated block by a postprocessed ideal equivalent circuit. The outer inputs are uniformly random. The middle input is a uniformly random gate sequence conditioned on its central gate being ; this event has inverse-polynomial probability, so the uniform-input RIO guarantee also covers this case. We then proceed inductively, replacing the two child triples at each join by their ideal versions. Here we need the additional clause of the RIO assumption: the joining input formed from these ideal triples must satisfy RIO even given the four surrounding blocks. This input is generally not uniformly random, so this clause is a separate requirement, stated in Assumption 6.5.
After applying RIO to the joining input, two applications of SCP merge the ideal samples for the two computations and their intervening boundary into one ideal sample for the new middle block. This establishes the same security statement for the combined triple and lets the induction continue. Finally, two more applications of SCP remove the outer random masks from the ideal description. We obtain
for every input circuit C. Here applies to prescribed blocks of the ideal sample; both this postprocessing rule and L depend only on the security parameter and input shape. We have therefore extended the assumed security on restricted randomized inputs to arbitrary inputs. For same-shape circuits with equal channels, the ideal distributions are identical, so their obfuscations are computationally indistinguishable, as required.
To obtain robust qiO, which also hides the difference between circuits with negligibly close channels, we make one further assumption. Closeness of channels alone does not make their sets of exact implementations coincide. The stability assumption (Assumption 6.7) requires that the corresponding postprocessed ideal distributions remain computationally indistinguishable. We assume this for circuits whose width N, the number of input qubits, is at least . Combining stability with the displayed relation gives robust security. Together, these implications yield the following result.
Theorem 2.8 (Informal version of Theorem 6.6 and Corollary 6.8). Quantum RIO and SCP imply exactly channel-preserving qiO for ancilla-free unitary circuits, secure for exactly equivalent, same-shape circuits against nonuniform quantum polynomial-time adversaries. Adding stability of the postprocessed ideal distributions gives robust qiO for widths .
2.3 Related work
Quantum indistinguishability obfuscation. The framework of Alagic and Fefferman [AF16] allows quantum obfuscation to output either a circuit description or a quantum state, and distinguishes perfect, statistical, and computational security. We use its computational notion with an efficient classical obfuscator that outputs a classical description of a quantum circuit. This choice lets our classical verifier generate the obfuscations and lets the prover copy and evaluate them repeatedly. Security compares same-shape circuits with negligibly close induced channels. Our verification protocols need security against quantum adversaries; the proof of quantumness needs only classical security.
Oracle-model constructions cover several choices of program and output representation. In the classical oracle model, quantum hardness of LWE enables reusable quantum-state obfuscations of pseudo-deterministic circuits [BKNY23b]. Extensions allow the input program to contain a quantum state [BBV24].
Other schemes handle approximately unitary programs [HT25] and arbitrary quantum circuits [HT26]. A separate line develops quantum obfuscation and its applications using quantum oracles [CG24]. These constructions allow quantum program states; even a classical oracle, which specifies a classical function, may permit superposition queries. Closer to our representation requirements, the construction of Bartusek, Gupte, Mutreja, and Shmueli [BGMS25] uses a classical obfuscator and classical output, assuming quantum-hard LWE in the classical oracle model. It preserves the classical-input/output functionality of pseudo-deterministic quantum circuits. Our applications require channel-preserving qiO without idealized oracles. Practical tools such as ObfusQate [BSC 25] address a different goal: they transform code and circuits to resist reverse engineering, without establishing cryptographic indistinguishability.
Proofs of quantumness and classical verification. Trapdoor claw-free functions, instantiated from LWE, underpin the interactive test of Brakerski et al. [BCM 18]. Tests in the quantum random-oracle model reduce interaction to two messages [BKVV20, YZ22b]. Knowledge assumptions offer another way to achieve a single round from DDH or LWE [AGGM25]; stronger assumptions also permit very shallow quantum provers [Ghe26]. Our two-message construction draws its hardness from qiO and the worst-case separation BQP i.o.BPP, without relying on a specific algebraic or lattice problem.
The distinction between assumptions also matters for verification of general BQP computations. Mahadev’s protocol [Mah18b] uses quantum hardness of LWE to let a classical verifier certify the outcome of a quantum computation. Combining LWE with a quantum random oracle allows non-interactive verification after setup, although the verifier still needs secret setup information [ACGH20]. Our private-verification protocol uses qiO alone. Its hiding mechanism also connects to trap-based blind verification: a verifier who can prepare single-qubit states can conceal traps within a computation [FK17] or interleave entire computation and test rounds [FKD18, LMKO21]. Those protocols achieve information-theoretic security through limited quantum communication; qiO supplies computational hiding for our fully classical verifier.
Public verifiability. Publicly verifiable protocols let anyone check a response from the public transcript. Quantum null-iO with a classical obfuscator offers one route: witness encryption and additional classical cryptographic tools turn it into publicly verifiable arguments for QMA, and hence BQP [BM22]. That reduction treats quantum null-iO as a premise; its proposed instantiations use a quantum random oracle or an ideal classical oracle. Publicly verifiable quantum fully homomorphic encryption offers another route to public and blind classical verification in the classical oracle model [BGMS25]. Our protocol uses qiO for and post-quantum one-way functions directly: an honestly generated, circuit-dependent classical challenge suffices to check the prover's classical response. We also give a route to instantiating the required qiO without idealized oracles, under quantum local-mixing and stability assumptions (Corollary 6.8 and theorem 6.10). Communication and verification cost may grow polynomially with the delegated circuit's size. For proofs of quantumness, the random-oracle construction of Yamakawa and Zhandry [YZ22b] also admits public checks; ours derives an efficient public verifier from qiO and the stated complexity separation.
Local mixing. Local mixing aims to hide a circuit’s structure through random perturbations that preserve its functionality. For classical reversible circuits, the framework of Canetti, Chamon, Mucciolo, and Ruckenstein [CCMR25] reduces obfuscation of arbitrary circuits to obfuscation of random bounded-length circuits under split-circuit pseudorandomness. The reduction establishes the stronger random-output indistinguishability guarantee. We carry its random masks, inverse circuits, and joining argument over to quantum unitaries, with assumptions that account for quantum distinguishers and correlated side information.
tion. These assumptions concern the circuit descriptions themselves, beyond black-box access to random unitaries. Our reduction first handles exactly equivalent ancilla-free circuits; stability extends it to negligibly close channels. Adapting the reversible embedding to tidy quantum computations then requires us to handle the clean-ancilla subspace and global phases. Together, these steps give a conditional route to the qiO needed by our protocols. Establishing the assumptions for concrete local rewrites remains open.
Peaked circuit sampling. A hidden, high-probability output string can serve as a candidate certificate of quantum advantage. This motivates peaked circuit sampling, which seeks to conceal such a string in a circuit that appears random [AZ24]. Hidden Code Sampling [DFG 25] pursues a related approach with conditionally peaked outputs. Under its assumptions on simulation cost, verification is cheaper than full simulation, although fully efficient verification remains open. Our construction uses obfuscation to realize this hiding principle with polynomial-time public verification and negligible classical soundness error. These guarantees follow from our cryptographic and complexity assumptions; they do not establish security for either sampling ensemble.
Relation to recent cryptographic characterizations. The existence of proofs of quantumness with an inefficient verifier is equivalent to the existence of classically secure one-way puzzles [MSY25]. Our one-way-function consequence supplies this weaker puzzle primitive, while our protocol additionally provides an efficient public verifier. A complementary barrier rules out fully black-box constant-round constructions of such proofs from post-quantum iO for classical circuits and one-way permutations [TZ25]. Our use of quantum-circuit obfuscation and a classical hardness separation for BQP falls outside that barrier. Another line connects obfuscation of classical circuits, with quantum evaluation or encoding, to pseudorandom unitaries and other quantum cryptographic primitives under NP i.o.BQP [MSY26]. The hardness assumptions serve different roles here: our proof of quantumness uses classical hardness of BQP, private verification needs no additional separation, and public verification adds post-quantum one-way functions.
3 Preliminaries
Notation. We abbreviate “probabilistic polynomial-time” and “quantum polynomial-time” as PPT and QPT respectively.
3.1 Quantum Circuits
Throughout this paper, we think of quantum circuits as being specified by a classical description, in the form of a sequence of unitary and measurement gates. We do not consider general quantum programs that require a quantum auxiliary input state to evaluate. By deferring measurements and purifying discarded randomness, we may regard such a circuit as a unitary acting on an input register “in” and an ancilla register “anc” initialized to . A designated output register “out” is retained and the remaining register “junk” is discarded. Thus, on an -qubit state , we write to denote the channel implemented by
We use the same symbol C for a circuit description and its induced channel when the meaning is clear.
We fix a finite universal gate set, so that the gate count and description length are polynomially related. Further, we pick the gate set so that it contains I, X, and CNOT, and is closed under adjoints. We define the shape of a circuit to be the tuple shape, where is the gate count. Its width is . We say that a family of circuits indexed by a security parameter is polynomial-sized if there is a polynomial poly such that the gate count and width of is bounded by .
Fix the negligible class tolerance . We use the following circuit classes.
• Unitary circuits. A circuit C is unitary if there is a unitary U on qubits such that
We denote this class by .
• Tidy circuits. Let be a circuit with an -qubit logical input register, an -qubit logical output register, and an -qubit ancilla register. Let be unitary implements on the entire qubits. Define an isometry from qubits to qubits defined as . Let S = \mathrm{im}(J) = \left| \otimes \left| 0^{n_{\mathrm{anc}}} \right\rangle \left\langle 0^{n_{\mathrm{anc}}} \right| \right. We say that is a tidy computation of an -qubit unitary if
Thus, on every logical input, implements and returns its ancilla register to , up to negligible error. We write for the class of such circuits.
• Tidy BQP circuits. We define the class to be circuits with , such that for every of description length , there is a bit such that .
Thus these circuits coherently encode a decision bit as either the identity or a bit flip on one logical input qubit; in particular, evaluating the circuit on reveals the decision bit. An amplified BQP computation on a hardwired instance can be compiled into this form: compute its decision into a workspace qubit, CNOT that qubit into the input wire, and uncompute the workspace.
• A circuit is ancilla-free if . For a circuit class C, we write for its ancilla-free subclass.
3.2 Quantum Indistinguishability Obfuscation
Definition 3.1 (Quantum circuit obfuscator). Let be a class of quantum circuits. An obfuscator for is a algorithm Obf that, on input with , and outputs a circuit . Further, it must it satisfy the following correctness guarantee.
Correctness: For every and every ,
We now generalize classical indistinguishability obfuscation [BGI 01] to the quantum setting. Classically, circuits are equivalent if they compute the same truth tables. Quantumly, we define circuits to be equivalent if they implement channels that are negligibly close in diamond distance.
One could allow the obfuscator Obf to be a QPT algorithm, but in this work, we require a classical verifier to perform the obfuscation, we restrict to classical obfuscators.
It turns out that for our applications, a weaker notion of correctness suffices, where functionality preserved only on the input. For simplicity, we state only the stronger, more standard, correctness guarantee.
Definition 3.2 (Quantum iO (qiO)). An obfuscator Obf for C satisfies indistinguishability-obfuscation security if the following holds. For every two (not necessarily uniformly generated) polynomial-size circuit families and in C such that for every ,
and every (non-uniform) polynomial-time adversary A,
Depending on whether we quantify A over all PPT or QPT algorithms, Obf is secure against classical or quantum adversaries.
3.3 Proofs of Quantumness
Definition 3.3 (Two-message proof of quantumness). Let be a polynomial. A two-message (one-round) proof of quantumness is a tuple of algorithms (Challenge, Prove, Verify) with the following syntax.
• Challenge(1λ; r) → chall is a classical polynomial-time challenge algorithm with coins .
• Prove(1λ, chall) → resp is a quantum polynomial-time prover that returns a classical response.
• Verify(1λ, r, chall, resp) → {0, 1} is a classical polynomial-time decision algorithm.
There is a negligible function such that, for every ,
Moreover, for every classical probabilistic polynomial-time prover A, there is a negligible function such that, for every ,
The first property is completeness and the second is classical soundness. Since the verifier sends a challenge before receiving the prover's response, this is a two-message protocol, not a non-interactive protocol in the plain model.
Definition 3.4 (Publicly verifiable Proof of Quantumness). A two-message proof of quantumness as in Definition 3.3,
is publicly verifiable if there is a deterministic classical polynomial-time algorithm PubVerify such that, for every r, every honestly generated chall = Verify , and every response resp,
Thus, after generating the challenge, the verifier retains no secret state needed to check a transcript.
The proof of quantumness in Section 4 needs only classical security, whereas the verification application in Section 5.2 assumes quantum security.
3.4 Classical Verification of BQP Computation
Definition 3.5 (Private-verifier preprocessing verification). A private-verifier preprocessing protocol for is a tuple with the following syntax.
• is a classical probabilistic algorithm running in time polynomial in and . It sends to the prover and keeps secret.
• Prove is a quantum polynomial-time algorithm that returns a classical string.
• Verify is a deterministic classical algorithm running in time polynomial in and .
For every polynomial-size circuit ensemble in , let be its semantic bit as in Definition 3.6. There is a negligible function such that
Moreover, for every possibly nonuniform quantum polynomial-time prover A, there is a negligible function such that
As in Definition 3.6, soundness rules out only the wrong bit; a malicious prover may cause rejection or the correct output.
We call such a protocol computationally blind up to circuit shape if there is a PPT simulator Sim such that, for every polynomial-size circuit family in ,
where indistinguishability is against possibly nonuniform QPT distinguishers. The prover receives no subsequent message revealing the verifier's decision, so simulating the challenge also simulates the prover's view. In particular, challenges for any two same-shape circuit families are computationally indistinguishable, even when their answers differ.
The setup algorithm below is circuit dependent and honestly generated. Once its output has been published, the prover sends one classical proof and any classical party can verify it without secret state. Thus the protocol is non-interactive after preprocessing; it is not a non-interactive protocol in the plain model.
Definition 3.6 (2-message Publicly verifiable Classical Verification of Quantum Computation). A publicly verifiable preprocessing protocol for the coherent decision class is a tuple (Gen, Prove, Verify) with the following syntax.
• Gen(1λ, C) → pk is a classical probabilistic setup algorithm running in time polynomial in λ and |C|.
• Prove(1λ, pk) → π is a quantum polynomial-time algorithm that outputs a classical proof.
• Verify(1λ, pk, π) → {0, 1, ⊥} is a deterministic classical polynomial-time algorithm.
Only the setup algorithm receives ; the prover and public verifier use the public challenge pk. For every polynomial-size circuit ensemble with , let be the unique bit satisfying
There is a negligible function such that
Moreover, for every possibly nonuniform quantum polynomial-time prover A, there is a negligible function such that
The first property is completeness; the second is wrong-output soundness. A malicious prover is allowed to make the verifier reject or output the correct bit.
For a publicly verifiable protocol, we define computational blindness up to circuit shape and answer by requiring a PPT simulator such that, for every polynomial-size family in with semantic bits ,
against possibly nonuniform QPT distinguishers. Thus two circuit families with the same shape and answer yield indistinguishable prover views. The answer is unavoidable leakage: an honest prover can produce a proof from pk and run the public verifier to recover with overwhelming probability. Hence this guarantee differs from the private protocol's blindness, which also hides the answer.
4 Quantum advantage from Quantum iO and BQP-hardness
In this section, we construct a proof of quantumness protocol. Section 4.1 gives a privately verifiable protocol, and Section 4.2 lifts this protocol to a publicly verifiable protocol under the same assumptions. We present both protocols, starting with the simpler privately verifiable construction and then introducing the additional ingredient needed for public verifiability.
Notation 4.1. We will use the following notation throughout this section.
• Let qiO be a quantum indistinguishability obfuscator for secure against classical adversaries.
• Let be a language decided by the uniformly generated circuits . That is, for every input , outputs at the designated output bit with error at most . Let have shape .
• For , define to be a circuit of shape , such that it applies to the first input qubit and acts trivially on the remaining input and ancilla qubits. Let the first qubit be the designated output qubit. Pad so that it has the required gate count.
• We will denote the number of parallel repetitions by , and will set , to ensure negligible soundness error.
4.1 Privately verifiable Proof of Quantumness
Figure 2 describes our construction.
(Privately verifiable) Proof of Quantumness
• Challenge():
- Parse as independent uniform bits followed by random tapes .
- For all , compute .
- Output .
• Prove():
- Parse .
- For every , run the circuit on state and measure the output register in the computational basis to get .
- Output the response .
• Verify():
- Recover from and parse .
- Accept if for every , and otherwise reject.
Figure 2
To show that Figure 2 is a sound proof of quantumness, for technical reasons, we need something slightly stronger than BQP BPP; we assume that BQP i.o.BPP, where i.o.BPP is shorthand for “infinitely-often” BPP, and is defined below. The stronger assumption is is needed to handle the mismatch between how we define security of a cryptosystem and correctness of a BPP machine—an adversary that breaks a proof of quantumness with non-negligible probability needs to win with noticeable probability on only infinitely many input lengths, but a BPP machine is defined to work for all input lengths.
Definition 4.2 (Infinitely-often BPP). A language is in i.o.BPP if there is a probabilistic polynomial-time algorithm such that, for infinitely many input lengths , every satisfies
Thus BQP i.o.BPP is stronger than BQP BPP.
Theorem 4.3. Suppose that BQP i.o.BPP and that there is a qiO scheme for secure against classical polynomial-time adversaries. Then, the protocol in Figure 2 is a secure two-message proof of quantumness.

Figure 3: The circuit . The qubit is its input and designated output. The workspace qubits start in , where , is the designated output qubit of , and contains the remaining workspace qubits. Here prepares in the instance register and acts trivially on the original ancillas of . The CNOT is controlled by and targets . After uncomputation, applies to and restores to , up to negligible error. The circuit has gates, counting one preparation gate per bit of , including identities.
We first prove in Lemma 4.4 that the obfuscations of and are computationally indistinguishable under qiO, assuming the worst-case classical hardness of BQP. Then, we prove Theorem 4.3 by showing that parallel repetition amplifies hardness so that a classical PPT adversary can win the spoof the proof of quantumness only with negligible probability.
Lemma 4.4. Suppose the hypotheses for Theorem 4.3 hold. Then, the circuit families and defined in Notation 4.1 are in , and efficiently constructible by a classical PPT algorithm, have the same shape, and induce the channels and respectively. Further, for every classical PPT adversary and every ,
Proof. Define the language and circuits as in Notation 4.1. Standard amplification and deferred measurement yield the required polynomial-time uniform family from a BQP algorithm for . For each , define a circuit with one logical input qubit and clean workspace as follows:
• prepare x in an instance register, using one gate (possibly an identity gate) for each bit of x;
• apply and, controlled on its output qubit, apply X to Q;
• apply and undo the preparation of x.
Each has gates and uses all the input and work qubits of as its clean workspace, so it has the same shape as and in Notation 4.1. By the negligible error guarantee of , we know that
and therefore every belongs to and is negligibly close to . Suppose, toward a contradiction, that a classical polynomial-time that distinguishes the qiO obfuscations of and with non-negligible advantage. Defining
this means that there is a non-negligible function non-negl such that . Further define
We claim that . Indeed, otherwise one could select a maximizing on infinitely many lengths and obtain two same-shape, negligibly close circuit ensembles that distinguishes, contradicting the security of qiO.
Now, we give a classical PPT algorithm that should be able to solve BQP for infinitely many input lengths . The algorithm works as follows: on input , it estimates , and using fresh obfuscations and runs of , up to sufficiently small inverse polynomial additive accuracy, and outputs such that the estimate of is closer to than . Polynomially many samples suffice by a Chernoff bound. Therefore, is correct on every input of length , for infinitely many input lengths , which means that . This is a contradiction.
Proof of Theorem 4.3. Correctness holds, since maps to and the honest prover recovers all the correctly, except with negligible probability.
To prove soundness, we construct a hybrid argument and invoke Lemma 4.4. Concretely, for , we define hybrid as sampling independently, and computing the challenge as follows: for every coordinate , compute an independent obfuscation of , i.e., , and for coordinates , compute the obfuscations as before . We then run on the resulting challenge and accept when its response is exactly , and reject otherwise.
By Lemma 4.4, since , the success probabilities in and differ by at most a negligible function. In hybrid , the challenge is independent of the uniform bits used for verification, so even an unbounded prover returns with probability at most . Therefore, for any , soundness holds.
4.2 Publicly verifiable proofs of quantumness
We next strengthen Figure 2 to make it publicly verifiable. That is, anyone who sees the challenge and response can check acceptance without the verifier's private coins. We achieve public verifiability via a simple transformation—the challenger publishes the image of the correct response vector under a one-way function. Figure 4 describes this protocol.
We note that the one-way function needs to be secure only against classical adversaries. Interestingly, as shown in Lemma 4.5 below, it turns out that the existence of such classically secure one-way functions is already implied by the assumptions in Theorem 4.3, so we get public verification for free, without having to make any additional assumptions.
Lemma 4.5. Suppose that BQP i.o.BPP and that there exists an obfuscation scheme for satisfying qiO security against classical polynomial-time adversaries. Then, there exist one-way functions that are secure against classical PPT algorithms.
Proof. For , define the families of distributions as follows:
where is defined Notation 4.1. By Lemma 4.4, and are computationally indistinguishable to classical PPT adversaries. On the other hand, by correctness of the obfuscator qiO, these distributions are statistically far, with total variation distance at least . By Theorem 2.8 of [Gol90], this implies that there exist classically secure pseudorandom generators, and therefore classically secure one-way functions.
Since the existence of classically secure one-way functions implies that , we immediately get the following corollary that highlights the role of (quantum) iO as a hardness “transformer”.
Corollary 4.6. Suppose that BQP i.o.BPP and that there exists an obfuscation scheme for satisfying qiO security against classical polynomial-time adversaries. Then, .
Let be a one-way function family secure against classical PPT algorithms, where has input length . Let . We will write as shorthand. We describe our construction Figure 4.
Publicly verifiable Proof of Quantumness
-
Verify:
- Parse as followed by random tapes .
- For all , compute
- Compute and output
-
Prove(, chall):
- Parse the challenge chall = .
- Evaluate each on , measure its logical output qubit in the computational basis, and output the resulting string resp = .
-
Verify(, chall, resp):
- Parse the challenge as chall = and the response as resp .
- Accept if and reject otherwise.
Figure 4
Theorem 4.7. Suppose that BQP i.o.BPP, and that there exists an obfuscation scheme for satisfying qiO security against classical polynomial-time adversaries. Then Section 4.2 is a secure publicly verifiable two-message proof of quantumness.
Proof. Completeness holds by the correctness of the qiO scheme.
We prove soundness using a slightly more careful hybrid argument compared to the proof of Theorem 4.3. For , we define the following hybrids, which differ only in the circuit at index :
• Hybrid :
-
Sample a uniformly random and compute .
-
Compute the obfuscated circuits as follows:
for all
for all
– Given a response , the prover wins if .
• Hybrid :
-
Sample a uniformly random and compute .
-
Compute the obfuscated circuits as follows:
for all
for all
– Given a response , the prover wins if .
Hybrid 2t is defined as having sampled b and y as every other hybrid, and all circuits being obfuscations of . For a classical PPT adversary A, let be its success probability for hybrid n.
We claim that for all . Suppose for contradiction there is a PPT distinguisher. Then, we have a distinguisher that contradicts Lemma 4.4, via the following reduction: given input , sample random , compute , and compute the challenge circuits for to be consistent with both hybrids and . At the th index, set as follows:
When the challenge obfuscates , this exactly simulates , and when the challenge obfuscates , this exactly simulates . Therefore, by Lemma 4.4, we have that .
A direct reduction and application of Lemma 4.4 also shows that . By the triangle inequality, and since we have only polynomially many hybrids, this means that . In Hybrid , the obfuscated circuits in the challenge are independent of the one-way function challenge, so by the one-way security of against classical adversaries, . This completes the proof.
5 Classical Verification of BQP computation
Notation 5.1. We use the following notation throughout this section.
• Let rows, cols ∈ N be efficiently computable from λ, with λ ≤ rows ≤ poly(λ) and 2 ≤ cols ≤ poly(λ).
• Let be the BQP-circuit being verified. Without loss of generality, we assume that has been amplified, so that it produces the desired output on with negligible trace distance. We also assume without loss of generality that it returns a ancilla workspace to itself, i.e., it is a tidy computation. Therefore .
• For , let be a circuit implementing the channel , with the same number of input, ancilla, and output wires as . Further, let be padded to have the same gate count as and . Choose the descriptions and padding of canonically from and this common shape alone.
• Define to be a family of quantum-secure one-way functions.
5.1 Private verification assuming qiO
Theorem 5.2. Suppose there is an obfuscation scheme for satisfying qiO security against QPT adversaries. Then, Section 5.1 is a privately verifiable protocol for classical verification of BQP that is computationally blind up to circuit shape.
Proof. Let be the output of on . Let be the indicator vector for the set of planted locations , indexed by . We will write .
We first show that the protocol is correct. at each test location , implements exactly, and at each planted location ,
Thus every circuit submitted to qiO lies in , and by the correctness of qiO, an honest prover measures except with negligible probability. All test answers therefore match the values, and all unmasked planted answers equal a, proving completeness.
We now prove soundness via a hybrid argument. For , rows, define by replacing the planted circuit in each of the first rows by an independently generated obfuscation of , for . Test locations and the secret verification state remain as in the real experiment. Let be the probability that the private verifier outputs in . By qiO security, it must hold that for all , rows - 1, since and are negligibly close in diamond distance. Since rows , a triangle inequality means that is negligible.
In , every challenge entry is a fresh obfuscation of , where is uniform and independent of . This means that the challenge, and therefore the prover's response, is independent of . If the verifier outputs , this means that the prover produced the output , which can happen with probability at most , therefore . This proves soundness.
The same hybrids establish blindness. Given only and shape(C), a classical simulator constructs the canonical padded circuits , , samples independent uniform bits , and outputs
Privately verifiable Classical Verification of BQP
• Gen():
-
Sample independent uniform mask bits .
-
Independently sample planted locations for every row , and let .
-
For every and , independently compute
- Output the challenge chall = and retain the private state state = .
• Prove():
-
Parse chall = .
-
Evaluate each on and measure its output in the computational basis, obtaining .
-
Return .
• Verify():
-
Parse state = and .
-
Check that for all test location , and reject otherwise.
-
If the bits for all the planted locations are all equal, output their common value; otherwise reject.
Figure 5 using independent obfuscation randomness at every entry. This is exactly the challenge distribution in : the uniform masks make uniform, regardless of or its answer . The qiO hybrid argument makes the real challenge computationally indistinguishable from this simulated distribution. Since the prover receives only the challenge and no later verifier message, any quantum polynomial-time processing of that challenge also has an indistinguishable simulated view. Thus the protocol hides the delegated circuit, including its hardcoded instance and answer, up to circuit shape. Padding to common public gate-count and width bounds can make the leakage depend only on those bounds.
5.2 Public verification assuming qiO and quantum-secure OWFs
For this protocol, set rows = λ and cols = 2, and write for the quantum-secure one-way function, where m is polynomially bounded.
The challenge contains the same grid as in Figure 5, together with the parity of the mask bits in each row and one-way images of the first columns of the two grids accepted by the private verifier. The row parities determine the claimed answer, and the one-way images let a public verifier check that answer.
Theorem 5.3. Suppose there is an obfuscation scheme for satisfying qiO security against nonuniform QPT adversaries, and that g is a one-way function secure against such adversaries. Then Figure 6 is a publicly verifiable protocol for classical verification of circuits in , with computational blindness up to circuit shape and answer.
Proof. Fix and let be the output of on . As in Section 5.1, let be the indicator vector for the planted locations, and write .
We first show that the protocol is correct. At each test location , implements exactly, and at each planted location , we have that . By correctness of qiO, an honest prover returns except with negligible probability. Since each row has exactly one planted location, for every row. The first column also has image , so the verifier does not reject, and outputs .
We now prove soundness via a hybrid argument. As in the proof of Theorem 5.2, we define for , rows, by replacing the planted circuit in each of the first rows by an independently generated obfuscation of , for . Let be the probability that the verifier outputs in . The qiO security guarantee against nonuniform QPT adversaries implies that : the correlated classical public data can be fixed and hardwired into a distinguisher.
To complete the proof, we show that . In , every challenge circuit is a fresh obfuscation of , where s is uniform and independent of . Since cols = 2, each bit is an independent uniform bit. Consequently, the bits
form a uniform -bit string independent of the entire grid s. The published parities satisfy , so they depend only on s and a. Therefore, the challenge depends on the bits only through . Therefore, we can use an adversary that breaks the verification protocol to construct an adversary for the one-way function g, by giving a reduction that simulates . The one-way function security of g therefore establishes that .
Finally, the same hybrids prove computational blindness up to circuit shape and answer. Given only , shape( ), and , a classical simulator samples a uniform grid and an independent uniform
Publicly verifiable Classical Verification of BQP
• Gen():
-
Sample independent uniform mask bits .
-
Independently sample planted locations for every row , and let .
-
For every and , independently compute
- Let and , where is the indicator vector for the planted locations.
Set for every row, and compute
- Output the challenge .
• Prove():
-
Parse .
-
Evaluate each on and measure its output in the computational basis, obtaining .
-
Return .
• Verify():
-
Parse as above and .
-
If the bits for all rows are not all equal, reject. Otherwise let be their common value.
-
If , output ; otherwise reject.
Figure 6 string . It generates independent obfuscations and sets
It outputs . The independence of the opposite first-column string proved above shows that this is exactly the joint challenge distribution in . Applying the same qiO hybrids to any quantum polynomial-time distinguisher makes the real challenge computationally indistinguishable from this simulation. This proves computational blindness up to circuit shape and semantic answer. Unlike the private protocol, this protocol cannot hide the answer: evaluating the two circuits in any row and computing recovers a with overwhelming probability. No hardness property of is needed for this blindness argument; one-wayness is used for soundness.
6 Constructions of Quantum Indistinguishability Obfuscation
In this section we discuss the theoretical foundations for constructing quantum indistinguishability obfuscation. We first consider qiO for ancilla-free unitary circuits and prove a worst-to-average case reduction, which is inspired by an analogous argument for classical reversible circuits in [CCMR25]. Then we show that qiO for ancilla-free unitary circuits directly implies qiO for tidy unitary circuits, which provides the foundation of our main applications (see Figure 1). This argument is inspired by the reversible classical circuit embedding of Appendix A of the full version of [CCMR25], which makes the compiled circuit independent of the original circuit on inputs with incorrectly initialized ancillas. To generalize this construction to quantum circuits, we introduce an additional random phase and a coupling argument (see Figure 7).
In Section 6.1, we introduce the main relevant definitions and assumptions. We then show the worst-to-average case reduction for qiO for ancilla-free unitary circuits in Section 6.2. Finally in Section 6.3 we prove that qiO for ancilla-free unitary circuits implies qiO for tidy unitary circuits.
6.1 Definitions and Assumptions
Recall that an ancilla-free unitary circuit has input and output wires and implements an -qubit unitary . A tidy unitary circuit (see Section 6) has an -qubit logical register and an -qubit ancilla register, and returns the ancilla register to , up to negligible error, on every logical input when the ancillas are initialized to . We consider qiO for these two circuit families.
For completeness, we include the following definitions, which specialize Definitions 3.1 and 3.2 to the two circuit classes. For any circuit C, write for its induced logical channel. All circuit families below have size polynomial in the security parameter ; their gate counts and register sizes may depend on .
Definition 6.1 (Ancilla-free quantum indistinguishability obfuscation). Let be a class of ancilla-free unitary circuits. A circuit acts on input qubits and induces the channel
A globally correct, robust qiO scheme for is a classical probabilistic algorithm that, on input , runs in time polynomial in and and outputs a classical description
of a polynomial-size quantum circuit with n logical input and n logical output qubits. It satisfies the following properties.
- Global correctness. There is a negligible function such that, for every and every ,
- Robust indistinguishability. Let and be any two not necessarily uniformly generated polynomial-size circuit families in satisfying
and, for some negligible function ,
For every nonuniform quantum polynomial-time distinguisher D, there is a negligible function such that, for every ,
The probabilities are over the randomness of the obfuscator and the distinguisher. The channel comparison is on the entire n-qubit input space.
Definition 6.2 (Tidy-circuit quantum indistinguishability obfuscation). Let be a class of tidy unitary computations with a fixed negligible tidiness bound . A circuit specifies an n-qubit logical register, an a-qubit ancilla register, and a full unitary on all qubits. With , there is an n-qubit unitary such that
The induced logical channel is
where A denotes the ancilla register.
A globally correct, robust qiO scheme for T is a classical probabilistic algorithm that, on input , runs in time polynomial in and and outputs a classical description
of a polynomial-size quantum circuit with n logical input and n logical output qubits. It satisfies the following properties.
- Global correctness. There is a negligible function such that, for every and every ,
- Robust indistinguishability. Let and be any two not necessarily uniformly generated polynomial-size circuit families in satisfying
and, for some negligible function ,
For every nonuniform quantum polynomial-time distinguisher D, there is a negligible function such that, for every ,
The probabilities are over the randomness of the obfuscator and the distinguisher.
Replacing quantum distinguishers by classical distinguishers gives the corresponding classical security notions. In both definitions, the circuit class only describes the input to the obfuscator. Its output may use internal ancillas and need not be tidy.
Next, we discuss assumptions related to quantum random input obfuscation (RIO), which is a generalization of random input obfuscation for classical reversible circuits considered in [CCMR25]. Our definition of quantum RIO is conceptually simpler than the definition of classical RIO in [CCMR25]: here quantum RIO is a circuit obfuscator that, given the description of an ancilla-free random quantum circuit as input, outputs a circuit that is computationally indistinguishable from a uniformly random circuit drawn from the ensemble of circuits that implements the same unitary as the input circuit. This can be viewed as a weaker, average-case version of ancilla-free qiO. We show in Section 6.2 that quantum RIO, with additional assumptions discussed below, implies ancilla-free qiO as in Definition 6.1. This can be viewed as a worst-to-average case reduction for qiO and thus gives evidence supporting the existence of qiO.
The assumptions below posit the existence of a common choice of a fixed finite, efficiently specified, inverse-closed universal gate set containing , , and CNOT, together with the stated computational hardness properties. Whenever these assumptions are combined, they must hold for the same choice of gate set. All circuits and distributions below use this gate set. We use the convention , where denotes the concatenation of circuit descriptions and . Write for the legal gate placements on qubits and for the -gate ancilla-free circuits obtained by choosing each gate from . Uniform sampling from chooses these gates independently and uniformly. denotes the gate count of a circuit . For and , let be uniform over the -gate circuits implementing the same channel as . Equality of these channels permits a global phase difference between their implementing unitaries. The identity gate ensures that the set sampled by is nonempty. Note that the uniform distribution over may not be efficiently sampleable in general.
The first assumption says that a random separator and its inverse can be removed from two independently randomized pieces. It applies even when the surrounding circuits and side information are correlated; the separator alone must be fresh.
Assumption 6.3 (Quantum split-circuit pseudorandomness, SCP). There are a polynomial-time computable, polynomially bounded integer and a polynomially bounded with the following property. Let be any joint polynomial-size ensemble, where are ancilla-free n-qubit circuits and is arbitrary classical or quantum side information. Independently sample . For polynomially bounded lengths satisfying
conditionally and independently sample and . Let be freshly sampled, independently of given . Then and are computationally indistinguishable against nonuniform quantum polynomial-time distinguishers. We call lengths satisfying the displayed inequalities SCP-admissible.
The second assumption concerns obfuscation of random circuit descriptions. Given a plaintext random circuit input, the obfuscated circuit is indistinguishable from a postprocessed random equivalent circuit. Our definition also allows a correlated public view, which is necessary when a random circuit occurs inside a larger construction.
Definition 6.4 (Quantum random input obfuscation, RIO). Let Obf, be classical probabilistic polynomial-time transformations of ancilla-free circuits over the chosen gate set that preserve the width and implemented channel exactly on every output. Their outputs are ancilla-free, with gate counts depending only on , n and the input gate count. Let be polynomial-time computable and polynomially bounded. The output lengths of Obf on m-gate inputs and on -gate inputs must agree. For a polynomial-size joint ensemble , where V is a public classical view and C is an ancilla-free circuit, the random-input obfuscation guarantee is
Here indistinguishability is against nonuniform quantum polynomial-time distinguishers, and need not be efficiently samplable. The ideal sample and all algorithmic randomness are fresh and mutually independent conditional on ; the ideal distribution depends on the view only through C. The guarantee is uniform-public-view at length m if it holds for every such experiment whose marginal distribution of C is uniform over , even when V is correlated with C.
Next we state the assumption which gives the specific form of quantum RIO we use.
Assumption 6.5 (Quantum RIO assumption). Let and be the parameters from the quantum SCP assumption. There exist Obf, , as in Definition 6.4 with the following properties.
First, they satisfy uniform-public-view quantum RIO at lengths s and . Let be the output gate count of Obf on n-qubit, s-gate inputs, and define
These parameters depend on , which we suppress below. We require
Second, quantum RIO must also hold for the experiment below, which describes joining two obfuscated circuit pieces. To define this experiment, for set . This length accounts for m masked-gate blocks of length g and the joins between them, each of length e. Let parse an
-gate circuit into alternating blocks of lengths and apply to each block with independent randomness.
Define the ideal triple for an m-gate, n-qubit circuit C as follows. Sample independent masks , and, conditional on these masks, independently sample
The ideal triple is
with independent postprocessing randomness. The two outer circuits each have q gates by the output-length condition in the RIO definition. Concatenating the three circuits implements the same channel as C, since the masks cancel. These ideal samples are used to specify the security experiment and need not be efficiently samplable.
For every pair of polynomial-size n-qubit circuit families A, B with positive gate counts, independently sample their ideal triples and , and set
Thus is the 2q-gate circuit formed by concatenating the two adjacent boundary circuits, and V contains the four surrounding circuits. The same Obf, , must satisfy the quantum RIO guarantee for this joint ensemble , with ideal sample .
6.2 Obfuscation for Ancilla-Free Circuits
We first prove an exact version of ancilla-free qiO, with indistinguishability guaranteed for circuits implementing exactly the same channel. We then extend this guarantee to robust qiO for circuits with negligibly close channels, under an additional stability assumption (Assumption 6.7).
Theorem 6.6 (qiO for ancilla-free circuits). Under quantum split-circuit pseudorandomness (Assumption 6.3) and quantum RIO (Assumption 6.5) above, there is a polynomial-time, exactly channel-preserving, quantum-secure qiO for polynomial-size ancilla-free unitary circuits whose indistinguishability guarantee applies to exactly equivalent, same-shape circuits (the exact-equivalence variant of Definition 6.1, with ). Its output length on an m-gate, n-qubit circuit is .
Proof. Below we suppress the security parameter in algorithm calls, and write for the ideal triple in Assumption 6.5. Return the empty circuit unchanged when ; below assume .
Construction. We represent an obfuscated circuit by a triple of left, middle, and right blocks. The blocks implement the channels of
for random boundary masks . Thus implements . Keeping the boundary blocks separate lets us join two such triples by reobfuscating their adjacent boundaries.
Define a recursive sampler S as follows. For a single gate , sample independent and set
For two triples X, Y, define
For a longer circuit , split with , independently sample and , and return . All obfuscation calls use fresh randomness. The final obfuscator returns .
The correctness of the construction follows from cancellation of the boundary masks. Each join preserves the channel of , since Obf preserves the channel of . This proves exact correctness by induction. The outer blocks always have gates, so the recursion makes calls on inputs of lengths , , or . It runs in polynomial time and outputs gates.
Security. For fixed input shape, the distribution , and hence , depends on only through its channel. It therefore suffices to prove the invariant
We establish the single-gate case and then show that joining preserves this invariant.
For a single gate , the outer inputs , are uniformly random, so uniform-public-view RIO applies directly to them. The middle input is a uniform -gate circuit conditioned on its center gate being , an event of probability . This event is efficiently testable from the plaintext circuit. If a distinguisher had advantage in the conditioned experiment, a distinguisher for the unconditioned experiment could test this event, run the former distinguisher when it holds, and output 0 otherwise. Its advantage would be . Since is polynomial in for polynomially bounded , a nonnegligible would contradict RIO. Thus RIO remains valid under this conditioning.
Conditional on L, R, independently sample
Applying RIO to the left, right, and middle blocks in turn gives
Here denotes equality in distribution. Each comparison regards the other two blocks as the public view, which may contain ideal samples as permitted by RIO. All calls use fresh independent randomness. The middle-block replacement uses the conditioning argument above, and the final equality uses and .
For the joining step, let , . We claim that independent and satisfy
Write for the masks of and for those of ; all four are independent uniform -gate circuits. The seam implements the channel of . The seam clause of RIO replaces its obfuscation by , regarding as the public view. After this replacement, the middle block is
where, conditional on the masks, the samples are independent and distributed as
The alternating block layout in the definition of gives
with independent randomness on both sides. We can therefore apply SCP to the concatenation and then apply this common postprocessing:
where each denotes a sample from the indicated distribution, and the two samples on the first right-hand side are conditionally independent given . The first comparison merges across the random separator ; the second merges the result with across . Both regard as side information, and the first also includes . This side information is independent of the separator being removed. The SCP length conditions follow from and
Applying turns the last distribution into the middle block of , with the correct outer blocks unchanged. This proves the joining claim.
The single-gate case and joining claim imply the invariant by induction: first replace the two child triples by their independent ideal versions, then apply the joining claim. These replacements remain valid for inefficiently samplable ideal triples, since the other independent triple can be fixed as nonuniform advice. There are recursive calls, so the resulting polynomial-length hybrid has negligible total distinguishing advantage. For exactly equivalent, same-shape , we now have
Concatenating the triples proves the required indistinguishability.
Extension to robust ancilla-free qiO. Exact equivalence makes the ideal distributions identical, whereas negligibly close but unequal channels have disjoint sets of exact implementations. To obtain the robust notion of Definition 6.1, we introduce an additional stability assumption on the postprocessed ideal distributions.
We first express the obfuscation using a single ideal sample. For , set and define
where the input block lengths are , , , respectively, and all calls use fresh independent randomness. Both and depend only on .
For the independent masks defining , two applications of SCP give
Here each denotes a sample, with conditional independence given the masks. Applying the same throughout and using the invariant from the theorem's proof yields
Assumption 6.7 (Stability of the ideal distributions). Let , be any same-shape polynomial-size ancilla-free circuit families with common width , common gate count , and negligible diamond distance between their channels. For and the corresponding postprocessor defined above,
against nonuniform quantum polynomial-time distinguishers, with independent ideal samples and fresh independent randomness for the two calls to .
The width restriction is part of the stability hypothesis. The lifting in Section 6.3 pads the compiled circuits to meet it before obfuscation.
Corollary 6.8 (Robust ancilla-free qiO). Under Assumptions 6.3, 6.5 and 6.7, the local-mixing construction is a quantum-secure robust qiO in the sense of Definition 6.1 for polynomial-size ancilla-free unitary circuit families of width , with exact global correctness.
Proof. Empty circuits are returned unchanged. For same-shape circuits , of positive gate count whose channels are negligibly close, sample independently. Then
The outer comparisons follow from (6), and the middle comparison is Assumption 6.7.
6.3 Obfuscation for Tidy Circuits
We prove that ancilla-free qiO as in Definition 6.1 implies tidy-circuit qiO as in Definition 6.2. The key step of the proof is the circuit compilation discussed below (Figure 7), which turns closeness on the clean-input subspace into closeness on the entire input space. A random phase then lets us couple the compiled circuits even when the original clean-input actions agree only up to global phase.
Fix the logical and work registers , of sizes , and write , and . Add a qubit and define, for any unitary on ,
(7)
Thus flips exactly when , and applies controlled on . Products act from right to left. Figure 7 depicts . All wires are logical inputs to this unitary. For a full-register unitary , we write for its channel.
The exactly tidy case. Let be the isometry , and let be the clean-input subspace. To see the purpose of the compilation, first suppose for a logical unitary , absorbing any global phase into . Since is unitary, it preserves both and . On , flips ; on ,

Figure 7: Ancilla-free compilation of a tidy circuit C. Sample k once during obfuscation, uniformly from , and set . Gates act from left to right. An open control on A tests whether the entire register is ; an open control on D tests whether . The boxes C and denote the full gate sequence on Q, A and its inverse, with no initialization or discarding inside either box. The diagonal gates and act on D, multiplying its component by the indicated phase and leaving its component unchanged. All qubits are logical inputs. After synthesis to negligible error and padding to a common shape, the classical description of this circuit is the input to .
F is the identity, so and cancel. Identifying S with the logical space via J, and writing blocks in the computational basis of D, we obtain
Thus the compiled unitary depends only on the clean-input action U; the original action on disappears.
There is still a phase ambiguity. Although V and implement the same channel, their compilations need not: on the clean subspace,
A global phase of V therefore becomes a relative phase between the two branches of D. The random phase and coupling argument below handle this ambiguity. The next lemma formalizes dependence on the clean-input action and bounds the effect of approximation errors, without assuming exact tidiness.
Lemma 6.9 (Dependence on the clean-input restriction). For any unitary W, the unitary depends only on WP. For any two unitaries , on Q, A,
Moreover, for every logical input ,
These statements do not require W to be tidy.
Proof. Set . In the computational basis of , block multiplication gives
(10) which proves the claimed dependence. For and , we have and
Since is unitary, the triangle inequality in (10) gives (8). Finally, on , the first flips to , acts trivially, the second restores to , and applies . This proves (9).
Theorem 6.10 (Ancilla-free qiO implies tidy-circuit qiO). Suppose satisfies Definition 6.1 for all polynomial-size ancilla-free unitary circuits. Then there is a classical polynomial-time transformation constructing an obfuscator satisfying Definition 6.2 for any polynomial-size class of tidy circuits with a fixed negligible tidiness bound. The same implication holds with classical distinguishers throughout.
Proof. We first construct the obfuscator using and prove its global correctness. To prove security, we couple the random phases for circuits with negligibly close logical channels, show that their compiled channels are negligibly close on the full input space, and apply ancilla-free qiO security.
Construction. Set , , and . Given , sample uniformly from and compile into an ancilla-free circuit satisfying
This compilation has size and running time polynomial in and . The zero test has a polynomial-size decomposition without initialized ancillas . Controlling each gate of and implements the remaining controlled operations. Their constituent gates and the sampled phase rotations can be synthesized over the fixed inverse-closed universal gate set with polynomial overhead, allocating sufficient accuracy to each gate to obtain (11) . Pad with identity gates so that the shape of depends only on and shape( , independently of . We may also pad to width with additional identity wires in the ancilla register , which preserves diamond distances. This allows us to use ancilla-free qiO for widths at least , which is required by the stability assumption (Assumption 6.7).
Compute and return the circuit that, on an -qubit input in , initializes , to zero, applies , and discards , .
Global correctness. By (9), for every k,
This identity also holds with an arbitrary reference register. Hence initializing to zero, applying , and discarding induces exactly , including when is only approximately tidy. Let be the correctness error of . For each , except with probability at most , the channel of is within diamond distance of . Initialization and discarding cannot increase diamond distance, so (11) bounds the distance of the output circuit's channel from by . The same success probability holds after averaging over . Thus is a negligible correctness bound as required by Definition 6.2.
Aligning the clean-input actions. Fix any two circuit families of common shape as in Definition 6.2, suppressing their dependence on . Write , let be the tidiness bound, and suppose for negligible . Absorbing the tidiness phases into the logical unitaries, choose with and set . Closeness of these isometries and contractivity under discarding give
For unitary channels, there is a phase such that
Consequently,
This is the only part of the proof that uses tidiness.
Coupling the phase samples. Choose whose angle is nearest to modulo , so that . Couple the two constructions by sampling uniformly and using indices for and for , with indices taken modulo . Both marginal indices are uniform, since the shift is a permutation of . For every , (12) gives
Applying Lemma 6.9 yields
For unitaries , the channel bound , together with the two synthesis errors, therefore implies
The bound is uniform in k and holds on the entire input space, including coherent superpositions of clean and nonclean work states. Thus the coupling preserves both sampling distributions and pairs same-shape ancilla-free circuits with negligibly close channels.
From paired circuits to indistinguishable distributions. Fix a nonuniform quantum polynomial-time distinguisher D and set
where the probability is over the randomness of the obfuscator and distinguisher. The advantage between the two distributions of obfuscated compiled circuits is
(14)
Fix an eigenvalue of . Testing an equal superposition of its eigenvector and an eigenvector with eigenvalue gives for every . Choose .
The maximum is negligible. Otherwise, for each choose a maximizing index . The families and have polynomial size and the same shape, and their channels are negligibly close by (13), yet distinguishes their obfuscations with nonnegligible advantage. This contradicts Definition 6.1, which allows circuit families that are not uniformly generated.
Finally, adding the fixed initialization and discarding operations to the circuit descriptions is efficient classical postprocessing, so it preserves this indistinguishability. This proves robust security as in Definition 6.2. The argument also applies to classical distinguishers when the assumed ancilla-free qiO has classical security.
The identity (9) also shows that single-state correctness of the underlying obfuscator suffices for single-state correctness of the tidy-circuit construction: on the logical all-zero input, the input to the obfuscated circuit is all zero as well.
The tidiness requirement is essential for the proof of Theorem 6.10. For example, and both induce the identity logical channel after initializing and discarding a one-qubit work register , but the latter does not return to zero. Their compiled circuits act differently on an input with , : the first leaves , at 0, 1, while the second sends them to 1, 0. Thus the compilation does not give qiO for arbitrary circuits with ancillas or arbitrary quantum channels.
We now connect tidy-circuit qiO to classical functionality and to the coherent-decision circuits used in our applications.
Lemma 6.11 (Tidy circuits for classical functions). Let have shape and output with probability at least on every computational-basis input , for a classical function . There is a classical polynomial-time transformation producing a circuit of shape such that, writing ,
Proof. Keep the logical registers X, Y and initialize fresh registers R, A of sizes n, a to zero. Copy X into R using n CNOT gates, apply the full unitary to R, A, XOR its designated output into Y, apply , and undo the copy from X to R.
For each fixed , the state after has a component of norm at most on which the designated output differs from . The actual XOR and the ideal XOR by agree on the remaining component and differ in operator norm by at most 2 on this error component. Thus their difference has norm at most for every state of , including one entangled with a reference. Uncomputing preserves this bound and, for the ideal XOR, restores , to zero. Since is preserved throughout, the errors for distinct lie in orthogonal subspaces, so the same bound holds on every superposition of inputs.
For , the lemma gives the common negligible tidiness bound . Obfuscating therefore gives obfuscation of : same-shape circuits computing the same classical function have indistinguishable obfuscations of their lifts. This preserves the classical functionality in a coherent form; it need not preserve the original channel .
Corollary 6.12 (qiO for coherent-decision circuits). Globally correct, robust qiO for tidy circuits with tidiness bound implies globally correct, robust qiO for . The implication holds with either classical or quantum nonuniform security.
Proof. Given of shape , run its full unitary on a fresh all-zero register of size , CNOT its output into a logical target qubit, and uncompute. Call the resulting circuit ; its shape is
. Evaluating on outputs with error at most . Applying Lemma 6.11 with no variable input gives
Consequently,
where is negligible. Return . Global correctness follows by adding to the tidy obfuscator's correctness error. For any same-shape pair with channel distance at most a negligible , the lifts have the same shape and channel distance at most . Tidy-circuit qiO security therefore gives the required indistinguishability.
To apply this construction to public verification, we also record the classical auxiliary-input guarantee implied by nonuniform security.
Lemma 6.13 (Classical auxiliary input). Suppose qiO security holds against nonuniform distinguishers for arbitrary, not necessarily uniformly generated circuit families. Let be any polynomial-size classical joint ensemble such that every pair lies in the input class, has the same shape, and has channel distance at most a common negligible function . Then, with fresh obfuscation randomness,
The auxiliary-input guarantee has the same classical or quantum security as the assumed qiO.
Proof. Fix a distinguisher. Its advantage on the ensemble is at most the maximum absolute conditional advantage over triples in the support. If this maximum were nonnegligible, choose a maximizing triple for each and hardwire its into the distinguisher. The selected circuits form polynomial-size, same-shape families with negligible channel distance, contradicting nonuniform qiO security.
Combining Corollary 6.8, Theorem 6.10, and Corollary 6.12 shows that Assumptions 6.3, 6.5 and 6.7 imply quantum-secure qiO for , with global correctness. By Lemma 6.13, this qiO also provides security in the presence of correlated classical auxiliary input. Thus these assumptions supply the qiO needed for private verification (Theorem 5.2), for publicly verifiable proofs of quantumness when BQP i.o.BPP (Theorem 4.7), and for public verification when one-way functions secure against nonuniform quantum adversaries also exist (Theorem 5.3).
7 Acknowledgements and AI disclosure
We thank Tomoyuki Morimae for pointing out the statement of Lemma 4.5. We thank Petar Jurcevic for organizing the workshop “Quantum advantage with efficient classical verification” and the workshop participants for helpful discussions. Aparna Gupte thanks Vinod Vaikuntanathan and Seyoon Ragavan for useful discussions.
The authors proposed all the new definitions, constructions, and proof ideas. We used LLMs, including Claude Fable 5, Opus 5.5, GPT 5.6 Sol and GPT 6 Astra to assist with brainstorming, editing the text, and verifying the results. The authors take responsibility for all results in the paper.
References
[AAB 19] Frank Arute, Kunal Arya, Ryan Babbush, et al. Quantum supremacy using a programmable superconducting processor. Nature, 574:505–510, 2019. 3
[ACGH20] Gorjan Alagic, Andrew M. Childs, Alex B. Grilo, and Shih-Han Hung. Non-interactive classical verification of quantum computation. In Theory of Cryptography, pages 153–180. Springer, 2020. 14
[AF16] Gorjan Alagic and Bill Fefferman. On quantum obfuscation, 2016. 4, 13
[AGGM25] Petia Arabadjieva, Alexandru Gheorghiu, Victor Gitton, and Tony Metger. Single-round proofs of quantumness from knowledge assumptions. In 16th Innovations in Theoretical Computer Science Conference (ITCS 2025), volume 325 of Leibniz International Proceedings in Informatics (LIPIcs), pages 8:1–8:16. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2025. 14
[AZ24] Scott Aaronson and Yuxuan Zhang. On verifiable quantum advantage with peaked circuit sampling, 2024. 3, 15
[BBC 95] Adriano Barenco, Charles H. Bennett, Richard Cleve, David P. DiVincenzo, Norman Margolus, Peter Shor, Tycho Sleator, John A. Smolin, and Harald Weinfurter. Elementary gates for quantum computation. Physical Review A, 52, 1995. 38
[BBV24] James Bartusek, Zvika Brakerski, and Vinod Vaikuntanathan. Quantum state obfuscation from classical oracles, 2024. 13
[BCJ25] Michael J. Bremner, Bin Cheng, and Zhengfeng Ji. Instantaneous quantum polynomial-time sampling and verifiable quantum advantage: Stabilizer scheme and classical security. PRX Quantum, 6:020315, 2025. 3
[BCM 18] Zvika Brakerski, Paul Christiano, Urmila Mahadev, Umesh Vazirani, and Thomas Vidick. A cryptographic test of quantumness and certifiable randomness from a single quantum device, 2018. 3, 14
[BFNV19] Adam Bouland, Bill Fefferman, Chinmay Nirkhe, and Umesh Vazirani. On the complexity and verification of quantum random circuit sampling. Nature Physics, 15:159–163, 2019. 3
[BGI 01] Boaz Barak, Oded Goldreich, Rusell Impagliazzo, Steven Rudich, Amit Sahai, Salil Vadhan, and Ke Yang. On the (im) possibility of obfuscating programs. In Annual international cryptology conference, pages 1–18. Springer, 2001. 16
[BGMS25] James Bartusek, Aparna Gupte, Saachi Mutreja, and Omri Shmueli. Classical obfuscation of quantum circuits via publicly-verifiable QFHE, 2025. 14
[BIS 18] Sergio Boixo, Sergei V. Isakov, Vadim N. Smelyanskiy, Ryan Babbush, Nan Ding, Zhang Jiang, Michael J. Bremner, John M. Martinis, and Hartmut Neven. Characterizing quantum supremacy in near-term devices. Nature Physics, 14:595–600, 2018. 3
[BK21] Anne Broadbent and Raza Ali Kazmi. Constructions for quantum indistinguishability obfuscation. In Progress in Cryptology – LATINCRYPT 2021, volume 12912 of Lecture Notes in Computer Science, pages 24–43. Springer, 2021. 4
[BKNY23a] James Bartusek, Fuyuki Kitagawa, Ryo Nishimaki, and Takashi Yamakawa. Obfuscation of pseudo-deterministic quantum circuits. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing (STOC), pages 1567–1578. ACM, 2023. 4
[BKNY23b] James Bartusek, Fuyuki Kitagawa, Ryo Nishimaki, and Takashi Yamakawa. Obfuscation of pseudo-deterministic quantum circuits, 2023. 13
[BKVV20] Zvika Brakerski, Venkata Koppula, Umesh Vazirani, and Thomas Vidick. Simpler proofs of quantumness. In 15th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2020), volume 158 of Leibniz International Proceedings in Informatics (LIPIcs), pages 8:1–8:14. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2020. 14
[BM22] James Bartusek and Giulio Malavolta. Indistinguishability obfuscation of null quantum circuits and applications. In 13th Innovations in Theoretical Computer Science Conference (ITCS 2022), volume 215 of Leibniz International Proceedings in Informatics (LIPIcs), pages 15:1–15:13. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2022. 14
[BSC 25] Nikhil Bartake, See Toh Zi Jie, Carmen Wong Jiawen, Michael Kasper, and Vivek Balachandran. ObfusQate: Unveiling the first quantum program obfuscation framework, 2025. 14
[CCMR24] Ran Canetti, Claudio Chamon, Eduardo R. Mucciolo, and Andrei E. Ruckenstein. Towards general-purpose program obfuscation via local mixing. Cryptology ePrint Archive, Paper 2024/006, 2024. 4
[CCMR25] Ran Canetti, Claudio Chamon, Eduardo R. Mucciolo, and Andrei E. Ruckenstein. Towards general-purpose program obfuscation via local mixing. In Elette Boyle and Mohammad Mahmoody, editors, Theory of Cryptography, pages 37–70, Cham, 2025. Springer Nature Switzerland. Full version: Cryptology ePrint Archive, Paper 2024/006. 4, 10, 11, 14, 29, 31
[CFS24] Clémence Chevignard, Pierre-Alain Fouque, and André Schrottenloher. Reducing the number of qubits in quantum factoring. IACR Cryptology ePrint Archive, 2024:222, 2024. 3
[CG24] Andrea Coladangelo and Sam Gunn. How to use quantum indistinguishability obfuscation, 2024. 14
[DFG 25] Abhinav Deshpande, Bill Fefferman, Soumik Ghosh, Michael Gullans, and Dominik Hangleiter. Peaked quantum advantage using error correction, 2025. 15
[DN06] Christopher M. Dawson and Michael A. Nielsen. The Solovay–Kitaev algorithm. Quantum Information and Computation, 6(1):81–95, 2006. 38
[FK17] Joseph F. Fitzsimons and Elham Kashefi. Unconditionally verifiable blind quantum computation. Physical Review A, 96(1):012303, 2017. 9, 14
[FKD18] Samuele Ferracin, Theodoros Kapourniotis, and Animesh Datta. Reducing resources for verification of quantum computations. Physical Review A, 98(2):022323, 2018. 9, 14
[GGH 13] Sanjam Garg, Craig Gentry, Shai Halevi, Mariana Raykova, Amit Sahai, and Brent Waters. Candidate indistinguishability obfuscation and functional encryption for all circuits. In 54th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 40–49. IEEE, 2013. 3
[GH25] David Gross and Dominik Hangleiter. Secret-extraction attacks against obfuscated instantaneous quantum polynomial-time circuits. PRX Quantum, 6:020314, 2025. 3
[Ghe26] Alexandru Gheorghiu. Verifiable quantum advantage in extremely low depth, 2026. 14
[Gid25] Craig Gidney. How to factor 2048 bit RSA integers with less than a million noisy qubits, 2025. 3
[GMS 25] Hrant Gharibyan, Mohammed Zuhair Mullath, Nicholas E. Sherman, Vincent P. Su, Hayk Tepanyan, and Yuxuan Zhang. Heuristic quantum advantage with peaked circuits, 2025. 3
[Gol90] Oded Goldreich. A note on computational indistinguishability. Information Processing Letters, 34(6):277–281, 1990. 7, 23
[HKEG19] Dominik Hangleiter, Martin Kliesch, Jens Eisert, and Christian Gogolin. Sample complexity of device-independently certified “quantum supremacy”. Physical Review Letters, 122:210502, 2019. 3
[HT25] Mi-Ying Huang and Er-Cheng Tang. Obfuscation of unitary quantum programs, 2025. 14
[HT26] Mi-Ying Huang and Er-Cheng Tang. Obfuscation of arbitrary quantum circuits, 2026. 14
[KD26] David Kremer and Nicolas Dupuis. Efficient classical simulation of heuristic peaked quantum circuits, 2026. 3
[KM23] Gregory D. Kahanamoku-Meyer. Forging quantum data: Classically defeating an IQP-based quantum test. Quantum, 7:1107, 2023. 3
[KMCVY22] Gregory D. Kahanamoku-Meyer, Soonwon Choi, Umesh V. Vazirani, and Norman Y. Yao. Classically verifiable quantum advantage from a computational bell test. Nature Physics, 18:918–924, 2022. 3
[LMKO21] Dominik Leichtle, Luka Music, Elham Kashefi, and Harold Ollivier. Verifying BQP computations on noisy devices with minimal overhead. PRX Quantum, 2(4):040302, 2021. 9, 14
[Mah18a] Urmila Mahadev. Classical verification of quantum computations. In 59th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 259–267. IEEE, 2018. 4
[Mah18b] Urmila Mahadev. Classical verification of quantum computations, 2018. 9, 14
[Mov19] Ramis Movassagh. Quantum supremacy and random circuits, 2019. 3
[MSY25] Tomoyuki Morimae, Yuki Shirakawa, and Takashi Yamakawa. Cryptographic characterization of quantum advantage. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, pages 1863–1874. ACM, 2025. 15
[MSY26] Tomoyuki Morimae, Yuki Shirakawa, and Takashi Yamakawa. From worst-case hardness of NP to quantum cryptography via quantum indistinguishability obfuscation, 2026. 15
[SB09] Dan Shepherd and Michael J. Bremner. Instantaneous quantum computation. Proceedings of the Royal Society A, 465:1413–1439, 2009. 3
[SW14] Amit Sahai and Brent Waters. How to use indistinguishability obfuscation: Deniable encryption, and more. In Proceedings of the 46th Annual ACM Symposium on Theory of Computing (STOC), pages 475–484. ACM, 2014. 3
[TZ25] Kabir Tomer and Mark Zhandry. On the cryptographic foundations of interactive quantum advantage, 2025. 15
[Yan26] Bin Yan. Classical verification of quantum advantage via Clifford obfuscation, 2026. 3
[YC20] Man-Hong Yung and Bin Cheng. Anti-forging quantum data: Cryptographic verification of quantum computational power, 2020. 3
[YZ22a] Takashi Yamakawa and Mark Zhandry. Verifiable quantum advantage without structure. In 63rd IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 69–74, 2022. 3
[YZ22b] Takashi Yamakawa and Mark Zhandry. Verifiable quantum advantage without structure. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 69–74. IEEE Computer Society, 2022. 14