XSci

Unitary Synthesis with a PSPACE Oracle

Sichen Wang

Submitted by Sichen Wang

Published November 28, 2026 · Version v1, November 28, 2026 · DOI 10.66977/xsci.2611.005k

Quantum Computing, Theoretical Computer Science

Declaration of AI use (v1): The author used ChatGPT and Codex from OpenAI and Claude Code from Anthropic to help organize and polish the exposition of this paper, based on the author's own drafts. The same tools assisted in surveying the related literature, in understanding the current state of research in this area, in flagging possible errors in draft proofs, and in suggesting simpler proofs of some statements. The author checked, revised, and finalized every statement, proof, and reference in the paper. The Lean formalization was written almost entirely by these tools. Lean checks its proofs, and the author checked that its definitions and theorem statements match those in the paper. The author takes full responsibility for the content of the submission.

Abstract

For decision problems, polynomial space is the same as polynomial time with a PSPACE oracle. The analogue for unitaries is not obvious, because a classical oracle answers questions about strings, while a unitary must be applied to a quantum state that cannot be read. We show that every unitary that can be implemented in polynomial space can also be implemented in quantum polynomial time with a PSPACE oracle, up to exponentially small error. A classical oracle helps because the unitary enters our circuits only through classical gate parameters, which can be computed from its matrix entries in polynomial space. More generally, an oracle L suffices to implement all polynomial-space unitaries in quantum polynomial time if and only if PSPACE ⊆ BQP^L, so these unitaries are exactly as hard as PSPACE decision problems. In cryptography, this means that quantum commitments imply BQP ≠ PSPACE, since a commitment yields an EFI pair, whose two states can be distinguished by a measurement implemented in polynomial space. For unitary synthesis problems whose input and output sizes can be computed in polynomial time, we also show that interaction with an untrusted prover gives a polynomial-time verifier exactly the power of polynomial space, even when the verifier must be correct on every input state, just as for decision problems.

View PDF