Manuscript Offprint
arXiv:2609.40301Need for Coherent Access in Constructing Quantum Cryptography
Abstract
We construct quantum oracles relative to which quantum-secure one-way functions (OWFs) exist but pseudorandom states (PRSs) with superlogarithmic output length do not. At first glance, this appears to contradict the known black-box constructions of PRS generators from quantum-secure OWFs. The distinction lies in the access model to the oracles; our oracle separation uses classical-accessible random oracles that can be accessed only classically even by quantum algorithms. In fact, our impossibility of PRSs applies to any classically accessible classical oracle in place of the random oracle, while keeping the other oracle component unchanged, showing the need for coherent access in constructing PRSs.
We further show that logarithmic output length pseudorandom function-like states (PRFSs) exist relative to our oracles, giving an oracle separation between classically accessible logarithmic length PRFSs and superlogarithmic length PRSs. This shows that fully black-box PRS length extension from logarithmic to superlogarithmic output length must use coherent access to the underlying short PRS.
Contents
1 Introduction 3
1.1 Our results 3
1.2 Technical overview 5
2 Preliminaries 7
2.1 Cryptographic primitives 7
2.2 Quantum property tests 9
3 Oracle Model 9
3.1 Oracles for quantum algorithms 9
3.2 Our oracle 10
4 Constructions of OWFs 11
5 Oracle Separation of PRS from OWFs 14
5.1 Constructing an oracle-free branch 14
5.2 Amplified candidate states for OR test 16
5.3 The adversary and its analysis 17
Quantum cryptography has introduced fundamentally new primitives formulated by quantum states and unitaries. Pseudorandom state (PRS) generators are analogous to PRGs: a short classical key specifies an efficiently generated state whose polynomially many copies are computationally indistinguishable from the same number of copies of a Haar-random pure state [JLS18]. By default, we consider the length of PRS to be superlogarithmic length—the logarithmic length will be discussed later. Similarly, pseudorandom unitaries (PRU) are considered as a quantum analogue of PRFs, which are computationally indistinguishable from Haar random unitaries. These primitives and their variants are useful for constructing cryptographic schemes such as commitments and encryption [MY22, AQY22].
It is well known that both PRS and PRU can be constructed from quantum-secure OWFs [JLS18, MH25]. At the same time, they are unlikely to imply OWFs because of the oracle separations [Kre21, KQT25]. Hence, these quantum primitives are considered weaker cryptographic assumptions than OWFs.
Several constructions of these primitives from OWFs have been suggested for PRS [BS19, BS20, ABF 24, GTB23, JMW23] and PRU [MPSY24, FLM 26] together with new constructions and proof techniques. However, all of these constructions rely heavily on coherent access to the underlying classical primitives. For example, the standard binary-phase PRS construction prepares an m-qubit state by evaluating a PRF on a superposition of inputs:
and coherent access is essential to this construction. Such coherent access requires preserving quantum coherence throughout the evaluation of the underlying classical primitive and may require additional ancilla qubits as well as extra time for uncomputation. This could be demanding in practice, particularly on near-term quantum devices, and it is also ironic that realizing potentially weaker primitives may be difficult in practice.
This naturally raises the following question:
Can PRS, or quantum cryptography in general, be constructed from classical primitives without coherent access?
1.1 Our results
We give a negative answer to the above question. In other words, we show that there exists a quantum channel oracle world in which OWFs exist, but PRS do not. This separation result naturally implies that fully black-box constructions of PRS from OWFs are impossible without coherent access.
Theorem 1.1 (Informal version of Theorems 4.1 and 5.1). There exists a quantum channel oracle relative to which classically computable, quantum-secure OWFs exist, but PRS with output length do not exist.
The constructions from OWFs to the other primitives in minicrypt [HILL99, GGM86, Nao91] do not involve coherent access; thus the standard classical cryptographic primitives all exist relative to this oracle, including PRGs, PRFs with classical queries, secret-key encryption, message authentication codes, and commitments (Corollary 4.2).
The main building blocks of our oracle are classically accessible random oracles [BDF 11, AK22], to which even quantum algorithms can make only classical queries. While separations relative to unitary or quantum-accessible classical oracles may better reflect standard-model computations, separations in the classically accessible model are not directly comparable to them in general: coherent access increases the power of both honest algorithms and adversaries [AK22]. Furthermore, this shows an exact difficulty of constructing one from another as discussed below.
In fact, we can show the impossibility of PRS with any classical-accessible classical oracles instead of random oracles while keeping the other components. Furthermore, the impossibility holds even when the PRS generation algorithm is allowed to output slightly mixed states. Allowing mixed-state outputs strengthens our impossibility result and better reflects realistic implementations, where noise or entanglement with discarded ancillas may prevent the output from being exactly pure.
This result shows that coherent access plays a crucial role in constructing PRS or many quantum cryptographic primitives, especially with large quantum states, from classical ones. To fully understand the assumptions and scope of the statement that PRS can be constructed from OWFs, these access requirements must be considered alongside the security properties of the underlying primitives. From this perspective, our result suggests that the relative strength of minicrypt and microcrypt depends on the oracle access model. That is, in this model without coherent access, minicrypt does not suffice for microcrypt!
PRS length extension and more. It is now well understood that the length of quantum primitives matters much more than in classical cryptography. While PRGs admit a length extension by iterating them, controlling the length of PRS appears to be much more difficult. For example, the output length of PRS is impossible to shrink in a black-box way [BEM24, CGG24].
The opposite direction of length extension was studied in many works [LV24, ALY24, BNY25] for special cases, e.g., allowing errors with tomography or quantum sampling. It is shown that quantum access to the PRFS gives long PRS, but the classical-accessible case is difficult [BEHMV26]: The impossibility is shown for the long PRS generation which does not use an ancillary qubit and only uses nonadaptive classical queries to the short PRFS.
Our result removes these conditions, showing the following oracle separation.
Corollary 1.2. With the same oracles, classical-accessible, adaptively secure log-length PRFS exists, but PRS with superlogarithmic output length does not.
Again, the PRS generation algorithm can be noisy as before, use arbitrary polynomially many ancilla qubits, and make adaptive queries to the underlying PRFS. A similar separation for single-copy-secure PRS was recently shown in [CCL 26]. This shows that the importance of coherent access holds even when the underlying primitives are quantum.
The proof is straightforward, as the output of classical-accessible RO, which can be arbitrarily long polynomially by concatenating them, can be used to generate a single logarithmic-length statistically secure random state [BS20]. The same strategy also shows the impossibility of constructing long PRS from product single-qubit pseudorandom unitaries [HMX26] as well.
See also [LLPY24] where the classical-accessible oracle was used in the complexity separation.
To our knowledge, a similar result for any classical oracle was only discussed in [QZ26].
We note an orthogonal direction to one discussed in this paper: The scalable PRS and PRFS [BS20, BCJZ26] were suggested to decouple the length and security parameter. We remark that the construction of scalable PRU is still open [BY26].
1.2 Technical overview
CAROM and QPSPACE oracle. We adopt two oracle components for different purposes. A random oracle in the classical-accessible random oracle model (CAROM) [BDF 11, AK22] provides OWFs, while an independent QPSPACE oracle, following the approach of [CCS25, BMM 25], is used to break PRS. Here, provides access to a family of random functions . The standard way to give a quantum algorithm access to a classical function is through coherent unitary access. In contrast, is a quantum channel that first measures the query register in the computational basis and then XORs the function value into the response register. The QPSPACE oracle supports polynomial-width, oracle-free unitary computations; in particular, its internal computations cannot query . Below, we explain how these two components yield the separation.
1.2.1 Construction of OWFs
By the definition of CAROM, each function can be evaluated with a single classical query to R. The usual information-theoretic bound for random-function inversion gives negligible success probability for polynomially many classical queries, regardless of the computation performed between queries. This bound remains valid when the adversary also has access to the independent QPSPACE oracle. Thus, the family R implements OWFs relative to the full oracle.
1.2.2 Oracle separation of PRS from OWFs
The more delicate part is breaking PRS. The original definition of PRS considers only pure-state outputs [JLS18]. We consider a more general setting where the output of a QPT generator may be mixed, but QPT adversaries must still have only negligible advantage in distinguishing copies of its output from copies of a Haar-random pure state. The purity test imposes a near-pure state anyway.
Our starting observation is a more fine-grained version of this observation: a simple dichotomy for general mixed states. Consider a pure-state decomposition . Informally, one of the following holds:
• (Case 1) The state has noticeably low purity.
- (Case 2) The state is nearly pure and has large overlap with some component whose weight satisfies .
Intuitively, if the state is nearly pure, components with large overlap carry a substantial fraction of the total probability. Since there are only N components, at least one of them must have sufficiently large weight. See Lemma 5.2 for the formal statement.
This dichotomy is especially useful when we apply this to the efficient algorithm’s output state: To describe the execution branches, retain discarded registers and defer all measurements to the end, including a final measurement of all nonoutput registers. Writing for the resulting unitary dilation, the state before measurement must be
so that each component state can be written as
\sqrt{p_{i}}\left|\psi_{i}\right\rangle\left|\mathsf{d}_{i}\right\rangle=(I\otimes\left|\mathsf{d}_{i}\right\rangle\langle\mathsf{d}_{i}|\)U_{A}\left|0\right\rangle. \tag{3}A similar observation for a different setting was recently used in [Hha26].
That is, the original algorithm gives another algorithm that applies a unitary followed by a binary measurement that accepts with probability , and in that case outputs the state . In other words, an efficiently generated mixed state admits a decomposition of pure states that can be generated by some efficient algorithms (albeit with small success probability).
Note that specifies all the queries to the oracle, as includes all query inputs that must be measured anyway. Furthermore, is bounded by the number of binary measurements made by the algorithm, including the oracle measurements and the final measurements of nonoutput registers, and is therefore polynomially bounded.
We apply this observation to the generator’s output state. This allows us to construct a two-stage distinguisher. If the candidate PRS has low purity, repeated SWAP tests detect an antisymmetric outcome with constant probability, whereas copies of a Haar-random pure state never produce this outcome.
In the other case, the dichotomy guarantees a pure branch with weight and large overlap with the PRS. This branch provides a candidate for an overlap test. We combine the tests for all candidate branches using the quantum OR lemma [HLM17].
We use our QPSPACE oracle to run a unitary implementation of the OR test, following [CCS25, Appendix A]. Two obstacles remain before we can apply the OR test: (i) the useful branch may have exponentially small preparation probability, and (ii) its preparation circuit accesses the random oracle , which must be removed for the QPSPACE implementation.
How to increase the branch preparation probability. To overcome the first obstacle, we amplify the probability of preparing a candidate branch while preserving its normalized output state. For now, suppose that each candidate execution index has an associated unitary preparation circuit without accessing ; we explain how to construct these circuits without below. The circuit prepares the branch state with probability . For the branch guaranteed by Case 2, applying to the challenge state padded with zero ancillas and accepting when all registers are zero gives
Even when the overlap is close to one, the factor may be exponentially small, so this test does not meet the completeness requirement of the quantum OR lemma.
We remove this small prefactor using Grover’s fixed-point amplitude amplification [Gro05]. Although the exponentially small preparation probability requires an exponentially large amplified circuit, we can show that this circuit can be printed in exponential time. Therefore, ignoring the random oracle part, the OR test detects the existence of a candidate with sufficiently large overlap. It remains to remove the random oracle from the circuit .
How to prepare each branch without R. We now address the second obstacle. Our idea is simple: we enumerate all possible answers to the random oracle queries, which can be described by classical strings thanks to the classically accessible condition. It turns out that we need to be careful about the measurements, as different measurement outcomes may induce different classical random oracle queries.
For example, suppose a generator prepares for , measures this register, queries on the outcome, and uses the reply to control a unitary that prepares its pure output. This situation
In the actual proof, we do something more complicated because of the adaptivity. We discuss this point later.
The access to QPSPACE can be dealt with using the QPSPACE oracle, as discussed in [CCS25].
introduces two different descriptions of the oracle query inputs; if the measurement outcome was and the oracle answer was y, the corresponding description may be . Otherwise, if the measurement outcome was k and the oracle answer was z, the description becomes . For each branch index i, we enumerate all possible oracle-query records d. Recall already specifies all the query inputs. Therefore, given the record d, we consider the unitary with the hardwired oracle answers in d, making . This gives a family of oracle-free candidate circuits containing, for every actual branch, a circuit that reproduces its output state and preparation probability upon postselection, so that we can apply the strategy above.
We stress that the actual situation is a little more involved. The main problem is that we first fix i, including the oracle query inputs. These may depend on the oracle replies specified when we choose d. Lemma 5.3 shows that the resulting oracle-free candidate family contains a circuit reproducing each actual branch.
Combining the tests. Let be a polynomial bound on the candidate description length, so there are at most candidates. We use copies of the challenge state for the OR test. For each candidate, we repeat the inverse-circuit test above on challenge copies, using its amplified preparation circuit, and accept only if all tests accept. Choosing the purity threshold and amplification accuracy appropriately ensures that some candidate test accepts with probability greater than in Case 2. Together, the purity tests and the OR test therefore accept PRS with constant probability.
In contrast, for a Haar-random challenge, the Haar-moment identity gives for every fixed pure state . Here is the Haar measure on -qubit pure states. Since each candidate test has average acceptance probability at most this quantity, the quantum OR lemma implies that the OR test accepts a Haar-random challenge with negligible probability when .
All candidate preparation circuits, amplified preparation circuits, and the OR test circuit used in this procedure have polynomial width and can be printed in exponential time by a classical Turing machine with a polynomial-length description that never queries R. The adversary can therefore execute the OR test with one classical-command query to QPSPACE. Combining this test with the initial purity tests gives, for each fixed generator, a QPT distinguisher using polynomially many copies with constant distinguishing advantage. Together with the existence of OWFs established above, this gives an oracle separation: relative to , quantum-secure OWFs exist, but PRS with superlogarithmic output length do not.
2 Preliminaries
Notation. We denote the security parameter by . We use for . A function is negligible if, for every positive polynomial , there exists such that for every . We use to denote a negligible function of . For a finite set , means is sampled uniformly at random from . More generally, means is sampled according to the distribution . We write as shorthand for any function in the security parameter when no confusion can arise.
2.1 Cryptographic primitives
We first recall the definitions of the classical and quantum cryptographic primitives considered in this work. Throughout, all algorithms and adversaries are uniform, and computational security is defined against quantum polynomial-time (QPT) adversaries. All length functions below are efficiently computable and polynomially bounded.
Our first main primitive is one-way functions, whose existence is necessary for essentially all of classical cryptography [IL89].
Definition 2.1 (One-way functions). Let and be the input and output lengths, respectively. A function family is a (quantum-secure) one-way function family if the following two conditions hold:
-
(Efficient computation). There is a deterministic polynomial-time classical algorithm that computes on input , where .
-
(Hard to invert). For every QPT adversary A,
We also consider the following classical cryptographic primitives. A pseudorandom generator expands a uniformly random seed into a longer string that is computationally indistinguishable from a uniformly random string.
Definition 2.2 (Pseudorandom generators). Let and be the seed and output lengths, respectively. A function family is a (quantum-secure) pseudorandom generator if the following two conditions hold:
-
(Efficient computation). There is a deterministic polynomial-time classical algorithm that computes on input , where .
-
(Pseudorandomness). For every QPT adversary A,
A pseudorandom function family consists of keyed functions that are computationally indistinguishable from a uniformly random function when the key is chosen uniformly at random. Here, we define PRFs with classical queries, allowing the adversary to perform quantum computation but restricting its queries to the challenge function to be classical [Zha12, Zha25].
Definition 2.3 (Pseudorandom functions with classical queries). Let and be the input and output lengths, respectively. A keyed function family is a (quantum-secure) pseudorandom function family with classical queries if the following two conditions hold:
-
(Efficient computation). There is a deterministic polynomial-time classical algorithm that computes on input , where and .
-
(Pseudorandomness). For every QPT adversary A making polynomially many adaptive classical queries to its challenge function,
where is the set of all functions from to .
We also use secret-key encryption (SKE) and message authentication codes (MAC) with their standard correctness requirements and, respectively, IND-CPA and EUF-CMA security against QPT adversaries making classical queries. For interactive bit commitments, we require computational hiding against QPT receivers and statistical binding against arbitrary quantum senders, with all messages and openings classical. For the classical scheme used here, binding means that the commitment transcript admits valid openings to both bits only with negligible probability. We refer to [Gol01, Gol04, Nao91] for formal definitions.
Our second main primitive is pseudorandom quantum states, whose existence is a potentially weaker assumption for quantum cryptography than the existence of OWFs. In this work, we consider the more general variant in which the generator output can be a mixed state.
Definition 2.4 (Pseudorandom quantum states). Let be the security parameter, and let be the number of qubits in the quantum system. A keyed family of quantum states is pseudorandom if the following two conditions hold:
-
(Efficient generation). There is a QPT algorithm G that generates the m-qubit state on input .
-
(Pseudorandomness). Any polynomially many copies of with the same random are computationally indistinguishable from the same number of copies of a Haar-random state. More precisely, for any QPT adversary and any ,
where is the Haar measure on m-qubit states.
2.2 Quantum property tests
We will use the following two well-known results for breaking PRS.
Lemma 2.5 (SWAP test and purity test). For all states and , the SWAP test outputs 1 with probability . In particular, if , it is called a purity test and outputs 1 with probability .
Lemma 2.6 (Quantum OR lemma [HLM17]). Let be a sequence of projectors, where corresponds to the two-outcome measurement , and let and . There is a quantum OR test that uses one copy of a state and satisfies the following.
- (Case 1) If there exists such that , then it accepts with probability at least .
• (Case 2) If , then it accepts with probability at most .
The OR test allows us to combine many candidate measurements without requiring a separate copy of the input state for each candidate.
3 Oracle Model
3.1 Oracles for quantum algorithms
We first review the oracle interfaces relevant to our separation.
Quantum oracles. Quantum oracles can provide different forms of access to the same underlying state or operation. For quantum operations, common oracle interfaces provide access to a unitary and its inverse, a unitary alone, an isometry, or a general quantum channel. Every quantum channel admits a Stinespring isometric dilation V and a unitary extension U with an environment register E, such that
In the channel interface, the environment E is traced out, and only the reduced output state is returned to the caller. Thus, although quantum channels describe more general quantum operations, oracle access to a channel can be more limited than access to its unitary extension.
Quantum oracles for classical functions. Even when the underlying object is a classical function , different oracle implementations can provide different forms of access to . Let X and Y denote the query and response registers, respectively. Coherent access to is commonly implemented by a unitary acting as
This is the standard form of coherent access to a classical function, which we call a quantumly-accessible oracle. In the classical-accessible oracle used here, the oracle first measures X in the computational basis and then XORs into Y for the measured input x. Thus, the oracle destroys coherence between distinct query inputs.
3.2 Our oracle
We now give formal definitions of the two components of the oracle .
Classical-accessible random oracle. We use a classical-accessible random oracle [BDF 11, AK22], defined as follows. For every security parameter , independently sample a function uniformly at random, where . Each function is sampled once and remains fixed for all queries. We denote the sampled function family by and its classical-accessible channel interface by . The oracle acts on an arbitrary state as
This is a well-defined CPTP map implementing the classical-accessible evaluation of described in the previous subsection. When is initialized to , its state conditioned on the measurement outcome is .
QPSPACE oracle. Following [CCS25, BMM 25], we use a QPSPACE oracle to execute polynomial-width unitary computations on quantum inputs. Roughly, it takes a classical description of an oracle-free Turing machine M, a time bound t encoded in binary, a quantum data register, and an abort qubit. We consider an interface in which the command registers encoding the Turing
Note that, in this work, a QPSPACE oracle does not refer to an oracle that takes a classical input x and decides whether using polynomial quantum space with bounded error (i.e., BQPSPACE). Rather, it takes a quantum state as input, applies a polynomial-width quantum circuit with potentially exponentially many gates to that state, and returns the resulting quantum state.
machine description and the time bound are measured in the computational basis at the start of each call, thereby destroying coherence between distinct classical commands. The oracle runs M for at most t steps. If M halts within t steps and outputs a valid oracle-free unitary quantum circuit on exactly the data register, then it applies that circuit to the data register. Note that t is encoded in binary; hence, a polynomial-length command can specify exponentially many gates for the QPSPACE oracle to execute.
More formally, the oracle is defined as follows:
Definition 3.1 (Oracle model). The oracle is defined as follows:
• Classical-accessible random oracle R,
– Input: , where X is a -qubit query register and Y is an n-qubit response register.
– Output: .
• QPSPACE oracle,
– Input: command registers encoding , , a quantum data register, and an abort qubit initialized to .
– Action: measure the command registers in the computational basis and run the specified oracle-free Turing machine M. If M halts in at most t steps and outputs a valid oracle-free unitary circuit C acting on exactly the data register, apply C to that register. Otherwise, leave the data register unchanged and flip the abort qubit.
– Output: the measured command registers, the data register, and the abort qubit.
4 Constructions of OWFs
The following theorem establishes the existence of quantum-secure OWFs in our oracle world. The proof is standard, but we include it for completeness.
Theorem 4.1. With probability 1 over the choice of the random functions , the induced classical function family is a quantum-secure OWFs relative to .
Proof. We simply define the classical function , for all . The function family is efficiently computable relative to since the computation can be implemented by a single query to the oracle as follows: first prepare the state , then query , and finally measure the response register in the computational basis.
It remains to prove that is an OWFs against any quantum polynomial-time adversary with access to the oracle . Note that since the oracle QPSPACE does not depend on the random oracle , we may regard the adversary together with all of its QPSPACE-queries as a single adaptive strategy; only its -queries access fresh information about . Also, at security parameter , the adversary might query other random-oracle components with . However, the random oracles at distinct security parameters are independent. Thus, we condition on all such independent components and analyze only the queries to .
Suppose the challenger samples , and gives to the adversary. Since is a QPT adversary, it makes at most queries to for some polynomial . We count the adversary's final output as an additional hypothetical query, since may satisfy
This construction uses the oracle only on computational-basis states, and hence constitutes classical oracle access.
even if it was never queried. Because first measures , each query to the channel oracle can be simulated exactly by one classical query followed by the corresponding XOR shift on ; hence the pair is well defined even when the query and response registers are entangled with the adversary's workspace.
Let denote the ith queried inputs and responses, padding the list if needed and treating the final output as a hypothetical last query, where . Let be the event that the ith query finds a preimage of , i.e., . For a fixed choice of the function family , denote the success probability of the adversary by
We now bound the expectation of this success probability over the choice of the random function family R. This is bounded as
Define the disjoint events , to denote that the first inversion event occurs on the ith query, i.e., . Then,
where the first line uses , the equality uses disjointness, and the last inequality follows from the chain rule. For simplicity, we denote the failure history by .
There are two cases for a successful query. First, the adversary queries the planted input , that is, . Second, it queries another preimage with .
Conditioned on a complete failure transcript, the planted input is uniform among the unqueried inputs. There are at least such inputs. At any other fresh input, the function value remains uniform in ; a repeated query cannot succeed after this failure history. Averaging over these transcripts, the success probability of the ith attempt is bounded as
Therefore, we obtain
The adversary may also query with and QPSPACE; throughout this proof, query means a query to .
where the last inequality holds for all sufficiently large , since is polynomial and . By Markov's inequality,
Since is polynomial in , we have . By the Borel-Cantelli lemma, with probability 1 over ,
for all sufficiently large . Since there are only countably many QPT adversaries, this bound holds simultaneously for every QPT adversary. Therefore, with probability 1 over , the function family is classically computable and quantum-secure one-way relative to .
Note that we do not assume that A is classical. A may use arbitrary quantum computation and entangle its workspace with the query and response registers. However, since the oracle R first measures the input register, each oracle call is exactly reducible to one adaptively chosen classical input-output pair, as formalized above.
Theorem 4.1 also gives the following classical primitives.
Corollary 4.2. With probability 1 over the choice of the random functions , the following primitives exist relative to :
• quantum-secure PRGs with any polynomial output length,
• quantum-secure PRFs with classical queries,
• IND-CPA-secure SKE and EUF-CMA-secure MAC,
• statistically binding, computationally hiding interactive bit commitments.
All honest algorithms are classical polynomial-time algorithms using only classical queries to R. Computational security holds against QPT adversaries with the full access to O prescribed by our oracle model.
Proof. Fix satisfying Theorem 4.1. The HILL and GGM constructions give quantum-secure PRGs and PRFs with classical queries [HILL99, GGM86, Zha12, Zha25]. Their reductions evaluate the underlying functions only on classical inputs and run the adversary with its prescribed -access unchanged. Consequently, a non-negligible attack gives a QPT inverter for relative to the same . Standard PRF-based constructions give the encryption and authentication schemes [GGM85], and Naor's construction gives the commitments [Nao91]. Their computational-security reductions have the same access property. For binding, use a PRG with seed length and output length . For every fixed , the receiver's uniform -bit challenge belongs to the set of XOR differences of two PRG outputs with probability at most . Outside this event, no commitment transcript has valid openings to both bits, regardless of the sender's computation or oracle access. All honest algorithms use only classical evaluations of , so the conclusion holds on the probability-one event of Theorem 4.1.
Together, Corollary 4.2 and Theorem 5.1 show that these classical primitives can exist in an oracle world without PRS of output length .
5 Oracle Separation of PRS from OWFs
Finally, we prove our main result.
Theorem 5.1. For every choice of the random functions R, there is no PRS with output length relative to the oracle O.
In this section, we denote the density matrix of a pure state as , and for a fixed , we write . In the following subsections, we first analyze the properties of an arbitrary QPT generator that may produce mixed outputs. We show that its output state either has low purity or has a large overlap with a particular pure state in its mixed-state decomposition that occurs with at least inverse-exponential probability. This dichotomy suggests the following attack. In the low-purity case, a purity test suffices to detect the output. Otherwise, we construct preparation circuits for all possible branches and use an OR test to detect whether any candidate has sufficiently large overlap with the output state. Finally, we show that the OR test can be implemented through QPSPACE and analyze the distinguishability advantage of the adversary.
5.1 Constructing an oracle-free branch
Dichotomy. Since we allow the PRS generator to perform intermediate measurements, query the quantum channel oracle , and discard work registers, the resulting PRS state may naturally be mixed. The following lemma establishes a useful property of general mixed states. It states that if a mixed state is nearly pure, then a branch of probability at least has a large overlap with the mixed state.
Lemma 5.2. Let be a state with a finite pure-state decomposition, and let . Then, one of the following holds:
• (Case 1) , or
• (Case 2) and there is an index such that
Proof. Suppose that . From the assumption, we have
By Markov's inequality, the indices with overlap at least have total probability at least . Since there are at most such indices, one index has probability at least .
In the first case, repeated purity tests suffice to detect mixedness. In the second case, the lemma guarantees only the existence of such a branch. The adversary does not know which branch satisfies the guarantee, and there are exponentially many possible branches. Moreover, to preserve the security of OWFs, the oracle QPSPACE cannot directly execute . We therefore introduce the following lemma.
Oracle-free branch. We apply the above lemma to the pure-state decomposition induced by the complete execution branches of . To define these branches, we retain discarded registers and include the outcomes of a final measurement of all nonoutput registers. Distinct complete records together with their input keys receive distinct descriptors d of polynomial length because runs in polynomial time.
Lemma 5.3. For any uniform QPT generator , there exist a polynomial and a family of oracle-free unitaries on qubits satisfying the following:
-
(Uniform construction.) A single R-independent Turing machine, given , prints in time .
-
(Branch reproduction.) For every fixed and key , each actual branch of has a distinct descriptor . Postselecting the nonoutput qubits of on the all-zero outcome succeeds with exactly that branch's probability and prepares its normalized output state.
Proof. Fix R and k. Our goal is to construct, for each complete branch of , an oracle-free unitary that reproduces the branch's probability and output state upon postselection. We first handle the operations of other than its oracle calls. By unitary dilation and the principle of deferred measurement, we can implement these operations unitarily, coherently recording intermediate measurement outcomes and retaining the environment registers. For a proposed record, fix subsequent classical controls to the prescribed outcomes. Together with a final measurement of all nonoutput registers, the recorded outcomes specify complete branches i and give
where each record also includes the inputs measured by and the , measured by QPSPACE.
We next remove the oracle calls. Once a measured command is fixed, QPSPACE runs the oracle-free circuit specified by that command (or applies the prescribed abort flip), so we can insert that operation directly. At an R call, the measured input is already part of the branch record, but its reply is unknown. We therefore allow every possible reply as a candidate.
Let contain , the proposed complete record, and the proposed replies. Use these values to construct an oracle-free unitary, while recording the inputs and commands measured by the oracles for final postselection. If matches an actual branch , the fixed oracle actions agree with those of that branch. Unitary dilation and deferred measurement preserve its unnormalized output and probability, so postselection gives . Flipping the nonoutput bits specified by yields a unitary for which the same postselection outcome is all zero for every candidate. Thus it succeeds with probability and prepares .
Finally, uses polynomially many qubits and oracle calls. The polynomial-length binary time bound of its QPSPACE calls allows their circuits to be printed in time. Choose large enough for the descriptors, circuit width, and all command lengths, and extend every to qubits by adding all-zero qubits. Malformed descriptors are assigned the identity circuit. A single uniform Turing machine, independent of , then prints from in time . Distinct actual branches have distinct length- descriptors, so there are at most of them.
5.2 Amplified candidate states for OR test
By Lemma 5.3, we can enumerate a family of oracle-free unitaries that contains, for every key k and every random function family R, a unitary corresponding to each possible execution branch of the PRS generator. We use projectors associated with these unitaries as candidates for an OR test that distinguishes PRS outputs from Haar-random states.
Of the qubits on which acts, let denote the first output qubits and the remaining qubits. For each descriptor , let be the probability of obtaining after applying to . If , let be the corresponding normalized pure state on . For an actual branch with descriptor , we have and where and are the corresponding branch probability and pure state in . Given an -qubit state , define
To apply the completeness guarantee of the quantum OR lemma with when the challenge state is a PRS, it suffices to find a descriptor for which . In Case 2 of Lemma 5.2, taking and guarantees an actual branch with and . For its corresponding descriptor , we obtain
Since this lower bound is below 1/2, it does not establish the completeness condition for the OR test. We first amplify the preparation probability of each candidate branch.
We use the fixed-point amplification method of [Gro05]. The recursion does not require the exact initial success probability: the lower bound from Lemma 5.2 suffices to choose the number of steps. This particular construction does not achieve the query scaling of ordinary amplitude amplification. That cost is acceptable here because the amplified circuit has exponential length but polynomial width, and we will include it in the oracle-free OR-test circuit executed by QPSPACE.
For each descriptor , set and take as the starting state. The target subspace consists of the states for which is all zero. Let be its projector. The two phase rotations of [Gro05] become
Using these rotations, define the unitary at the next step recursively by
If is the probability that lies in the target subspace, the fixed-point identity gives
Thus, the failure probability is cubed at each step. After steps, let . Its success probability is
For the descriptor corresponding to the branch guaranteed by Lemma 5.2, the initial success probability is . Hence, for all sufficiently large ,
When applied to , each update stays within the span of and . Its component in the target subspace therefore retains its direction. For the descriptor of branch , postselection on still prepares on .
Each step uses a constant number of copies of the preceding circuit and its inverse. Thus, after steps, has copies of the original circuit, retains polynomial width, and can still be printed by an -independent machine in time . From this point on, redefine using the amplified unitaries:
For the descriptor guaranteed by Case 2, both and are at least . Therefore, in this case there exists a candidate satisfying
where the second inequality follows by applying Bernoulli's inequality to . Thus, the amplified projectors satisfy the completeness condition of the quantum OR lemma for the PRS outputs in Case 2.
5.3 The adversary and its analysis
The adversary. The adversary can access the quantum channel oracle and can perform intermediate measurements and discard registers.
• Input: 3L copies of a test state .
• Procedure:
-
Perform purity tests on disjoint pairs of the first copies. If any test returns the antisymmetric outcome (labeled 0), then return .
-
Otherwise,
(a) Prepare from the remaining copies, together with an -qubit counter register initialized to , a flag register initialized to , and an index register initialized to for the OR test, together with any required zero-initialized work qubits.
(b) Send the classical command ( , ), the prepared query registers, and an abort qubit initialized to to QPSPACE, where M prints the unitary OR-test circuit within t steps.
(c) Measure the counter register. If the outcome is nonzero, return b = 1; otherwise, return b = 0.
• Output: , where denotes a Haar-random state and denotes a PRS.
The above attack can distinguish PRS outputs from Haar-random states in polynomial time with a single query to QPSPACE.
Lemma 5.4. The adversary A that distinguishes PRS outputs from Haar-random states can be implemented by a QPT algorithm with a single query to QPSPACE.
Proof. We check that the unitary OR construction of [CCS25, Remark 5.3 and Appendix A] applies in our setting and that all remaining operations of A have polynomial size.
By Lemma 5.3 and the amplification above, each measurement has a coherent implementation of polynomial width using , its inverse, and an all-zero test. These circuits can be printed uniformly from in time by an -independent procedure, which gives a polynomial-length description of the entire measurement family. To specify the accepting outcomes, let
The OR test alternates the measurements with accepting projectors and . For candidates and , the construction in [HLM17] uses rounds. For each accepting projector, we coherently compute the outcome into the flag, increment the counter when the flag is 1, and uncompute the flag. An -qubit counter prevents overflow throughout these tests. Since the counter only increases, its zero component is exactly the branch in which every test rejects, with operator on the input . Thus, accepting precisely when the final counter is nonzero reproduces the OR test's acceptance probability. The entire oracle-free circuit has polynomial width and can be printed by an -independent classical Turing machine in time .
For the fixed PRS generator, the adversary can construct from this printing procedure and prepare a sufficiently large binary time bound in polynomial time, and hence execute the entire circuit with a single query to QPSPACE. All remaining operations, namely the purity tests, preparation of the query registers, and final counter measurement, have polynomial size.
Now we are ready to prove our main theorem. The remaining task is to analyze the acceptance probability of each state.
Proof of Theorem 5.1. It remains to show that the QPT adversary described above has a non-negligible distinguishing advantage between the generator's output and a Haar-random state.
The adversary’s attack has two stages, a purity test and an OR test. Let be the probability that at least one purity test returns the antisymmetric outcome 0, and let be the probability that the OR test returns 1 on . Since a single purity test returns the antisymmetric outcome with probability , we have
The two stages use disjoint copies. The probability that the adversary accepts the given state, that is, decides that it is a PRS output, is
We analyze the adversary’s acceptance probabilities on PRS and Haar-random states by bounding the probability of each stage.
Acceptance on PRS. First, fix and . Apply Lemma 5.2 with and . Depending on the purity of the mixed output state of , there are two cases.
If , then
In this case, the state's purity is already sufficiently low, so the purity test alone gives a sufficiently large acceptance probability.
On the other hand, if , we are in Case 2. Applying Eq. (35), some candidate satisfies . By the quantum OR lemma with ,
The adversary’s acceptance probability is at least , and hence at least 1/28.
Thus, for every fixed R and k, the adversary accepts with probability at least 1/28. Averaging over a uniformly random key k gives
Acceptance on Haar-random states. Let . Since a Haar-random state is pure, and . It therefore suffices to bound the OR test's acceptance probability. We use the basic Haar-moment identity [Har13]. For any fixed pure state ,
Thus, each candidate state produced by each candidate circuit has a small average overlap with a Haar-random state. For each descriptor with ,
The same upper bound holds if , since then .
Apply the quantum OR lemma to the averaged Haar input . By linearity of the acceptance probability, we obtain
(49) where the third inequality follows from . Since is polynomial and , we have for all sufficiently large .
Thus, for every possible PRS generator and every , the adversary distinguishes its output from a Haar-random state with non-negligible advantage, at least . Hence PRS with output length do not exist relative to .
AI use disclosure
OpenAI GPT-6 Astra was used to prepare an initial written draft of the proofs based on the authors' arguments. The authors subsequently revised and refined the proofs themselves, while GPT-6 Astra was also used to polish the written presentation. The authors take full responsibility for the content of this work.
Acknowledgments
C.O. and V.S. were supported by the National Research Foundation of Korea Grants (No. RS-2024-00431768 and No. RS-2025-00515456) funded by the Korean government (Ministry of Science and ICT (MSIT)) and the Institute of Information & Communications Technology Planning & Evaluation (IITP) Grants funded by the Korean government (MSIT) (No. RS-2024-00437284, No. IITP-2025-RS-2025-02283189 and No. IITP-2025-RS-2025-02263264) by Global Partnership Program of Leading Universities in Quantum Science and Technology (RS-2025-08542968) through the National Research Foundation of Korea (NRF) funded by the Korean government (Ministry of Science and ICT (MSIT)).
References
[ABF 24] Scott Aaronson, Adam Bouland, Bill Fefferman, Soumik Ghosh, Umesh Vazirani, Chenyi Zhang, and Zixin Zhou. Quantum pseudoentanglement. In ITCS 2024, pages 2:1–2:21, 2024.
[AK22] Prabhanjan Ananth and Fatih Kaleoglu. A note on copy-protection from random oracles. Cryptology ePrint Archive, Paper 2022/1109, 2022.
[ALY24] Prabhanjan Ananth, Yao-Ting Lin, and Henry Yuen. Pseudorandom strings from pseudorandom quantum states. In ITCS 2024, volume 287 of LIPIcs, pages 6:1–6:22. Schloss Dagstuhl, 2024.
[AQY22] Prabhanjan Ananth, Luowen Qian, and Henry Yuen. Cryptography from pseudorandom quantum states. In Advances in Cryptology – CRYPTO 2022, Part I, volume 13507 of Lecture Notes in Computer Science, pages 208–236. Springer, 2022.
[BCJZ26] Rishabh Batra, Zhili Chen, Rahul Jain, and YaoNan Zhang. Scalable, quantum-accessible, and adaptive pseudorandom quantum state and pseudorandom function-like quantum state generators. In CRYPTO 2026, Part V, volume 16804 of LNCS, pages 215–246. Springer, 2026.
[BDF 11] Dan Boneh, Özgür Dagdelen, Marc Fischlin, Anja Lehmann, Christian Schaffner, and Mark Zhandry. Random oracles in a quantum world. In Dong Hoon Lee and Xiaoyun
Wang, editors, Advances in Cryptology – ASIACRYPT 2011, pages 41–69, Berlin, Heidelberg, 2011. Springer Berlin Heidelberg.
[BEHMV26] Samuel Bouaziz-Ermann, Minki Hhan, Garazi Muguruza, and Quoc-Huy Vu. On limits on the provable consequences of quantum pseudorandomness. In Advances in Cryptology – ASIACRYPT 2026, 2026. To appear.
[BEM24] Samuel Bouaziz-Ermann and Garazi Muguruza. Quantum pseudorandomness cannot be shrunk in a black-box way. Cryptology ePrint Archive, Paper 2024/291, 2024.
[BMM 25] Amit Behera, Giulio Malavolta, Tomoyuki Morimae, Tamer Mour, and Takashi Yamakawa. A new world in the depths of microcrypt: Separating OWSGs and quantum money from QEFID. In Advances in Cryptology – EUROCRYPT 2025, Part VII, volume 15607 of Lecture Notes in Computer Science, pages 23–52, 2025.
[BNY25] Mohammed Barhoush, Ryo Nishimaki, and Takashi Yamakawa. MicroCrypt assumptions with quantum input sampling and pseudodeterminism: Constructions and separations. In ASIACRYPT 2025, Part VIII, volume 16252 of LNCS, pages 516–548. Springer, 2025.
[BS19] Zvika Brakerski and Omri Shmueli. (pseudo) random quantum states with binary phase. In Theory of Cryptography – TCC 2019, Part I, volume 11891 of Lecture Notes in Computer Science, pages 229–250. Springer, 2019.
[BS20] Zvika Brakerski and Omri Shmueli. Scalable pseudorandom quantum states. In Daniele Micciancio and Thomas Ristenpart, editors, Advances in Cryptology – CRYPTO 2020, Part II, volume 12171 of Lecture Notes in Computer Science, pages 417–440. Springer, 2020.
[BY26] Zvika Brakerski and Henry Yuen. On scalable pseudorandom unitaries and the unitary synthesis problem. In CRYPTO 2026, Part V, volume 16804 of LNCS, pages 372–401. Springer, 2026.
[CCL 26] Boyang Chen, Andrea Coladangelo, Yao-Ting Lin, Nikos Skoumios, Justin Tysdal, and Yiming Wang. On the limits of stretching quantum pseudorandomness, 2026.
[CCS25] Boyang Chen, Andrea Coladangelo, and Or Sattath. The power of a single Haar random state: Constructing and separating quantum pseudorandomness. In Advances in Cryptology – EUROCRYPT 2025: 44th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Madrid, Spain, May 4–8, 2025, Proceedings, Part VII, page 108–137, Berlin, Heidelberg, 2025. Springer-Verlag. See also the corrected version, arXiv:2404.03295v4.
[CGG24] Kai-Min Chung, Eli Goldin, and Matthew Gray. On central primitives for quantum cryptography with classical communication. In CRYPTO 2024, Part VII, volume 14926 of LNCS, pages 215–248. Springer, 2024.
[FLM 26] Ben Foxman, Alex Lombardi, Fermi Ma, Barak Nehoran, and John Wright. Quantum lazy sampling and path recording for any group. Cryptology ePrint Archive, Paper 2026/1510, 2026.
[GGM85] Oded Goldreich, Shafi Goldwasser, and Silvio Micali. On the cryptographic applications of random functions. In Proceedings of CRYPTO 84 on Advances in Cryptology, page 276–288, Berlin, Heidelberg, 1985. Springer-Verlag.
[GGM86] Oded Goldreich, Shafi Goldwasser, and Silvio Micali. How to construct random functions. Journal of the ACM, 33(4):792–807, 1986.
[Gol01] Oded Goldreich. Foundations of Cryptography: Volume 1, Basic Tools. Cambridge University Press, 2001.
[Gol04] Oded Goldreich. Foundations of Cryptography: Volume 2, Basic Applications. Cambridge University Press, 2004.
[Gro05] Lov K. Grover. Fixed-point quantum search. Phys. Rev. Lett., 95:150501, Oct 2005.
[GTB23] Tudor Giurgič-Tiron and Adam Bouland. Pseudorandomness from subset states, 2023.
[Har13] Aram W. Harrow. The church of the symmetric subspace, 2013.
[Hha26] Minki Hhan. Derivatives of quantum randomness: Separating pseudorandom unitaries from pseudorandom (function-like) states, 2026.
[HILL99] Johan Håstad, Russell Impagliazzo, Leonid A. Levin, and Michael Luby. A pseudorandom generator from any one-way function. SIAM Journal on Computing, 28(4):1364–1396, 1999.
[HLM17] Aram W. Harrow, Cedric Yen-Yu Lin, and Ashley Montanaro. Sequential measurements, disturbance and property testing. In Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA '17, page 1598–1611, USA, 2017. Society for Industrial and Applied Mathematics.
[HMX26] Minki Hhan, Tomoyuki Morimae, and Keita Xagawa. Quantum cryptography without entanglement. In Theory of Cryptography – TCC 2026, 2026. To appear.
[IL89] Russell Impagliazzo and Michael Luby. One-way functions are essential for complexity-based cryptography. In 30th Annual Symposium on Foundations of Computer Science (FOCS), pages 230–235, 1989.
[JLS18] Zhengfeng Ji, Yi-Kai Liu, and Fang Song. Pseudorandom quantum states. In Hovav Shacham and Alexandra Boldyreva, editors, Advances in Cryptology – CRYPTO 2018, pages 126–152, Cham, 2018. Springer International Publishing.
[JMW23] Fernando Granha Jeronimo, Nir Magrafta, and Pei Wu. Pseudorandom and pseudoentangled states from subset states, 2023.
[KQT25] William Kretschmer, Luowen Qian, and Avishay Tal. Quantum-computable one-way functions without one-way functions. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC '25, page 189–200, New York, NY, USA, 2025. Association for Computing Machinery.
[Kre21] William Kretschmer. Quantum pseudorandomness and classical complexity. In 16th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2021), volume 197 of Leibniz International Proceedings in Informatics, pages 2:1–2:20, 2021. For corrected proof see arXiv:2103.09320v5 (2024).
[LLPY24] Xingjian Li, Qipeng Liu, Angelos Pelecanos, and Takashi Yamakawa. Classical vs quantum advice and proofs under classically-accessible oracle. In ITCS 2024, volume 287 of LIPIcs, pages 72:1–72:19, 2024.
[LV24] Romi Levy and Thomas Vidick. PRS length expansion. arXiv preprint arXiv:2411.03215, 2024.
[MH25] Fermi Ma and Hsin-Yuan Huang. How to construct random unitaries. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC '25, page 806–809, New York, NY, USA, 2025. Association for Computing Machinery.
[MPSY24] Tony Metger, Alexander Poremba, Makrand Sinha, and Henry Yuen. Simple constructions of linear-depth t-designs and pseudorandom unitaries. In FOCS 2024, pages 485–492, 2024.
[MY22] Tomoyuki Morimae and Takashi Yamakawa. Quantum commitments and signatures without one-way functions. In Advances in Cryptology – CRYPTO 2022, Part I, volume 13507 of Lecture Notes in Computer Science, pages 269–295. Springer, 2022.
[Nao91] Moni Naor. Bit commitment using pseudorandomness. Journal of Cryptology, 4:151–158, 1991.
[QZ26] Luowen Qian and Mark Zhandry. Impersonating quantum secrets over classical channels. Cryptology ePrint Archive, Paper 2026/005, 2026.
[Zha12] Mark Zhandry. How to construct quantum random functions. In 53rd Annual IEEE Symposium on Foundations of Computer Science (FOCS 2012), pages 679–687. IEEE Computer Society, 2012.
[Zha25] Mark Zhandry. A note on quantum-secure PRPs. Quantum, 9:1696, 2025.