betaFeedback

WorksPhysics and Astronomy

Random-Oracle Unitary Synthesis is Impossible

Abstract

A major open problem in quantum complexity is the question of unitary synthesis—namely, is it possible to efficiently implement any unitary, given the ability to evaluate any classical function in superposition? Inspired by a recent work by Brakerski and Yuen (CRYPTO 2026), we propose an ``average-case'' unitary synthesis problem, which asks whether it is possible to efficiently implement a Haar random unitary given access to a random Boolean function. We then demonstrate a superpolynomial query lower bound, establishing that unitary synthesis in this model is impossible. Along with our main result, we settle in the negative a question Brakerski and Yuen pose, of whether scalable pseudorandom unitaries (PRUs) can be implemented in the ROM-PRU model. In particular, we show that in the ROM-PRU model, no Ω(N1+γ)Ω(N^{1+γ}) unitary design on nn qubits, where N=2nN=2^n, can be efficiently achieved for any γ>0γ> 0. On the other hand, we construct an O(N)O(N)-design in poly(n)\text{poly}(n) queries in the same model, surpassing the previously best known results which constructed O(N)O(\sqrt{N})-designs.

Introduction

Although all unitary transformations are allowed by the laws of nature, only a tiny sliver of them can actually be implemented efficiently on a quantum computer. This distinction, between nn-qubit unitaries UU which are easy to implement and those which are hard, is at the heart of many of the most fundamental questions in quantum computing, as there are many important unitaries for which we still cannot determine which of the two cases they fall into. A similar question has been deeply studied in the world of classical computing, where it is just as unclear how to determine precisely which Boolean functions f:{0,1}n→{0,1}f : \{0,1\}^{n} \to\{0,1\} are hard to compute. It is therefore a matter of great interest to understand whether there is a rigorous connection between the hardness of unitaries and functions, or whether the similarity is merely superficial.

This question, known as the Unitary Synthesis Problem, was first posed by Aaronson and Kuperberg [1], who asked whether for every unitary UU there exists a Boolean function ff such that we can efficiently compute UU given an oracle to ff. If true, it would mean that behind every hard-to-compute unitary, there is an equally hard-to-compute function; if false, it would mean some unitaries remain hard, even in a world where all functions are easy. Answering this question has become especially urgent in recent years due to the advent of quantum cryptography, where the underlying security is based on the hardness of computing certain unitaries UU [12, 10]. Without a resolution to the Unitary Synthesis Problem, it is unclear whether traditional complexity theory (which is about the hardness of computing Boolean functions) has anything to say about such questions, or whether we will need to invent a new, intrinsically quantum, complexity theory [2, 28].

Progress on the Unitary Synthesis Problem has so far been rather modest. The best evidence against it comes from a lower bound that states that one cannot in general efficiently synthesize UU with just a single query to the function ff [13]. However, it was recently shown that the proof techniques behind this result can be extended to apply to unitaries UU which can be synthesized with two (!) queries [7], so it is not clear how strong a piece of evidence this is.

On the flip side, designing algorithms for unitary synthesis has also proven challenging, and what we have so far is a motley crew of upper bounds for different parameter regimes. There is, for example, a simple procedure for unitary synthesis based on the Bernstein-Vazirani algorithm [4] which only makes one query to the function ff, but it is inefficient as it requires exponentially many ancilla qubits [13]. On the other hand, the best known result for a polynomial space algorithm, due to Rosenthal [19], makes exponentially many queries to the function ff. Our computationally efficient unitary synthesis algorithms are even more limited: they are few in number, and they can only synthesize small, highly structured classes of unitaries (see [26, 27] for a good survey of these), none of which resemble general unitaries.

This was at least the case until the recent remarkable construction of pseudorandom unitaries (PRUs) due to [16, 14]. A PRU is a family of efficiently-computable nn-qubit unitaries {Uk}k\{U_k\}_k such that a randomly chosen UkU_k is indistinguishable from a Haar-random unitary to query-bounded adversaries. The particular family that the work [16] introduced is known as the PFC ensemble, and a random unitary in this ensemble can be computed efficiently in the Random Oracle Model (ROM), in which one is given oracle access to a uniformly random function ff. The breakthrough work of Ma and Huang [14] established that a random UkU_k drawn from this ensemble is indistinguishable from a Haar-random unitary to arbitrary algorithms that make up to o(N)o(\sqrt{N}) queries (where N=2nN = 2^n). This gave the first evidence that polynomial-time quantum algorithms can exploit access to a function ff to synthesize a large class of unitaries which, while not completely generic, still possess many features of Haar-random unitaries.

But can we do better? In previous constructions, the query-security of a pseudorandom unitary depended upon the number of qubits that the unitary acts on. What cryptographers would really like is to decouple the security of the PRU from the number of qubits involved. This notion, known as a scalable PRU, would be a PRU which is parameterized by κ\kappa, the desired security parameter.1 While the PFC ensemble is known to be distinguishable from a Haar-random unitary with O(N)O(\sqrt{N}) queries, by choosing κ\kappa appropriately, a scalable PRU can achieve any poly⁡(N)\operatorname{poly}(N) security.

This question was considered in the recent work of Brakerski and Yuen [5], who showed that designing sufficiently good scalable PRUs in the random oracle model would resolve the Unitary Synthesis Problem in the positive direction! In fact, they showed something even stronger: once you have designed a PRU in the random oracle model secure against O(N2)O(N^2) queries, you must have solved the Unitary Synthesis Problem. The reason is simple: once you are allowed to make O(N2)O(N^2) queries, you can run the unitary tomography algorithm of [11] and learn the unitary up to some approximation error. So the only way a PRU can be secure against O(N2)O(N^2) queries is if it closely mimics a Haar-random unitary, which immediately yields a circuit that can approximately synthesize most unitaries.

This result suggests two equally tantalizing possibilities. On the one hand, if one believes that efficient unitary synthesis is not possible in general, then it may suggest that scalable PRUs do not exist. This would rule out the only existing approach to construct what is a very natural cryptographic object. On the other hand, if one believes that efficient unitary synthesis is possible, then this result provides a clear route for achieving it: “simply” take the PFC construction and modify it to improve its security by a mere polynomial factor, from o(N)o(\sqrt{N}) queries to O(N2)O(N^2).

So which is it? This is the question we study in this work.

Our Results

To state our results, let us begin by highlighting a key difference between many unitary synthesis algorithms and those that arise from PRU constructions in the random oracle model. As we have already seen, to compute a unitary UU, a unitary synthesis algorithm is given query access to a Boolean function fUf_U to help it, and this function may be highly structured and may depend on the unitary UU in arbitrary and complicated ways. For example, the Bernstein-Vazirani-based unitary synthesis algorithm takes an N×NN \times N unitary UU, represents it as a bitstring of length O~(N2)\widetilde{O}(N^2), takes the 2O~(N2)2^{\widetilde{O}(N^2)}-bit-long Hadamard encoding of this string, and uses this as the highly structured function fUf_U. On the other hand, a PRU algorithm in the random oracle model, such as the algorithm which synthesizes PFC unitaries, takes in a uniformly random oracle ff, which has no structure to speak of, and is still expected to convert it to a (somewhat) random-looking unitary. Motivated by this, we introduce the definition of a random-oracle unitary synthesis algorithm, which is one that converts random bits into Haar random unitaries.

Definition 1.1 (Random-oracle unitary synthesis, informal; see Definition 3.6). Let A(⋅)A^{(\cdot)} be an oracle algorithm with nn qubits of input and nn qubits of output, and let A(f)A^{(f)} be the channel it computes given oracle access to the Boolean function ff. Then A(⋅)A^{(\cdot)} is a random-oracle unitary synthesis algorithm with error ϵ\epsilon if there is a coupling (f,U)(f,U) between a uniformly random Boolean function ff and a Haar random unitary U∈U(N)U \in U(N) such that

E(f,U)D⋄(A(f),ΦU)≤ϵ,\mathbb{E}_{(f,U)} D_{\diamond}\left(A^{(f)},\Phi_U\right) \le\epsilon,

where ΦU\Phi_U is the unitary channel corresponding to UU.

This definition is meant to capture the type of unitary synthesis algorithm we could hope for if it was possible to extend the PFC ensemble to a full unitary synthesis algorithm. It is inspired by the definition of ROM-PRUs due to Brakerski and Yuen [5], and the two definitions can be found formally stated in § 3, where we compare them. Our first main result is that there is no efficient algorithm for random-oracle unitary synthesis, so long as the error ϵ\epsilon is even slightly nontrivial (meaning that it is bounded away from 1 by a 1/poly⁡(n)1/\operatorname{poly}(n) factor).

Theorem 1.2 (No random-oracle unitary synthesis). Suppose A(⋅)A(\cdot) is an nn-qubit random-oracle unitary synthesis algorithm with error ϵ\epsilon, and ϵ≤1−1/poly⁡(n)\epsilon\le1 - 1/\operatorname{poly}(n). Then if kk is the number of queries A(⋅)A(\cdot) makes to the random oracle, we must have

k≥Npoly⁡(n).k \ge\frac{\sqrt{N}}{\operatorname{poly}(n)}.

Hence, any efficient unitary synthesis algorithm must use Boolean functions which are highly structured. Via the results of Brakerski and Yuen, this also tells us, intuitively, that although there are PRUs in the random oracle model secure against adversaries which make o(N)o(\sqrt{N}) queries, they cannot be secure against adversaries which make O(N2)O(N^2) queries. For our next results, we will identify the number of queries between these two extremes at which PRUs must become insecure.

First, why are all of our PRUs “stuck” at being secure against only o(N)o(\sqrt{N}) queries? For the PFC ensemble, the answer is simply that it is insecure against any larger number of queries. But for other candidate PRUs, the answer is in the dominant paradigm for analyzing PRUs, which is to focus on the so-called “distinct subspace”. The distinct subspace arises naturally if we imagine a TT-query adversary that prepares TT standard basis vectors ∣x1⟩…∣xT⟩\lvert x_1\rangle\ldots\lvert x_T\rangle in tensor product and then queries the unknown unitary in parallel across these states. In this case, the distinct subspace corresponds to the tensor products where the elements x1,…,xT∈[N]x_1,\ldots,x_T \in[N] are all distinct. When the number of queries T=o(N)T = o(\sqrt{N}), there are often tricks we can play to pretend as though we are in the distinct subspace, and doing so can make the remaining analysis significantly easier. However, once T=Ω(N)T = \Omega(\sqrt{N}), one is forced to consider non-distinct subspaces as well, and we have not had any luck in analyzing PRUs in this regime. It has therefore been an open question if the reason we are stuck at o(N)o(\sqrt{N})-query security is merely technical, or if something more fundamental is going on. We show that it is merely a technical obstruction after all, and that one can push the security all the way to T=O(N)T = O(N) queries.

Theorem 1.3 (An O(N)O(N)-query secure PRU). There is a PRU in the random oracle model which is secure against any adversary which makes O(N)O(N) queries.

We note that the PRU in this construction is efficient in the sense that the number of times it needs to query the random oracle is only poly⁡(n)\operatorname{poly}(n); however, unlike in the case of the PFC ensemble, we do not know how to implement it in a computationally efficient manner. We do believe that this is only a technical barrier, however, and that O(N)O(N)-query security should be achievable even by PRU algorithms which are query-efficient and computationally efficient.

The PRU-synthesizing algorithm in this construction is easy to describe: it computes the unitary

U=FnHn⋯F1H1F0,U = F_nH_n\cdots F_1H_1F_0,

where each HiH_i is a fixed nn-qubit unitary, and each FiF_i can be viewed as a query to a separate nn-bit random function fif_i. This unitary UU is generated from O~(N)\widetilde{O}(N) random bits. To push beyond O~(N)\widetilde{O}(N)-query security, we would need our PRU algorithm to use more than O~(N)\widetilde{O}(N) random bits, and the only way to do so with poly⁡(n)\operatorname{poly}(n) queries is to include additional ancilla qubits in the oracle’s input register. But performing queries on the ancilla qubits is fraught with danger, as it is easy to do so in a way which creates entanglement between the first nn qubits and the ancilla qubits, which would mean we are no longer computing a unitary on the first nn qubits, as we are intending to. This ancilla issue has proven to be a significant barrier in designing even general unitary synthesis algorithms, but it seems especially challenging in the random oracle model, where we have no control over the form the oracle can take.

Our final result shows that this issue is not just a technical barrier: no query-efficient PRU in the random oracle model can achieve security beyond O~(N)\widetilde{O}(N) queries.

Theorem 1.4 (No query-efficient ROM-PRUs beyond O~(N)\widetilde{O}(N)-query security). Fix a constant γ>0.\gamma> 0\text{.} Suppose there is an nn-qubit PRU in the random oracle model which is secure against T=Ω(N1+γ)T = \Omega(N^{1+\gamma}) queries. Then if kk *is the number of queries to the random oracle needed to synthesize the PRU, we must have

k≥Nmin⁡{γ,1}/2poly⁡(n).k \ge\frac{N^{\min\{\gamma,1\}/2}}{\operatorname{poly}(n)}.

This result smoothly interpolates between Theorems 1.2 and 1.3: it rules out security beyond O~(N)\widetilde{O}(N) queries for query-efficient PRUs in the random oracle model. Thus, the query security achieved by the construction in Theorem 1.3 is optimal up to factors polynomial in nn. And for PRUs which are T=Ω(N2)T = \Omega(N^2)-query secure, it shows that the synthesizing algorithm must use roughly N1/2N^{1/2} queries, matching the bound in Theorem 1.2.

Technical Overview

Lower Bounds

Modeling the algorithm. To discuss our lower bounds, let us begin with how we mathematically model unitary synthesis algorithms in the random oracle model. An algorithm which synthesizes nn-qubit unitaries using mm total qubits can be represented as a quantum circuit of the form

Wf=VkOf⋯OfV0.(1)W_f = V_k \mathcal{O}_f \cdots\mathcal{O}_f V_0. \tag*{(1)}

Here, V0,…,Vk∈U(2m)V_0,\ldots,V_k \in U(2^m) are fixed unitaries on mm qubits. In addition, Of\mathcal{O}_f is the diagonal phase unitary corresponding to a random function f:{0,1}m0→{0,1}f:\{0,1\}^{m_0} \to\{0,1\} for m0≤mm_0 \le m, which acts as

Of∣x0m−m0⟩=(−1)f(x)∣x0m−m0⟩.\mathcal{O}_f \lvert x0^{m-m_0}\rangle= (-1)^{f(x)}\lvert x0^{m-m_0}\rangle.

The operation of the algorithm is therefore to implement the following nn-qubit channel: on input an nn qubit state ∣ψ⟩\lvert\psi\rangle, (i) append m−nm-n ancilla qubits initialized to ∣0⟩\lvert0\rangle, (ii) apply the circuit, resulting in Wf∣ψ0m−n⟩W_f\lvert\psi0^{m-n}\rangle, (iii) trace out the m−nm-n ancilla qubits, and (iv) output the rest.

If UU is the unitary that this algorithm is meant to implement, we will assume for the time being that it does so cleanly, meaning that it resets the ancilla qubits to ∣0⟩\lvert0\rangle prior to them being traced out; in other words,

Wf∣ψ0m−n⟩≈(U∣ψ⟩)∣0m−n⟩.W_f\lvert\psi0^{m-n}\rangle\approx(U\lvert\psi\rangle)\lvert0^{m-n}\rangle.

Equivalently, if JJ is the isometry that takes ∣ψ⟩\lvert\psi\rangle on nn qubits to ∣ψ0m−n⟩\lvert\psi0^{m-n}\rangle, then the algorithm cleanly implements UU if

Af:=J†WfJ≈U.A_f := J^\dagger W_fJ \approx U.

Assuming this will help simplify our analysis, but we will see how to remove this assumption later.

The case of one query. Our goal is to prove a lower bound on the number of queries needed to obtain ROM-PRUs or a random-oracle unitary synthesis algorithm. To do so, we need to constrain the number of unitaries that can be synthesized by a circuit of the form given in Equation (1). At a high level, we will do this by arguing that even though the algorithm takes in a large number of random bits from the random oracle—2m02^{m_0} of them, in fact—only a small number of these bits actually impact the final unitary that the algorithm computes. If this is the case, then we can argue that the number of random bits the algorithm depends on is actually significantly smaller than N2N^2, in which case it cannot be simulating a Haar random unitary.

To illustrate the strategy we take to accomplish this, let us first consider the simplest case, in which the circuit only makes one query to the random oracle ff. In this case, AfA_f can be written as

Af=J†V1OfV0J.A_f = J^\dagger V_1 O_f V_0 J.

Now, for a fixed ff, we would like to understand the extent to which changing its value at a given location x∈{0,1}m0x \in\{0,1\}^{m_0} affects the unitary AfA_f that the algorithm computes. If f⊕xf^{\oplus x} denotes the function ff with its value at xx flipped, then

Af⊕x−Af=±2J†V1ΠxV0J.A_{f^{\oplus x}} - A_f = \pm2J^\dagger V_1\Pi_x V_0J.

We can therefore bound the Hilbert-Schmidt distance between these two cases as

References

  1. [1]Scott Aaronson and Greg Kuperberg. “Quantum Versus Classical Proofs and Advice”. In: Theory of Computing 3.7 (2007), pp. 129–157. DOI: 10.4086/toc.2007.v003a007 (cit. on p. 1).DOI
  2. [2]John Bostanci, Yuval Efron, Tony Metger, Alexander Poremba, Luowen Qian, and Henry Yuen. “Unitary Complexity and the Uhlmann Transformation Problem”. In: Technical report, arXiv:2306.13073 (2023) (cit. on p. 1).arxiv.org/abs/2306.13073
  3. [3]Costin Bădescu and Ryan O’Donnell. “Improved quantum data analysis”. In: TheoretICs 3.7 (2024), pp. 1–34. DOI: 10.46298/theoretics.24.7 (cit. on p. 31).DOI
  4. [4]Ethan Bernstein and Umesh Vazirani. “Quantum complexity theory”. In: Proceedings of the twenty-fifth annual ACM symposium on Theory of computing. 1993, pp. 11–20 (cit. on pp. 1, 16).
  5. [5]Zvika Brakerski and Henry Yuen. “On Scalable Pseudorandom Unitaries and the Unitary Synthesis Problem”. In: Advances in Cryptology–CRYPTO 2026. Springer, 2026, pp. 372–401. DOI: 10.1007/978-3-032-35409-9_13 (cit. on pp. 2, 9, 14, 15).DOI
  6. [7]Fangqi Dong, Alex Lombardi, and Fermi Ma. “Explicit Separations for One-Query Unitary Synthesis”. In: arXiv preprint arXiv:2607.26478 (2026) (cit. on p. 1).arxiv.org/abs/2607.26478
  7. [8]Ben Foxman, Alex Lombardi, Fermi Ma, Barak Nehoran, and John Wright. “Quantum Lazy Sampling and Path Recording for Any Group”. In: arXiv preprint arXiv:2606.30281 (2026) (cit. on p. 9).arxiv.org/abs/2606.30281
  8. [9]Dmitry Grinko, Adam Burchardt, and Maris Ozols. “Gelfand-Tsetlin basis for partially transposed permutations, with applications to quantum information”. In: arXiv preprint arXiv:2310.02252 (2023) (cit. on p. 13).arxiv.org/abs/2310.02252
  9. [10]Sam Gunn, Nathan Ju, Fermi Ma, and Mark Zhandry. “Commitments to Quantum States”. In: Proceedings of the 55th Annual ACM Symposium on Theory of Computing. Association for Computing Machinery, 2023. DOI: 10.1145/3564246.3585198 (cit. on p. 1).DOI
  10. [11]Jeongwan Haah, Robin Kothari, Ryan O’Donnell, and Ewin Tang. “Query-optimal estimation of unitary channels in diamond distance”. In: arXiv preprint arXiv:2302.14066 (2023) (cit. on p. 2).DOI
  11. [12]Zhengfeng Ji, Yi-Kai Liu, and Fang Song. “Pseudorandom Quantum States”. In: Advances in Cryptology–CRYPTO 2018. Springer, 2018, pp. 126–152. DOI: 10.1007/978-3-319-96878-0_5 (cit. on p. 1).DOI
  12. [13]Alex Lombardi, Fermi Ma, and John Wright. “A one-query lower bound for unitary synthesis and breaking quantum cryptography”. In: Proceedings of the 56th Annual ACM Symposium on Theory of Computing. Association for Computing Machinery, 2024, pp. 979–990. DOI: 10.1145/3618260.3649650 (cit. on pp. 1, 5, 13, 16).DOI
  13. [14]Fermi Ma and Hsin-Yuan Huang. “How to construct random unitaries”. In: Proceedings of the 57th Annual ACM symposium on theory of computing. 2025, pp. 806–809 (cit. on pp. 1, 9, 14).arxiv.org/abs/2410.10116
  14. [15]Elizabeth Meckes and Mark Meckes. “Spectral measures of powers of random matrices”. In: Electronic Communications in Probability 18.78 (2013), pp. 1–13. DOI: 10.1214/ECP.v18-2551. arXiv: 1210.2681 [math.PR] (cit. on p. 29).DOI
  15. [16]Tony Metger, Alexander Poremba, Makrand Sinha, and Henry Yuen. “Simple Constructions of Linear-Depth t-Designs and Pseudorandom Unitaries”. In: Proceedings of the 65th IEEE Symposium on Foundations of Computer Science. IEEE, 2024, pp. 485–492. DOI: 10.1109/FOCS61266.2024.00038 (cit. on p. 1).DOI
  16. [17]Quynh T Nguyen. “The mixed Schur transform: efficient quantum circuit and applications”. In: arXiv preprint arXiv:2310.01613 (2023) (cit. on pp. 11, 13).arxiv.org/abs/2310.01613
  17. [18]Assaf Naor, Yuval Peres, Oded Schramm, and Scott Sheffield. “Markov chains in smooth Banach spaces and Gromov-hyperbolic metric spaces”. In: Duke Mathematical Journal 134.1 (2006), pp. 165–197. DOI: 10.1215/S0012-7094-06-13415-4 (cit. on p. 6).DOI
  18. [19]Gregory Rosenthal. “Query and Depth Upper Bounds for Quantum Unitaries via Grover Search”. In: Quantum 10 (2026), p. 2144. DOI: 10.22331/q-2026-06-30-2144 (cit. on p. 1).DOI
  19. [20]Thomas Schuster, Jonas Haferkamp, and Hsin-Yuan Huang. “Random unitaries in extremely low depth”. In: Science 389.6755 (2025), pp. 92–96 (cit. on p. 14).DOI
  20. [21]Thilo Scharnhorst, Jack Spilecki, and John Wright. “Optimal lower bounds for quantum state tomography”. In: arXiv preprint arXiv:2510.07699 (2025) (cit. on p. 11).arxiv.org/abs/2510.07699
  21. [22]Richard P. Stanley. Enumerative Combinatorics, Volume 2. Vol. 62. Cambridge Studies in Advanced Mathematics. With an appendix by Sergey Fomin. Cambridge University Press, 1999. DOI: 10.1017/CBO9780511609589 (cit. on p. 39).
  22. [23]John R Stembridge. “Rational tableaux and the tensor algebra of gln”. In: Journal of Combinatorial Theory, Series A 46.1 (1987), pp. 79–120 (cit. on p. 13).DOI
  23. [24]Ewin Tang and John Wright. “Are controlled unitaries helpful?” In: arXiv preprint arXiv:2508.00055 (2025) (cit. on pp. 8, 35).arxiv.org/abs/2508.00055
  24. [25]John Wright. “How to learn a quantum state”. PhD thesis, PhD thesis (Carnegie Mellon Univ., 2016), 2016 (cit. on p. 11).
  25. [26]Henry Yuen. “Lecture 6 from COMS E6998: Frontiers of Quantum Complexity and Cryptography”. Found at https://www.henryyuen.net/spring2022/lec6-statesynthesis.pdf and https://www.henryyuen.net/spring2022/lec6-unitarysynthesis.pdf. 2022 (cit. on p. 1).
  26. [27]Henry Yuen. “Lecture 7 from COMS E6998: Frontiers of Quantum Complexity and Cryptography”. Found at https://www.henryyuen.net/spring2022/lec7-quantumprograms.pdf. 2022 (cit. on p. 1).
  27. [28]Mark Zhandry. How to Model Unitary Oracles. Cryptology ePrint Archive, Paper 2025/1072. 2025. URL: https://eprint.iacr.org/2025/1072 (cit. on p. 1).DOI

Paper details

vlnc:W_z7haxaqx
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 7

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

GPT-5.6 Sol (bare), GPT-6 Astra (bare), AI assistance

View statement
Looking for related papers…
Contents