Manuscript Offprint
arXiv:2609.39774Path-Finding, Orbit State Preparation, and the Security of Invariant Quantum Money
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The security of quantum money from knots, and of its generalization to invariant money, is based on the assumption that path-finding, exhibiting a sequence of moves between two equivalent objects, is hard. No proof of security from that assumption alone is known. The existing proofs add knowledge-of-path assumptions, which assert that any efficient algorithm producing two objects with the same invariant implicitly knows a path between them. No attack can refute such an assumption, and it is not known to follow from security.
We ask when path-finding is the right assumption. When each equivalence class is the orbit of an efficiently computable action of a group that can be superposed over, and every move acts as a group element, as for graphs, average-case hardness of path-finding is necessary for security. For knots no such group is known, and a path-finder only reduces forgery to an equally hard state-preparation problem.
With or without a path-finder, a forger must prepare a state that verification accepts, and we take the hardness of that task as the assumption. For schemes whose verification walk mixes in polynomial time, the preparation assumption states that no efficient algorithm, given the serial number of a freshly minted banknote and one object measured from it, prepares such a state. It is falsifiable, and it is equivalent to security against forgers that measure their banknote first. The transfer assumption, which security implies, states that measuring first costs a forger at most a polynomial factor. Together the two are equivalent to security, so every proof of security must establish the preparation assumption. If the preparation assumption holds, no fully black-box reduction that calls the forger only at the serial number it is given can derive the transfer assumption from the preparation assumption.
1 Introduction
Quantum money [4] is public-key when anyone can verify a banknote, a quantum state labelled by a classical serial number, with a public algorithm, but no one can produce two banknotes from one [2]. Proposed schemes and their assumptions have repeatedly been broken [3, 36, 37, 8, 25, 6]. Zhandry proves the scheme of Aaronson and Christiano [5] secure from post-quantum indistinguishability obfuscation [7], and Shmueli and Zhandry obtain quantum lightning [7], in which the adversary also chooses the serial number, from subexponentially secure obfuscation and learning with errors [15]. Bostanci, Nehoran and Zhandry prove quantum lightning from non-abelian group actions in the plain model, under a new assumption on the group action [12]. The security of the remaining candidates is conjectured [1, 9, 26], or proved in an idealized model or from knowledge assumptions, which no attack can refute [6, 10, 11]. One family of candidates began with quantum money from knots [1], which Liu, Montgomery and Zhandry abstracted into a framework for quantum money from invariants [6, §8]. We ask what the security of that framework rests on.
Invariant quantum money. A scheme in this framework has three ingredients:
-
a set X of combinatorial objects, each described by n bits;
-
a set of moves, efficiently computable permutations of X;
-
an efficiently computable classical invariant I that every move preserves.
The objects reachable from one another by moves form an orbit, on which I is constant, and the uniform superposition over an orbit is its orbit state. In the knot scheme of Farhi et al., once diagrams are weighted by their dimension (Section 2.1), the objects are grid diagrams, the moves are grid moves, and the invariant is the Alexander polynomial. The scheme works as follows.
-
Minting. The mint prepares the uniform superposition over X and measures I. The outcome is the serial number p, and the residual state, the uniform superposition over the objects with invariant p, is the banknote.
-
Verification. The verifier checks that the invariant is p, then applies random moves in superposition and checks that the state is left unchanged. A genuine banknote always is, because the moves only permute the objects with invariant p.
• Forgery. A forger given one banknote wins if it produces two states that both pass verification at p.
No-cloning does not prevent forgery, because the banknote is determined by public data. What prevents it, if anything, is a computational problem: preparing, from what the forger holds, a state spread coherently over an orbit.
Prior analyses. Farhi et al. locate the difficulty of that problem in the move graph. They base the security of the knot scheme on the assumption that path-finding, exhibiting a sequence of moves between two objects of one orbit, is hard [1, §1]. The guess is natural, since the moves are what define an orbit. Farhi et al. support it with a scheme on graphs, where path-finding is easy in practice and which they break [1, §3.4]. No proof of security from hardness of path-finding alone is known. Liu, Montgomery and Zhandry prove that schemes in the invariant framework are quantum lightning, and hence secure, by adding knowledge of path [6, Thm. 12]. Knowledge of path states that an extractor, given the final state of an efficient algorithm that outputs two objects with the same invariant, finds a path between them [6, Asm. 2], with a variant for invariants that can be inverted [6, Asm. 3]. It is not falsifiable in the sense of Naor [17], because refuting it requires showing that no extractor exists. Zhandry shows that its direct analogue for group actions is false [10, §1.3], and Montgomery and Sharif prove the security of their class-group scheme from an isogeny assumption together with a knowledge assumption of the same kind [11, Thm. 9.11]. Two questions follow: whether hardness of path-finding is the right assumption, and what can take the place of knowledge of path.
When path-finding decides security (Section 4). The attack of Farhi et al. on the graph scheme uses an algorithm that finds graph isomorphisms, which for graphs is a path-finder
(Section 4.1). Their attack works because the relabellings of the vertices form a group that is easy to superpose over, acts on each orbit, and contains every move. We show that the same attack works for any scheme whose orbits come with such a group, which we call a coset parameterization acting through the moves (Definition 4.2), so that for such schemes hardness of path-finding is necessary for security.
Informal Theorem (Theorem 4.5 and Corollary 4.7). (i) Let be a set of objects on which a coset parameterization acting through the moves is computable in polynomial time. If the scheme is secure, then for every efficient algorithm , with obtained by measuring a freshly minted banknote and uniform on the orbit of , the probability that and outputs a path from to is negligible.
(ii) Let A be a deterministic polynomial-time algorithm that outputs a path between any two objects of an orbit. Preparing the orbit state of x is equivalent to preparing the uniform superposition over the paths that A outputs from x, with two runs of A in each direction.
Montgomery and Sharif note that solving the group-action discrete logarithm problem would let an adversary forge their class-group scheme [11, §2.2]. Proposition 4.6 makes this explicit: the best known algorithms for that problem [34] give a quantum subexponential forgery, assuming the generalized Riemann hypothesis. For knot orbits no suitable group is known, and by part (ii) of the theorem a path-finder only converts preparing the orbit state into an equally hard problem.
From path-finding to state preparation (Sections 3.3 and 6). Hardness of path-finding is thus necessary for security when a group supplies the rest of the forgery. Without a group it is not known to be necessary, and in neither case is it known to suffice, which is why the proofs above add knowledge of path. What every forger must do, with or without a path-finder, is prepare a state that verification accepts, and we take the hardness of that task as the assumption. A forger that measures its banknote holds the serial number p and one object x, the seed, and must prepare such a state from them. When the invariant takes different values on different orbits, this is orbit state preparation: given x, prepare the orbit state of the orbit of x (Definition 3.10). Farhi et al. describe this attack informally [1, §1.2, §3.3], and Lutomirski studies the problem, as COMPONENT SUPERPOSITION, in a black-box model of the moves [20]. The preparation assumption (Assumption 6.1) says that the forger cannot: no efficient algorithm, given obtained by measuring a freshly minted banknote, outputs a state that verification accepts at p with non-negligible probability. The transfer assumption (Assumption 6.5) says that measuring first is not what stopped it: for every efficient forger, some efficient forger that measures its banknote first wins with at least a polynomial fraction of its probability, up to a negligible term.
Informal Theorem (Theorems 6.4 and 6.6). (a) The preparation assumption is necessary for security. It holds if and only if every efficient forger that measures its banknote first wins with negligible probability.
(b) The scheme is secure if and only if the preparation and transfer assumptions both hold.
Both assumptions are implied by security, which is not known for knowledge assumptions. Part (b) therefore decomposes security rather than deriving it from weaker assumptions, and every proof of security must establish the preparation assumption. The problem behind it has a classical input and a single state as output, so it can be studied like other computational problems. It implies NP BQP, since an NP oracle solves orbit state preparation (Proposition 5.5), and a solver for orbit state preparation decides whether two objects lie in one orbit (Proposition 5.3). It is also falsifiable in the sense of Naor (Proposition 6.7). Bostanci, Nehoran and Zhandry prove an equivalence of this kind with no transfer assumption for a lightning scheme built from one-way homomorphisms, where security coincides with hardness of preparing one canonical state [12]. That scheme has a group structure that invariant money in general lacks. For invariant money the transfer assumption remains. It concerns only the coherence of the banknote and is not falsifiable on its own.
A barrier to deriving the transfer assumption (Section 6.4). One would therefore like to derive the transfer assumption from the preparation assumption, so that security rests on a single falsifiable assumption. Liu, Montgomery and Zhandry argue that a security proof from widely studied assumptions should combine an information-theoretic no-cloning argument with a computational assumption about a classical problem [6, §3.2]. Part (b) has a similar split. The preparation assumption plays the computational role, though its output is quantum, and the transfer assumption plays the no-cloning role, though it is not information-theoretic. We show that a natural class of reductions cannot supply the missing derivation. If the preparation assumption holds, no fully black-box reduction that calls the forger only at the serial number it is given can derive the transfer assumption, even if it runs the forger in superposition and rewinds it (Theorem 6.9). The intuition is that a forger can refuse to act unless it is handed something close to a genuine banknote, and under the preparation assumption such a reduction cannot produce one. The argument follows the separation technique of Gentry and Wichs [35].
Quantum lightning (Section 6.5). Lightning implies unforgeability: a reduction can run the mint itself and hand the banknote to the forger. That reduction calls the forger at a serial number it chose, so it lies outside the class above. Liu, Montgomery and Zhandry obtain unforgeability this way [6, Thm. 12], with no counterpart of the transfer assumption. Lightning itself follows from the adversarial-instance assumption, which requires preparation to be hard at every serial number that an efficient algorithm can choose (Assumption 6.10 and Proposition 6.11).
2 Preliminaries and security model
This section fixes notation, recalls the framework of invariant money of Liu, Montgomery and Zhandry [6, §8], and states the two security games.
Notation. A function is negligible, written , if for every polynomial and all large . We write for an unspecified polynomial. For vectors, is the Euclidean norm; for operators, is the operator norm and the trace norm, the trace distance between states and is , and means that is positive semidefinite. For a finite set whose elements are named by basis states, is the uniform superposition over . A pure state on two registers is a product state, and the registers are unentangled, if it equals for some , equivalently if its reduced state on either register is pure.
2.1 Invariant quantum money
We define the schemes, then minting and verification, and then state how two schemes in the literature fit the definition.
Definition 2.1 (Invariant money scheme). An invariant money scheme is a family , together with a polynomial round count of verification (Algorithm 1), with the following three components.
(i) The ground set consists of descriptions of combinatorial objects, which we identify with the elements of , and the uniform superposition is prepared by a uniform family of polynomial-size circuits.
(ii) The moves are permutations of with , indexed as so that and are computable in polynomial time from .
(iii) The invariant is a function on , computable in polynomial time, with for every and .
Words, orbits and level sets. A word is a finite sequence of moves, acting on by . We write for the set of words of length at most . The orbit of is , and means that lies in the orbit of . Orbits partition and are the connected components of the move graph, whose vertices are the elements of and whose edges join to for . Orbits are indexed by and written , and is the index of the orbit containing . By requirement (iii), is constant on each orbit. The values of are the serial numbers, and
is the level set of , a union of orbits. Distinct orbits may share a serial number. We write for the corresponding orthonormal basis of , and for the element register, which holds a state of : the mint outputs it and the verifier tests it.
Minting. Mint( ) prepares the uniform superposition over X with the invariant computed in an adjacent register,
measures the second register, and outputs the outcome p together with the residual state
The serial number p is published, and is the banknote.
Verification. A banknote is left unchanged when a move drawn at random is applied to it in superposition, because every move permutes . A state concentrated on one element of is moved elsewhere, and the verifier tests for that difference. It uses a move register with basis states . The labels name the moves , and the other labels name the identity, so that half the draws do nothing. Write
for the uniform superposition over labels and for the unitary that applies the labelled move, where is the permutation matrix of on . Algorithm 1 gives , which takes a serial number and a state on , returns or , and on acceptance also returns . It is the verification procedure of Farhi et al. [1, Alg. 2], with the identity labels that Liu, Montgomery and Zhandry adjoin in their analysis of it [6, §8.2].
Algorithm 1 Ver(p, ), for a scheme with round count r
1: Serial check. Compute I coherently from X into a fresh register and measure it. If the outcome is not p, reject.
2: Prepare the move register A in .
3: for do
▷ mixing test
4: Apply U to AX.
5: Measure A with , . On the second outcome, reject.
6: end for
7: Accept, and return X.
On acceptance, the serial check applies to X the projector onto span . One round of the mixing test acts on a pure state of X as follows. Applying U, and then projecting A onto , gives
since for every label, where
is the lazy walk on the move graph: with probability it applies a move drawn uniformly from , and otherwise it leaves the element unchanged. A round therefore accepts with probability , and on acceptance it returns to , unentangled from , so one move register serves all rounds. Since and permutes , , so is real symmetric. The accepting branch of has Kraus operator , and the acceptance probability is
Moves preserve orbits and I is constant on orbits, so commutes with .
Verification is correct and leaves banknotes undisturbed. Each move permutes , so is fixed by every and hence by . The banknote is supported on , so it is also fixed by . No step of Ver changes it, and .
Definition 2.2 (Measured mint output). The measured mint output is the distribution of pairs obtained by running to produce and measuring the banknote in the computational basis. Equivalently, is uniform on and .
Definition 2.3 (Path-finding and orbit equivalence). Let be an invariant money scheme.
(i) Path-finding (search): given , output a word with , a path from to , or if none exists.
(ii) Orbit equivalence (decision): given with , decide whether .
An algorithm that solves (i) solves (ii), since a returned word can be checked in polynomial time. No converse is known, so hardness of orbit equivalence is the stronger assumption. Farhi et al. base the security of the knot scheme on hardness of path-finding [1, §1]. Liu, Montgomery and Zhandry assume path-finding hard for x chosen by the adversary and y uniform on the orbit of x [6, Asm. 1]. Section 4 relates hardness of path-finding to security.
Instances. Two schemes in the literature fit Definition 2.1; we give the intuition and refer to the original papers for the precise choices. In the knot scheme of Farhi et al., the objects are grid diagrams, which represent knots, the moves are grid moves, and the invariant is the Alexander polynomial [1, §3]. To keep the set of diagrams finite, they bound the diagrams' dimension and weight each diagram according to its dimension, and with the ground set chosen to reflect that weighting the scheme fits Definition 2.1. One consequence matters below: with the dimension bounded, two diagrams of the same knot need not be connected by moves, so one serial number can cover several orbits [1, §3.2.1]. In the scheme of Montgomery and Sharif, the objects are elliptic curves over a prime field, the moves are isogenies of small prime degree, and the invariant is the number of points [11, §3.3, §6]. There each orbit carries the action of an ideal class group, and each move acts as one of its elements.
2.2 The security model
Minting and verification are public, so a forger can always produce some banknote. What it must not produce is two states that pass verification at one serial number. As Liu, Montgomery and Zhandry do [6, §5.5], we consider mini-schemes, in which the adversary is given a single banknote [5]. Definitions 2.4 and 2.5 restate their Definitions 5 and 6. The two games differ in who produces the banknote. In quantum lightning the adversary also chooses the serial number, so two copies must be impossible to produce even from a state the adversary constructs itself.
Definition 2.4 (Quantum money unforgeability). The game between a challenger and an adversary A runs as follows.
-
The challenger runs , obtaining , and gives and the banknote, held in the challenge register, to .
-
A outputs a possibly entangled state on two registers , with reduced states and .
-
The challenger runs and . wins if both accept.
win is the probability that wins. The scheme is secure if for every quantum polynomial-time .
Definition 2.5 (Quantum lightning unforgeability). The game runs as follows.
-
On input , the adversary outputs a serial number and a possibly entangled state on two registers , with reduced states and .
-
The challenger runs and . wins if both accept.
win is the probability that wins. The scheme is quantum lightning if for every quantum polynomial-time .
3 What verification certifies, and design conditions
This section shows that the states that Ver accepts with certainty are spanned by the uniform superpositions over single orbits, as Liu, Montgomery and Zhandry observe [6, §8], and makes this characterization quantitative in the spectral gap of and the round count (Section 3.1). Section 3.2 then states three conditions on the scheme and shows what fails without each. Section 3.3 then defines the problem that a forger faces after measuring its banknote.
3.1 Orbit states and accepted weight
We first identify the states that leaves fixed. Moves preserve orbits, so is block-diagonal, with one block for each orbit . Each block has four properties.
• It is real symmetric, because is (Section 2.1).
• It is doubly stochastic, being an average of permutation matrices.
-
Its spectrum lies in . Laziness gives , where is an average of permutation matrices and so has by the triangle inequality.
-
It is irreducible: for all some power of has a positive entry, because its orbit is connected in the move graph.
By the Perron–Frobenius theorem [18], the spectral radius of an irreducible non-negative matrix is a simple eigenvalue.
Lemma 3.1 (Orbit states). For each orbit , the eigenvalue 1 of is simple, and its eigenvector is the orbit state
Proof. Every row of sums to 1, so , and the spectrum of lies in , so its spectral radius is 1. is non-negative and irreducible, so by the Perron–Frobenius theorem the eigenvalue 1 is simple.
Each block has an orthonormal basis of real eigenvectors with eigenvalues in , indexed so that and . By Lemma 3.1, for every . Set
with when , so that for all and all . We call the spectral gap of the scheme. For a serial number let
be the projector onto the span of the orbit states with serial number . The banknote lies in this span: grouping the sum in equation (2) by orbits gives , the sum running over the orbits with .
Definition 3.2 (Accepted weight, accepting state). The accepted weight of a state at serial number is . A state of accepted weight 1 is an accepting state at . The banknote and each orbit state with are accepting states at .
Since is a union of orbits, the vectors with form an orthonormal basis of span. Every bound below is proved by writing
so that and .
Later arguments replace the acceptance probability by the accepted weight, the expectation of a projector that does not depend on r. The next two bounds justify that replacement.
Lemma 3.3 (Verification approximates the projection onto accepting states). Let be a serial number, a state, and . The unnormalized state left when accepts is , and
Proof. The accepting branch has Kraus operator (Section 2.1). In the coefficients of equation (6), multiplies by , and , so with all sums over the orbits with ,
Verification therefore implements the projective measurement up to , which is how Liu, Montgomery and Zhandry specify verification [6, §8.1] and implement it [6, Thm. 11].
Lemma 3.4 (Acceptance probability and accepted weight). For every state , every serial number and every ,
Proof. commutes with , and in the eigenbasis of equation (6)
\Pi_{P_{p}}\hat{B}^{2r}\Pi_{P_{p}}=\Pi_{1}^{(p)}+\sum_{k:I(\mathcal{C}_{k})=p}\sum_{j\geq1}\lambda_{k,j}^{2r}\left|\psi_{k,j}\right\rangle\langle\psi_{k,j}\right|.Every with lies in , so . Taking the trace against and using equation (4),
3.2 Design conditions
Three conditions are imposed on the scheme. None of them quantifies over an adversary: whether each holds is a combinatorial question about the move graph and the mint, settled scheme by scheme. The first, rapid mixing (Definition 3.5), is what lets verification certify accepted weight. The other two, dispersed serial numbers (Definition 3.6) and large orbits (Definition 3.7), are necessary for security (Proposition 3.8), and the three together do not suffice (Proposition 3.9).
Definition 3.5 (Rapid mixing). The scheme mixes rapidly if for all large .
Since is polynomial, the condition gives . Conversely, a scheme with for a polynomial meets it with . Rapid mixing thus says that the spectral gap is inverse-polynomial and that verification runs enough rounds for it. Under the condition, , since , so by Lemma 3.4 the acceptance probability and the accepted weight of every state differ by at most . Without the condition, acceptance does not certify accepted weight: an eigenvector with has accepted weight 0 and is accepted with probability , which tends to 1 when . Such a state passes verification while being orthogonal to every banknote.
Definition 3.6 (Dispersed serial numbers). Let be the minting weight of , the probability that Mint issues the serial number . The scheme has dispersed serial numbers if .
Dispersion is the requirement that honest minting does not forge, which is how Farhi et al. first stated it [1, §1.2].
Dispersion does not imply large orbits. The condition of Farhi et al., that most serial numbers have exponentially many objects [1, §1.2], concerns level sets, and a level set can be a union of many small orbits. A scheme may have dispersed serial numbers and still mint a non-negligible fraction of its banknotes on orbits of polynomial size, and an orbit of polynomial size can be listed by random walks.
Definition 3.7 (Large orbits). The scheme has large orbits if for every polynomial q,
Proposition 3.8 (Two necessary conditions). (i) If the scheme does not have dispersed serial numbers, it is not secure.
(ii) If the scheme mixes rapidly and does not have large orbits, it is not secure.
Proof. (i) A forger keeps the banknote it is given and runs the mint once more. The new banknote has serial number p with probability wt(p), so the forger wins with probability
which is non-negligible when is.
(ii) Suppose that for a polynomial the sum in Definition 3.7 is at least for infinitely many . Measuring a banknote yields a uniformly random (Definition 2.2), so with that probability lies on an orbit with . A walk of steps from ends at each with probability
by the spectral decomposition of on and Definition 3.5. So independent walks from reach every element of except with probability . The forger lists the endpoints and prepares two copies of the uniform superposition over the list. When the list is , both copies are , which passes verification with certainty (Lemma 3.1), so the forger wins with non-negligible probability.
Unlike a failure of dispersion, a small gap is not by itself an attack, since the states that pass verification without accepted weight may be hard to prepare [1, §3.3], [6, App. F]. A small gap does yield an attack when, with non-negligible probability over , the measured element lies in a set of polynomial size that can be listed from and that the walk rarely leaves. Farhi et al. describe such sets among grid diagrams of maximal dimension [1, §3.3]. Write for the probability that a uniformly random move applied to a uniformly random element of leaves . Since for each move ,
Since is supported on , expanding it in an orthonormal eigenbasis of , with eigenvalues , and applying Jensen's inequality to the convex function gives
Two copies of therefore forge whenever . Large orbits alone do not exclude this attack, but together with Definition 3.5 they do: has accepted weight , so by Lemma 3.4 it passes with probability at most .
The conditions do not suffice. The three conditions constrain only the move graph and the mint, and a scheme can meet all of them while its orbit states are easy to prepare.
Proposition 3.9 (The conditions do not suffice). For even , let , let be fixed linearly independent vectors with span , let the moves be , let for a matrix with kernel , and let . This scheme mixes rapidly and has dispersed serial numbers and large orbits, but it is not secure.
Proof. Each move is its own inverse, so . The orbits are the cosets , and separates them. Every orbit has elements, and for every in the image of . On each coset the lazy walk is the lazy walk on the hypercube , whose eigenvalues are for , so its spectral gap is and meets Definition 3.5. A forger measures its banknote, obtaining , and prepares the uniform superposition over coefficient vectors with written into a second register. Since the are linearly independent, is determined by and , and solving the linear system erases it:
The second register holds the orbit state, and repeating the construction gives a second copy. Both copies pass verification with certainty, so the forger wins with probability 1.
The graph scheme of Section 4.1 also meets the three conditions (Proposition A.1) and is broken, although its invariant is known to be computable in polynomial time only on average.
3.3 The forger’s problem: orbit state preparation
By Lemma 3.4, a state that verification accepts at p with probability close to 1 has accepted weight close to 1, so it lies close to the span of the orbit states with serial number p. A forger that measures its banknote holds p and one element x, which we call its seed. When I takes different values on different orbits, the state it must then produce is the orbit state of x. Producing it is a quantum state generation problem, with a classical input and a quantum state as output, of the kind that Ambainis, Magnin, Roetteler and Roland study in query complexity [21].
Definition 3.10 (Orbit state preparation). Let with be a family of seeds. A uniform family of polynomial-size circuits on an input register and ancilla qubits solves orbit state preparation on if there is a negligible such that for every and every
for some ancilla state . Such a family is a solver for orbit state preparation on . The order of the registers in equation (8) is a convention: a circuit that leaves the orbit state in another fixed register becomes a solver after a final swap. Orbit state preparation is solvable if it is solvable on . The minting weight of is , the probability that measuring a freshly minted banknote yields an element of .
The ancilla state may depend on x, but the orbit state must come out unentangled from it, so that the element register holds a pure state. Proposition 5.3 relies on this product form.
Farhi et al. state informally that, given one element, it should be hard to generate the uniform superposition over its level set [1, §1.2]. In Lutomirski's black-box abstraction of the knot scheme, orbit state preparation is the COMPONENT SUPERPOSITION problem [20, Def. 7].
4 Path-finding and forgery
Hardness of path-finding (Definition 2.3(i)) is the assumption behind the knot scheme and the invariant framework (Section 2.1). A path-finder answers a question about two named objects, whereas a forger must produce a state spread coherently over an orbit. This section asks when the first ability gives the second. For the graph scheme it does (Section 4.1), because of a group structure that Section 4.2 isolates. With such a group, hardness of path-finding is necessary for security, and the class-group scheme can be forged in subexponential time (Section 4.3). Without one, a path-finder only turns orbit state preparation into an equally hard problem (Section 4.4).
4.1 The graph example
Farhi et al. propose a scheme built on graphs, with the spectrum of the adjacency matrix as its invariant, and break it [1, §3.4]. We give the attack in full for a variant whose invariant is a canonical form.
Objects, moves and invariant. Write for the group of the permutations of . For and a graph on the vertices , write for the graph obtained from by renaming each vertex as , that is, for the permutation matrix . Renaming by and then by is renaming by the product: . The scheme has three ingredients:
- objects: the adjacency matrices of graphs on , strings of bits, so that a function is negligible in exactly when it is negligible in ;
• moves: the renamings by transpositions ;
- invariant: the canonical form , where the canonical labelling is chosen so that exactly when and are isomorphic.
The transpositions generate , so the orbit of is its isomorphism class , and since the canonical form separates orbits, each banknote is an orbit state. The automorphism group of is . Babai's algorithm computes the canonical labelling in quasipolynomial time [28], and on uniformly random graphs the algorithm of Babai and Kučera computes it in linear average time [27]. Requirement (iii) of Definition 2.1 therefore holds on average and is not known to hold in the worst case. The scheme meets the three design conditions of Section 3.2, with spectral gap at least , and Appendix A gives the proof (Proposition A.1).
The fact the attack needs. Fix with orbit , let , and suppose . For every ,
Hence
The canonical labelling supplies such a . Since and are isomorphic, , so
The sets , the left cosets of , partition , so
The attack. The forger measures its banknote, obtaining x, and computes . It holds a permutation register and a graph register.
Step 1. Prepare
A permutation can be built by inserting the labels one at a time into a list, and it is recorded by the positions at which they are inserted. When label i is inserted, the list holds the labels already placed, so there are positions and ; labels placed early move to higher positions as later labels are inserted before them. Every arrangement of the labels arises from exactly one digit string, and there are strings. So is obtained from the product state
by a reversible conversion of digits into a permutation. Each factor, a uniform superposition over at most v values, can be prepared up to negligible error by a circuit of size .
Step 2. Apply and group the terms by , using equation (9):
Each y is entangled with the coset recorded in the first register.
Step 3. Controlled on , compute by equation (10), replace by , and uncompute . Every coset becomes , and by equation (11), so the state becomes
Repeating the three steps gives a second copy. The forger’s cost is that of computing c coherently in step 3, which with Babai’s algorithm is quasipolynomial. With the average-case algorithm of Babai and Kučera [27], stopped after a fixed polynomial time, the forger runs in polynomial time and errs only on the branches y where that algorithm has not finished. For a uniformly random seed x, the branch y is itself a uniformly random graph, so by Markov’s inequality these branches carry inverse-polynomially small weight on average, and the forger wins with probability close to 1. Step 3 computed , a product of at most transpositions and hence a path from x to y. Canonical labelling is thus a path-finder for this scheme, run coherently.
4.2 Index sets
The attack used three ingredients:
• a set W of labels whose uniform superposition is easy to prepare, here ;
• a map from labels onto the orbit, here ;
- for each in the orbit, a relabelling , that is, a bijection of , applied in the branch of , here .
Steps 1 and 2 need only the first two ingredients. The group was used only in step 3, where it made every branch hold the same record after relabelling. Lemma 4.1 shows that this is exactly what step 3 needs, for any set W.
Lemma 4.1 (Uncomputation is a fibre condition). Fix a seed and write . Let be a finite set, let be a map whose image is , write for the fibre over , and let
For each let be a relabelling of , and let be the unitary that applies to when holds , and acts as the identity when holds an element outside . Then
and is a product state across W and X if and only if the relabellings satisfy the label condition
When the label condition holds, the fibres have a common size and X holds exactly.
Proof. Group the terms of by the value . The labels with that value form the fibre , so
In the branch of , applies , which maps the uniform superposition over to the uniform superposition over its image:
A state with orthonormal , coefficients and unit vectors is a product state exactly when all the are equal up to a phase. Here has non-negative real entries, so equality up to a phase is equality. Two uniform superpositions and over subsets of are equal exactly when , which is the label condition. If it holds with common image , then, since each is a bijection,
the last because the fibres partition W. Every coefficient is therefore , and
In the graph example the fibre over is , and is multiplication on the left by , which sends it to for every , so the label condition holds.
Definition 4.2 (Index set, section, coset parameterization). Fix a seed x and write .
(i) An index set for at is a set of bit strings of polynomial length with a polynomial-time map such that .
(ii) A section of is a map with for all .
(iii) is a coset parameterization if is a finite group, with identity , that acts on with for all , and if the following are computable in polynomial time: multiplication and inversion in , the preparation of to within negligible error, and the action of on .
(iv) A coset parameterization acts through the moves if for each there is , computable in polynomial time from , with for all .
A section chooses one label in each fibre. One always exists. The results below depend on whether one is computable in polynomial time. In the graph example, with is a coset parameterization acting through the moves, with the transposition that the move renames by. Canonical labelling supplies the section of step 3. The next lemma records the two facts about coset parameterizations that the rest of this section uses.
Lemma 4.3 (Fibres and paths under a coset parameterization). Let be a coset parameterization of , and write .
(i) Stab(x) is a subgroup of W, and the fibre over each is the left coset w Stab(x) for any w in it. In particular every fibre has elements, and .
(ii) If acts through the moves and is a path from to , then . So a path-finder that succeeds on every target supplies a section.
Proof. (i) Stab(x) is the stabilizer of x under the action, hence a subgroup. For ,
so the fibre containing is . The fibres partition and each has elements.
(ii) By induction on . For , . If , then by Definition 4.2(iv),
which is y at the end of a path from x to y. A section is obtained by mapping each y to the product along the path that the path-finder returns.
In the graph example , and part (i) of the lemma is equation (9).
Proposition 4.4 (Index sets and orbit state preparation). Let be a family of seeds. For each let be an index set for at with a section , where and are computable in time poly from and .
(i) Orbit state preparation is solvable on if and only if can be prepared from in the sense of Definition 3.10, for every .
(ii) If each is a coset parameterization, a circuit maps to exactly, using one evaluation of , two evaluations of and group operations. In particular, orbit state preparation is solvable on .
Proof. Fix , and write , and . In the chains below, “undo” runs a computation backwards, clearing the register it wrote.
(i) The map restricts to a bijection from im onto , with inverse . It is onto because , and one-to-one because gives . In particular , and for every . With two fresh registers, the orbit state is prepared from by
The step labelled writes , the step labelled adds the third register into the first, and the last equality holds because is a bijection from im onto . Conversely, the orbit state gives :
since is a bijection from onto im . Each chain is a fixed unitary acting on the output register and two fresh registers. So if a circuit prepares one of the two states to within , with ancilla state , then applying the chain prepares the other to within , with ancilla state , as Definition 3.10 requires.
(ii) By Lemma 4.3(i), the fibre over is , because lies in it, and . So every is for exactly one pair , . With two fresh registers,
where the step labelled mult multiplies the first register on the left by the inverse of the third, and the last equality uses . The chain uses one evaluation of , two of and group operations. The first step produces the state of Lemma 4.1, and the remaining three are its unitary , with the relabellings , which send every fibre to . The ancilla state depends on only, and is prepared to within negligible error (Definition 4.2), so orbit state preparation is solvable on .
Clause (i) needs no relabellings, because is injective on im , but it requires preparing . Clause (ii) superposes over all of , which is easy, and then needs relabellings that send every fibre to . Each fibre is a left coset of , and the section supplies the relabellings. If the hypotheses of either clause hold on a family of seeds of non-negligible minting weight, the scheme is insecure. A forger measures its banknote and, when the outcome lies in the family, prepares the orbit state twice.
4.3 Orbits parameterized by a group
When a coset parameterization acts through the moves, a path-finder supplies the section that Proposition 4.4(ii) needs (Lemma 4.3(ii)). The theorem below asks only for a path-finder that succeeds on a random target, which is the form in which path-finding is assumed hard. Its proof uses the group to reach every target: is uniformly random for a uniformly random group element , and a path to , followed by , gives a group element carrying to .
Theorem 4.5 (Necessity of path-finding hardness under a coset parameterization). Let be a family of seeds such that for each a coset parameterization of acting through the moves is computable in polynomial time from .
(i) If a quantum polynomial-time algorithm A and a polynomial q satisfy, for every , outputs a path from x to y] , with y uniform on , then orbit state preparation is solvable on G.
(ii) If the scheme is secure, then for every quantum polynomial-time A,
where and is uniform on .
Proof. (i) Fix , and write , , and .
A section from the path-finder. Let Sec be the unitary that, controlled on with , runs N trials in fresh registers. Trial j prepares in a register and a uniform superposition over the coins of , computes , runs coherently on , computes the product of the elements along the returned word, and records whether , which holds whenever the returned word is a path from to , by Lemma 4.3(ii). Finally Sec writes into a register the element for the least successful , or if no trial succeeded. The action is transitive with stabilizers of equal size, so if is prepared exactly, each is uniform on whatever is, and the trials are independent. We analyse that case, and account at the end for the preparation error. Hence
where collects the branches in which some trial succeeded. On those branches U holds with
so u lies in the fibre , which is by Lemma 4.3(i).
The circuit. Prepare and compute into the element register. The fibres have size and (Lemma 4.3(i)), so grouping by fibres gives . Then apply Sec, the multiplication with read from , and :
On the good branches maps to whichever fibre element the register holds. So has norm at most . Each keeps in the element register, and is controlled on it, so the terms are orthogonal for different , and
\left\||\mathcal{C}|^{-1/2}\sum_{y}\mathsf{S e c}^{\dagger}\left|e_{y}\right\rangle\right\|=\left(|\mathcal{C}|^{-1}\sum_{y}\left\||e_{y}\right\rangle\right|^{2}\right)^{1/2}\leq2e^{-n}.The circuit uses the preparation of times: once at the start, once in each trial of Sec, and once in reverse in each trial of Sec . A preparation with (Definition 4.2) becomes exact when composed with a rotation, in the plane of and , that takes to . That rotation is within of the identity in operator norm, so replacing every use of or by its exact version changes the final state by . So the circuit solves orbit state preparation on , with ancilla state .
(ii) Suppose the probability is at least for infinitely many . Let . Since the success probability is at most 1, averaging gives for those . A forger measures its banknote, obtaining , runs the circuit of part (i) with in place of twice, and outputs the two element registers. When each output is within of and passes with probability at least by Lemma 3.4, so the forger wins with probability at least for infinitely many .
The path-finding assumption of Liu, Montgomery and Zhandry [6, Asm. 1] implies the hardness in part (ii), since an adversary for that assumption can mint its own x. Their assumption is formally stronger, because there the adversary chooses x. A path-finder that succeeds on every pair is the special case of part (i) with q constant. Of the schemes in this paper, (i) applies in polynomial time to the graph scheme, where canonical labelling, in its average-case form, is already a path-finder, and to the linear scheme of Section 3.2, where solving a linear system is.
Proposition 4.4(ii) needs the section, not only the parameterization. Without a section, preparing from black-box access to an injective is INDEX ERASURE, which needs queries [21], matching Proposition 5.2(i) up to polynomial factors. A group helps because its uniform superposition can be easy to prepare when that of the orbit is not: is a product of small uniform superpositions (Section 4.1), whereas the orbit has no such description.
Isogeny orbits. An orbit is a torsor of a group W if W acts on it transitively and every stabilizer is trivial. For a coset parameterization of a torsor, a section is the inverse of the orbit map, so computing it is the group-action discrete logarithm problem. By Proposition 4.4(ii), hardness of that problem is then necessary for hardness of orbit state preparation.
In the scheme of Montgomery and Sharif (Section 2.1), each isogeny class is a torsor of the ideal class group of the common endomorphism ring, because they restrict to curves whose Frobenius discriminant is square-free, and each move acts as an element of that group [11, §3.3]. Montgomery and Sharif give the construction of Proposition 4.4(ii) for their scheme and observe that uncomputing the group element is the isogeny problem [11, §9.2]. The class group is not known to be a coset parameterization in the sense of Definition 4.2(iii). A uniform superposition over it can be prepared, because its structure can be computed quantumly [10, §1.5]. The moves, however, supply only the action of classes that are short products of small prime ideals, and the known algorithms for the action of an arbitrary class run in subexponential time [10, §1.5]. Montgomery and Sharif note that an adversary who solves the group-action discrete logarithm problem can fabricate their banknotes [11, §2.2]. The next proposition makes this explicit with the best known algorithms, and shows that subexponential time suffices.
Proposition 4.6 (A subexponential forgery of the class-group scheme). Assume the generalized Riemann hypothesis. There is a quantum algorithm that, given a banknote of the scheme of Montgomery and Sharif [11], outputs two states that both pass verification at its serial number with probability , in time subexponential in n.
Proof. Measure the banknote, obtaining a curve , and let be the class group of the endomorphism ring of , with . Under the generalized Riemann hypothesis, Childs, Jao and Soukharev give a classical algorithm that evaluates the action of an arbitrary class in subexponential time, and a quantum algorithm that, given and , finds in subexponential time [34]. With error reduction, each runs coherently with failure probability on every input. They supply the action and the section that the construction in the proof of Proposition 4.4(ii) uses, and is prepared as in Zhandry's construction [10, §1.5]. That construction then outputs the orbit state of up to , in subexponential rather than polynomial time. Under the generalized Riemann hypothesis the moves generate the class group [11, §3.3], so the isogeny class of is a single orbit and its orbit state is the banknote. Running the construction twice gives two copies, and each passes with probability by Lemma 3.4.
4.4 Orbits without a group
For knot orbits no group is known that acts transitively and meets the other requirements of Definition 4.2(iii). Without a group, Proposition 4.4(i) still applies, to the section that a path-finder supplies.
Corollary 4.7 (A path-finder's own index set). Let be a family of seeds and a deterministic polynomial-time algorithm that, for every and , outputs a word from to . Write . Then orbit state preparation is solvable on if and only if can be prepared from in the sense of Definition 3.10 for every , each direction using two runs of .
Proof. Words of the lengths outputs form an index set with , and is a section with image , so Proposition 4.4(i) applies. In each chain of that proof, computing and undoing it can share one garbage register: run with its garbage, use or copy its output, and run backwards. So each direction uses two runs of .
Corollary 4.7 does not make forgery easy, because preparing is exactly as hard as preparing the orbit state. Running coherently does not help: it yields from the orbit state, but from a superposition that can be prepared, such as the endpoints of a random walk from , it leaves the record of the walk entangled with the endpoint, as Appendix B shows.
A classical randomized path-finder that succeeds on every pair with probability 2/3 can be made deterministic. Reduce its failure probability to per pair. There are at most pairs of equivalent objects, so a random string makes it succeed on every pair except with probability , and Corollary 4.7 applies to the deterministic algorithm obtained by fixing that string.
The random walk that verification applies is the natural index set to try when no group is available, and Appendix B shows that it does not help as it stands. Its fibres have nearly equal sizes, so relabellings that meet the label condition approximately exist, but none is known to be computable in polynomial time. Recording the walk's path instead leaves the element register with accepted weight , which is the accepted weight of the seed alone. Within the form of Lemma 4.1, removing the entanglement between path and endpoint takes either relabellings that meet the label condition, at least approximately, or an index set whose fibres are singletons, which is what Corollary 4.7 uses.
5 Amplification and bounds for orbit state preparation
This section studies the problem defined in Section 3.3. It shows that verification amplifies any attack whose output stays in the orbit of its seed (Section 5.1), bounds the problem from above by two generic attacks and from below by orbit equivalence (Section 5.2), and shows that, for rapidly mixing schemes, an NP oracle solves it (Section 5.3).
5.1 Amplification
An attack whose output stays in the orbit of its seed needs only inverse-polynomial accepted weight, because the verifier can amplify it to the orbit state.
Lemma 5.1 (Amplification). Let , , and let be a polynomial-size circuit whose output has reduced state on the element register, with
(a) supported on , or I injective on orbits; and
(b)
Let be a known lower bound on the spectral gap. For every there is a circuit, depending on only through its input register, whose output satisfies for some pure . It makes calls to , to and to a coherent verifier, which runs Ver with its measurements deferred (Appendix C), with rounds. In particular, if the scheme mixes rapidly and (a) and (b) hold with for every in a family of seeds , then orbit state preparation is solvable on .
Proof. Appendix C gives the proof. It is fixed-point amplitude amplification that alternates a rotation about the output of with a rotation about the states whose element register holds the orbit state, and a coherent verifier implements the second rotation. For the last sentence, take and .
Under hypothesis (a), is the only orbit state with serial number that overlaps, so (b) bounds alone. Hypothesis (a) has content only when is not injective on orbits. Verification cannot tell apart from its co-orbits, the other orbits with serial number . Amplification that uses the verifier therefore converges to a combination of the orbit states of all of them. A circuit whose output spreads over co-orbits is not amplified to . Attacks built from a seed and moves satisfy (a), because moves never leave the seed’s orbit.
5.2 Generic attacks and a lower bound
Two attacks bound the difficulty of orbit state preparation from above: one runs from the seed, the other from the serial number alone. A reduction from orbit equivalence bounds it from below.
Proposition 5.2 (Generic attacks). Let be an invariant money scheme.
(i) If the scheme mixes rapidly, there is an algorithm that, on every seed x, halts within time except with probability , and outputs a state whose element register is within trace distance of .
(ii) There is an algorithm that, on every serial number p in the image of I and with no seed, outputs in expected time .
Proof. (i) The idea is to amplify the seed itself, whose accepted weight is unknown, by trying the weights in turn. Apply Lemma 5.1 with the identity, so satisfies (a) and , with . For in turn, run it from a fresh copy of with and , then apply at , and halt with the verified register on acceptance. Let be the least with , which exists because . At the output is within of the target and is accepted except with probability , so the algorithm halts by run except with that probability. Run makes calls to the verifier, each of rounds, and by the choice of , so halting by run takes time
In each run, the probability that Ver accepts and leaves its register outside the range of is at most by Lemma 3.3, and inside that range is spanned by . So
Pr[the algorithm halts with its register outside span{ }] , and the output register is within trace distance of .
(ii) Run Mint without its final measurement, which prepares , and amplify the event that the second register reads . That event has probability , and conditioned on it the first register holds . Amplitude amplification with an unknown success probability [22] reaches the event in expected iterations, and on success the first register holds exactly.
Attack (ii) outputs itself, which verification accepts whether or not it solves orbit state preparation. It solves orbit state preparation only when is injective on orbits, since otherwise is a combination of the orbit states of several orbits. Dispersion (Definition 3.6) is what makes this attack slow. In the other direction, a solver for orbit state preparation decides orbit equivalence, so orbit state preparation is at least as hard. Distinct orbits have orthogonal orbit states, so the output of a solver is a complete invariant of that a swap test can compare.
Proposition 5.3 (Solvers decide orbit equivalence). If orbit state preparation is solvable on a family of seeds G, then orbit equivalence is decidable in quantum polynomial time, with negligible error, on every pair .
Proof. Let be the reduced state of on the element register. By Definition 3.10, it is within trace distance of , the partial trace being a channel. A swap test [24] on and accepts with probability
because orbit states of distinct orbits are orthogonal. Repeating times and accepting when every test accepts gives error .
The test needs the product form that Definition 3.10 requires: if the orbit state came out entangled with the ancillas, would be mixed and would not separate the two cases. Farhi et al. observe informally that a forger that measures its banknote and rebuilds a superposition would decide diagram equivalence [1, §3.3]. Lutomirski gives the swap-test reduction for component mixers [20, §3], and Proposition 5.3 is that reduction for every invariant scheme. Hardness of orbit equivalence on therefore implies hardness of orbit state preparation on . The converse is not known, and the implication is vacuous when is injective on orbits, since the invariant then decides orbit equivalence.
5.3 An upper bound from approximate counting
This subsection shows that an NP oracle solves orbit state preparation for every rapidly mixing scheme. The uniform superposition over a set can be built bit by bit from its prefix marginals [29, 23], and Aaronson's state synthesis algorithm is this construction [30, 31]. An NP oracle delivers the prefix counts only up to a multiplicative factor, and Lemma 5.4 tolerates that error.
For non-empty and a prefix write . An -approximate prefix-counting oracle for returns on query a value that depends on alone and satisfies
It is accessed as the unitary , so it can be queried on a superposition of prefixes.
Lemma 5.4 (Approximate prefix counting prepares a set state). Let . There is a circuit of size making queries to an -approximate prefix-counting oracle for that outputs , where is supported on and , which is at least at .
Proof. Build the string bit by bit. For a prefix of length and , write
Step acts on the prefix register and a fresh qubit as
using two queries to compute and into ancillas, a controlled rotation, and two more queries to uncompute them, which is possible because is a function of . After steps the output is
A branch with gets amplitude 0, so the support stays in , and a prefix in the support has , so the denominator of is positive. Since is increasing in and decreasing in , the errors of the counts give . For the true factors telescope to , so . All amplitudes are non-negative, so
At , .
Take . The output of Lemma 5.4 is then supported on the orbit and has accepted weight at least 1/2, so by Lemma 5.1, for every rapidly mixing scheme, an -approximate prefix-counting oracle for the orbit of each seed suffices to solve orbit state preparation. An NP oracle implements the counting oracle.
Proposition 5.5 (An NP oracle solves orbit state preparation). Let be a rapidly mixing invariant money scheme. Then orbit state preparation is solvable by a quantum polynomial-time algorithm with oracle access to an NP language. Consequently, if NP BQP, orbit state preparation is solvable.
Proof. It suffices to implement an -approximate prefix-counting oracle for at .
Diameter. Let . For , , using . So , and since this entry is the probability that lazy steps from end at , every is reached by a word of length at most .
Membership in NP. if and only if for some , so is the cardinality of an NP-definable set. Lutomirski makes the same observation for component mixers, which place component membership in NP [20, §4.1].
Estimation. Sipser–Stockmeyer hashing estimates such a cardinality within a constant factor with NP queries and random bits [32, 33], and the queries stay in NP. Applied to the N-fold product set, whose cardinality is the N-th power, and followed by an N-th root, it turns a constant factor into , a estimate at .
Determinism. There are fewer than prefixes. A median of independent runs fails on a given prefix with probability below , so one random string drawn at the outset serves every prefix with probability at least 2/3, and with it fixed the estimator is a function of b and can be run coherently and uncomputed.
Assembly. Run Lemma 5.4 with a fresh string, amplify with Lemma 5.1 at , , verify at , and on rejection start again. A prefix with no extension in the orbit has no witness and is estimated as 0. If every estimate at a node is 0, which a good string never produces, the circuit writes on that branch. So every state involved stays in , an accepted output is within of by Lemma 3.3, and attempts fail with probability . Deferring the measurements gives a circuit of polynomial size whose element register is within trace distance of , so the fidelity is . With the normalized vector for the circuit's output , which depends on only,
so the circuit solves orbit state preparation in the sense of Definition 3.10. If NP BQP, replace the oracle by a quantum polynomial-time algorithm run coherently with error reduction.
Rapid mixing, which verification needs, is what makes this bound hold: it bounds the diameter of every orbit and so puts orbit membership in NP.
6 The preparation assumption and security
For the knot scheme no polynomial-time algorithm for orbit state preparation is known. For orbits without a coset parameterization, no reduction of it to path-finding is known either (Section 4). This section assumes it hard, in an average-case form we call the preparation assumption (Section 6.1). The assumption is equivalent to security against adversaries that measure their banknote first (Section 6.2), and together with a second assumption, which concerns adversaries that keep the banknote coherent, it is equivalent to security (Section 6.3). Section 6.4 shows that a natural class of reductions cannot derive the second assumption from the first, and Section 6.5 treats quantum lightning.
6.1 The preparation assumption
Assumption 6.1 (Preparation assumption). For every quantum polynomial-time algorithm A,
where is the reduced state of the register that outputs.
The statement makes three choices. First, is a reduced state, because an adversary guarantees only that one register passes verification, not that its ancillas are clean. Second, what is bounded is accepted weight rather than overlap with the mint's state , because a forger need not reproduce that state. Third, the bound is on the total accepted weight at p, including the weight on the seed's co-orbits (Section 5.1), because only the total can be measured. The public verifier estimates the total (Lemma 3.4), while separating the two parts would mean deciding orbit equivalence.
The assumption is thus an average-case, inverse-polynomial form of orbit state preparation, in the following sense.
Proposition 6.2 (The preparation assumption and orbit state preparation). (i) If a family of seeds of non-negligible minting weight has a solver for orbit state preparation, then the preparation assumption fails.
(ii) Suppose the scheme mixes rapidly, and some quantum polynomial-time has for infinitely many , where either 's output lies in the orbit of its seed or is injective on orbits. Then for those , orbit state preparation is solvable on a family of seeds of minting weight at least .
Proof. (i) Let Prep solve orbit state preparation on with error , and let run Prep on its seed. For , the reduced state of the output register is within trace distance of , because the partial trace is a channel. So , and
which is non-negligible.
(ii) Write and . Since and ,
For , the circuit of satisfies hypotheses (a) and (b) of Lemma 5.1 with , so by the last sentence of that lemma orbit state preparation is solvable on .
Part (ii) needs its hypothesis on 's output. When I is not injective on orbits, a violation may instead put its weight on co-orbits, and then no solver follows.
6.2 Measuring first
Consider an adversary that begins by measuring its banknote. It then holds the serial number and a classical element of the level set. The basis state has accepted weight , so under Definition 3.5 it passes verification with probability at most (Lemma 3.4), which is negligible on superpolynomial orbits. Such an adversary must therefore build both of its output registers from , and building even one is what the preparation assumption forbids.
Definition 6.3 (Measure-first adversaries). M measures the challenge register in the computational basis. For an adversary A, A⊕M applies M and then runs A. An adversary is measure-first if it has the form A⊕M, and win .
Measuring in the computational basis returns an element uniform on , so the pair that A works on is distributed as the measured mint output (Definition 2.2). Hence
and the challenger’s contribution to a measure-first adversary is one sample from an efficiently samplable distribution, which a reduction can draw for itself.
Theorem 6.4 (Measure-first security is equivalent to the preparation assumption). Let be a rapidly mixing invariant money scheme. Then for every quantum polynomial-time if and only if the preparation assumption holds. The implication from a violation of the preparation assumption to a winning measure-first adversary holds without rapid mixing.
Proof. A winning measure-first adversary violates the assumption. If for infinitely many , then by equation (14) the second output of , in reduced state , passes with expected probability at least . At the verifier's , Lemma 3.4 gives , so
The algorithm that runs and keeps is quantum polynomial-time on .
A violation yields a winning measure-first adversary (rapid mixing not used). If infinitely often, let run twice independently. For fixed the two outputs are independent, and each passes with probability by the lower bound of Lemma 3.4, which holds for every . So by Jensen's inequality both pass with probability
6.3 The transfer assumption and the decomposition of security
Theorem 6.4 settles the game for adversaries that measure first. For the others we assume that some adversary that measures first does at least a polynomial fraction as well.
Assumption 6.5 (Transfer assumption). There is a polynomial such that for every quantum polynomial-time adversary there are a quantum polynomial-time measure-first adversary and a negligible with
Taking would compare each adversary with its own measure-first version, which can do much worse than the best measure-first adversary: an adversary that forwards its banknote as one output loses that output when it measures first. The assumption therefore lets be any measure-first adversary. This form is weaker, since the version with implies it, and it is all that Theorem 6.6 uses. The only use of an intact invariant-money banknote that we know of is to forward it as one of the two outputs. An adversary that does so must build its other output from alone, whereas a measure-first adversary holds and must build both outputs. The transfer assumption says that no efficient use of an intact banknote does better than measuring first by more than a polynomial factor. The assumption is not a collapsing property in the sense of Unruh [16]: measuring a banknote is detectable, since re-verifying the measured note rejects with probability at least . The transfer assumption compares only winning probabilities.
Theorem 6.6 (Security decomposition). Let be an invariant money scheme.
(i) If the scheme is secure, the preparation assumption holds.
(ii) If the scheme mixes rapidly, it is secure if and only if the preparation and transfer assumptions both hold.
Proof. (i) If the preparation assumption fails, the half of Theorem 6.4 that does not use rapid mixing gives an efficient with non-negligible, and is efficient. (ii) If both hold, every efficient measure-first has by Theorem 6.4, so Assumption 6.5 makes every negligible. Conversely a secure scheme satisfies the preparation assumption by part (i), and the transfer assumption with , and any .
Falsifiability. The preparation assumption takes one classical instance, bounds one output register and mentions no copying, so it can be attacked and bounded directly, as Propositions 5.2 and 5.5 do. It is also falsifiable.
Proposition 6.7 (Falsifiability). Suppose the scheme mixes rapidly. For an algorithm A, let a challenger sample , run , and run on the register that A returns. Then the challenger accepts with probability between and . So the preparation assumption holds if and only if no quantum polynomial-time A makes this efficient challenger accept with non-negligible probability, and it is falsifiable in the sense of Naor [17].
Proof. The challenger is efficient, because is efficiently samplable (Definition 2.2) and Ver is public. It accepts with probability . By Lemma 3.4 at the verifier's , for every state , and taking expectations over gives
The transfer assumption is the part that concerns the coherence of the banknote. It names no computational problem and is not falsifiable on its own. An efficient adversary that wins the counterfeiting game refutes the two assumptions together, since it breaks the scheme. It refutes the transfer assumption in particular only together with a proof that every efficient measure-first adversary wins with negligible probability. No experiment certifies such a proof.
6.4 Serial-fixing reductions cannot derive the transfer assumption
Given the preparation assumption and rapid mixing, security and the transfer assumption are equivalent (Theorem 6.6), so deriving the transfer assumption from the preparation assumption is the same as proving security from it. This subsection shows that a natural class of reductions cannot do so: black-box reductions that build every challenge they hand the adversary and hand it over at the instance's own serial number p.
The argument uses the restriction to the instance's serial number. A reduction that calls the adversary at another serial number can mint a banknote there itself. An adversary that forges when handed a banknote issued by the mint then returns a second banknote at that serial number, and nothing in the preparation assumption says that such banknotes are useless at p. Within the class, the adversary below forges whenever its input has accepted weight, as a banknote issued by the mint does. Under the preparation assumption, it behaves like the adversary that does nothing on every input that a reduction in the class can build. The theorem is therefore evidence that a proof of security from the preparation assumption needs a reduction outside the class.
Definition 6.8 (Serial-fixing reduction). Let be a quantum polynomial-time algorithm that receives and outputs one register, in reduced state . It accesses an adversary for the game of Definition 2.4 only through a unitary implementing on a serial-number register, a challenge register and further registers. Precisely, is a polynomial-size circuit containing at most instances of and , and all of their input registers are wires of . Say that is
(i) serial-fixing if the serial-number register is in the basis state at every instance of and ;
(ii) sound if for every , efficient or not, infinitely often implies that infinitely often.
Access through is at least as strong as access to as a channel. The definition places no restriction on the challenges: may prepare them in superposition, rewind, let calls interfere, and initialize every register it passes to , including the adversary's workspace. Soundness quantifies over inefficient adversaries, as is standard for fully black-box reductions. The reduction in the proof of Theorem 6.4 is serial-fixing, since it hands the adversary the basis state at the serial number . It is not sound, and below is an adversary on which it fails. The expected accepted weight of is , which the preparation assumption makes negligible, since otherwise the algorithm that outputs would violate it. So under that assumption acts on almost as the identity.
Theorem 6.9 (Serial-fixing reductions cannot derive the transfer assumption). Let be an invariant money scheme satisfying the preparation assumption. Then no serial-fixing reduction is sound. Specifically, for each serial number let be a unitary on one register with , and let be the adversary implemented by
on its serial-number register, its challenge register and a second output register. Then
(i) wins the game of Definition 2.4 with probability 1; and
(ii) for every serial-fixing reduction , .
Proof. (i) Since p\rangle = |,
and both registers pass.
(ii) The idea is to compare run with against run with the adversary that does nothing. The two differ only on the part of each call's input that has accepted weight, and the preparation assumption makes that part negligible. Let be the adversary that does nothing, . Then is quantum polynomial-time on . Assume without loss of generality that defers its measurements. At every call the serial-number register holds , where and U^*^\dagger - U_\perp^\dagger = \Pi_1^{(p)} \otimes (\text{Syn}_p^\dagger - \mathbb{I}), so both differences map any vector to a vector of norm at most . Let be the state of the run just before its -th call and the reduced state of its challenge register. Replacing the calls one at a time [19],
Let be the algorithm that on draws uniformly from , runs up to its -th call and outputs the challenge register. It is quantum polynomial-time, so by Assumption 6.1. Accepted weight changes by at most half the trace norm of a difference, and is quantum polynomial-time on , so taking expectations over ,
using Jensen’s inequality and Cauchy–Schwarz in the second line, and Assumption 6.1 for and . This is part (ii). By part (i), witnesses that is not sound.
By the equivalence at the start of this subsection, no serial-fixing reduction derives the transfer assumption from the preparation assumption either. The proof follows the separation technique of Gentry and Wichs [35]: an inefficient adversary that breaks the scheme, and an efficient one that no reduction of the class can tell apart from it.
Scope. The proof uses two properties of R: every state it hands the adversary is computed in quantum polynomial time from , and every call is made at the serial number p. Rewinding, calls on superpositions of challenges, interference between calls and arbitrary initialization of the adversary's registers are all covered, and so is any black-box procedure that tries to extract a path from the adversary. Three kinds of reduction fall outside. The first calls the adversary at another serial number, as the reduction that derives unforgeability from lightning does (Section 6.5). The second has non-black-box access to the adversary, as a reduction that extracts information from the adversary's final state does. The third is sound only against efficient adversaries, whereas is inefficient. Reductions from problems whose instance is itself a banknote, such as the duplication problem of Montgomery and Sharif [11, Thm. 9.2], do not start from and are outside the theorem for that reason.
6.5 Quantum lightning
In quantum lightning [7] the adversary receives no banknote but chooses the serial number at which its two outputs are tested (Definition 2.5). We call such an adversary a generator. Lightning implies unforgeability: a generator can run itself, hand to a forger, and output with the forger's two registers. Liu, Montgomery and Zhandry obtain unforgeability this way, by proving that their scheme is quantum lightning [6, Thm. 12]. Montgomery and Sharif prove lightning from the hardness of their elliptic-curve superposition collision problem, which takes no input [11, Thm. 9.4]. The reduction that derives unforgeability from lightning calls the forger at a serial number it minted itself, so it is not serial-fixing.
The preparation assumption averages accepted weight over serial numbers drawn from , whereas a generator chooses its serial number. Dispersion gives every individual serial number negligible minting weight, so the average constrains no particular one, and a single orbit that an efficient algorithm can list breaks lightning without affecting the preparation assumption (see below). Lightning needs the same statement quantified over the generator's choice.
Assumption 6.10 (Adversarial-instance assumption). For every quantum polynomial-time outputting a classical serial number and a register in reduced state ,
Like the preparation assumption, the adversarial-instance assumption is falsifiable under Definition 3.5, by the argument of Proposition 6.7 with the generator in place of the mint. Since is efficiently samplable, it implies the preparation assumption. As statements, the two differ only in the quantifier over , and one can hold while the other fails only through orbits that an efficient algorithm can find but the mint rarely issues.
Proposition 6.11 (Lightning). Every rapidly mixing invariant money scheme that satisfies the adversarial-instance assumption is quantum lightning.
Proof. Let be a lightning adversary, and let run and keep only the serial number and the register , in reduced state , so that . Winning requires to pass, so by Lemma 3.4 at the verifier's ,
by the adversarial-instance assumption.
The design conditions split the same way. The large-orbit condition (Definition 3.7) bounds the minting weight of small orbits, which is a statement about the mint's distribution. Its counterpart for lightning must constrain every orbit that an efficient algorithm can find. If an efficient algorithm outputs an element together with a list of its orbit, a generator outputs and two copies of the uniform superposition over the list. Each copy is an accepting state and passes with certainty (Lemma 3.4), so the adversarial-instance assumption fails and the scheme is not quantum lightning. An orbit that an algorithm can list does not affect unforgeability: in Definition 2.4 the adversary cannot choose the serial number, and a state at is tested at only with probability , negligible under dispersion.
7 Conclusion
We close with the questions that the results leave open.
Is the transfer assumption true? Given the preparation assumption and rapid mixing, refuting the transfer assumption is the same as exhibiting a forger (Theorem 6.6), and that forger would have to use the coherence of a banknote issued by the mint, since forgers that measure first then fail (Theorem 6.4). The only use of that coherence known for invariant money is to forward the banknote as one of the two outputs (Section 6.3). If the preparation assumption holds, Theorem 6.9 rules out deriving the transfer assumption with fully black-box reductions that call the forger only at the serial number they are given. Whether reductions that also call it at serial numbers they mint can derive it is open. For other families of states, a coherent copy is worth more than every measure-first strategy. Quantum fire consists of states that can be cloned from a coherent copy but cannot be efficiently rebuilt from any classical description [13, 12], so for such states the analogue of the transfer assumption fails. Such states exist unconditionally relative to a classical oracle [14]. No invariant money scheme is known whose banknotes behave this way.
Lower bounds for orbit state preparation. The only lower bound in this paper is Proposition 5.3, which reduces orbit equivalence to orbit state preparation and is vacuous when the invariant separates orbits. Lutomirski's lower bound in a black-box model of the moves [20] is conditional on a query lower bound for orbit membership that is itself open [20, §6]. With the moves given as an oracle, no unconditional query lower bound for orbit state preparation is known. The INDEX ERASURE bound of Section 4.3 holds only when the orbit is accessed through an injective parameterization.
Does an unbroken scheme meet the design conditions? The schemes for which this paper verifies all three conditions of Section 3.2 are broken. Montgomery and Sharif establish the spectral gap of their scheme under a condition on its generating set for which they give heuristic evidence [11, Prop. 4.22, §11]. For the knot scheme, the spectral gap of the move graph and the dispersion of the Alexander polynomial are both open. Neither question concerns adversaries.
From the mint’s serial numbers to the adversary’s. The preparation assumption averages over the serial numbers that the mint issues, whereas the adversarial-instance assumption (Assumption 6.10) quantifies over every serial number that an efficient algorithm can choose. For schemes in which no efficient algorithm can list an orbit, it is open whether the second follows from the first, or from the first required at every serial number. Where such an implication holds, a rapidly mixing scheme is quantum lightning (Proposition 6.11), and hence secure without the transfer assumption.
Acknowledgements
Anthropic Claude Opus 4.6, 4.8, 5, and 5.5 accessed in 2026 have been used to improve exposition of results, derive proofs of propositions and lemmas, check arguments systematically. The final exposition, proofs, and arguments have been edited and verified by the authors.
References
[1] E. Farhi, D. Gosset, A. Hassidim, A. Lutomirski, and P. Shor. Quantum money from knots. In Proc. 3rd ITCS, pp. 276–289, 2012. arXiv:1004.5127.
[2] S. Aaronson. Quantum copy-protection and quantum money. In Proc. 24th IEEE CCC, pp. 229–242, 2009.
[3] A. Lutomirski, S. Aaronson, E. Farhi, D. Gosset, A. Hassidim, J. Kelner, and P. Shor. Breaking and making quantum money: toward a new quantum cryptographic protocol. In Innovations in Computer Science (ICS), 2010. arXiv:0912.3825.
[4] S. Wiesner. Conjugate coding. SIGACT News, 15(1):78–88, 1983.
[5] S. Aaronson and P. Christiano. Quantum money from hidden subspaces. In Proc. 44th ACM STOC, pp. 41–60, 2012.
[6] J. Liu, H. Montgomery, and M. Zhandry. Another round of breaking and making quantum money: how to not build it from lattices, and more. In EUROCRYPT 2023, Part I, LNCS 14004, pp. 611–638, 2023. arXiv:2211.11994.
[7] M. Zhandry. Quantum lightning never strikes the same state twice. Or: quantum money from cryptographic assumptions. J. Cryptol., 34(1):6, 2021. Preliminary version: EURO-CRYPT 2019.
[8] B. Roberts. Security analysis of quantum lightning. In Proc. EUROCRYPT 2021, LNCS 12697, pp. 562–567, 2021.
[9] D. M. Kane. Quantum money from modular forms. arXiv:1809.05925, 2018.
[10] M. Zhandry. Quantum money from abelian group actions. TheoreticS, 4, Article 18, pp. 1–62, 2025. Preliminary version in Proc. 15th ITCS, LIPIcs 287, pp. 101:1–101:23, 2024. Section numbers refer to the journal version.
[11] H. Montgomery and S. Sharif. Quantum money from class group actions on elliptic curves. In Advances in Cryptology—ASIACRYPT 2024, LNCS 15492, pp. 33–64. Springer, 2024. IACR ePrint 2024/1585.
[12] J. Bostanci, B. Nehoran, and M. Zhandry. A general quantum duality for representations of groups with applications to quantum money, lightning, and fire. In Proc. 57th ACM STOC, pp. 201–212, 2025. arXiv:2411.00529.
[13] B. Nehoran and M. Zhandry. A computational separation between quantum no-cloning and no-telegraphing. In Proc. 15th ITCS, LIPIcs 287, pp. 82:1–82:23, 2024.
[14] A. Çakan, V. Goyal, and O. Shmueli. Public-key quantum fire and key-fire from classical oracles. arXiv:2504.16407, 2025.
[15] O. Shmueli and M. Zhandry. On one-shot signatures, quantum vs. classical binding, and obfuscating permutations. In Advances in Cryptology—CRYPTO 2025, Part II, pp. 350–383, 2025. IACR ePrint 2025/486.
[16] D. Unruh. Computationally binding quantum commitments. In EUROCRYPT 2016, LNCS 9666, pp. 497–527, 2016.
[17] M. Naor. On cryptographic assumptions and challenges. In Proc. CRYPTO 2003, LNCS 2729, pp. 96–109, 2003.
[18] R. A. Horn and C. R. Johnson. Matrix Analysis. Cambridge University Press, 2nd edition, 2012.
[19] C. H. Bennett, E. Bernstein, G. Brassard, and U. Vazirani. Strengths and weaknesses of quantum computing. SIAM J. Comput., 26(5):1510–1523, 1997.
[20] A. Lutomirski. Component mixers and a hardness result for counterfeiting quantum money. arXiv:1107.0321, 2011.
[21] A. Ambainis, L. Magnin, M. Roetteler, and J. Roland. Symmetry-assisted adversaries for quantum state generation. In Proc. 26th IEEE Conf. on Computational Complexity (CCC), pages 167–177, 2011.
[22] G. Brassard, P. Høyer, M. Mosca, and A. Tapp. Quantum amplitude amplification and estimation. Contemporary Mathematics, 305:53–74, 2002.
[23] D. Aharonov and A. Ta-Shma. Adiabatic quantum state generation and statistical zero knowledge. In Proc. 35th STOC, pages 20–29, 2003.
[24] H. Buhrman, R. Cleve, J. Watrous, and R. de Wolf. Quantum fingerprinting. Phys. Rev. Lett., 87(16):167902, 2001.
[25] A. Bilyk, J. Doliskani, and Z. Gong. Cryptanalysis of three quantum money schemes. Quantum Inf. Process., 22(4):177, 2023.
[26] D. M. Kane, S. Sharif, and A. Silverberg. Quantum money from quaternion algebras. IACR ePrint 2021/1294, 2021.
[27] L. Babai and L. Kučera. Canonical labelling of graphs in linear average time. In Proc. 20th IEEE Symp. on Foundations of Computer Science (FOCS), pages 39–46, 1979.
[28] L. Babai. Canonical form for graphs in quasipolynomial time: preliminary report. In Proc. 51st ACM Symp. on Theory of Computing (STOC), pages 1237–1246, 2019.
[29] L. Grover and T. Rudolph. Creating superpositions that correspond to efficiently integrable probability distributions. arXiv:quant-ph/0208112, 2002.
[30] S. Aaronson. The complexity of quantum states and transformations: from quantum money to black holes. arXiv:1607.05256, 2016.
[31] S. Irani, A. Natarajan, C. Nirkhe, S. Rao, and H. Yuen. Quantum search-to-decision reductions and the state synthesis problem. In Proc. 37th Computational Complexity Conference (CCC), LIPIcs 234, pp. 5:1–5:19, 2022.
[32] M. Sipser. A complexity theoretic approach to randomness. In Proc. 15th ACM Symp. on Theory of Computing (STOC), pages 330–335, 1983.
[33] L. Stockmeyer. The complexity of approximate counting. In Proc. 15th ACM Symp. on Theory of Computing (STOC), pages 118–126, 1983.
[34] A. M. Childs, D. Jao, and V. Soukharev. Constructing elliptic curve isogenies in quantum subexponential time. J. Math. Cryptol., 8(1):1–29, 2014.
[35] C. Gentry and D. Wichs. Separating succinct non-interactive arguments from all falsifiable assumptions. In Proc. 43rd ACM STOC, pp. 99–108, 2011.
[36] M. Conde Pena, J.-C. Faugère, and L. Perret. Algebraic cryptanalysis of a quantum money scheme: the noise-free case. In PKC 2015, pp. 194–213, 2015.
[37] M. Conde Pena, R. Durán Díaz, J.-C. Faugère, L. Hernández Encinas, and L. Perret. Non-quantum cryptanalysis of the noisy version of Aaronson–Christiano’s quantum money scheme. IET Information Security, 13(4):362–366, 2019.
[38] T. J. Yoder, G. H. Low, and I. L. Chuang. Fixed-point quantum search with an optimal number of queries. Phys. Rev. Lett., 113(21):210501, 2014.
[39] P. Erdős and A. Rényi. Asymmetric graphs. Acta Math. Acad. Sci. Hungar., 14:295–315, 1963.
[40] P. Diaconis and M. Shahshahani. Generating a random permutation with random transpositions. Z. Wahrsch. Verw. Gebiete, 57(2):159–179, 1981.
A Design conditions for the graph scheme
Proposition A.1 (The graph scheme meets the design conditions). The graph scheme of Section 4.1 on v vertices , with , has dispersed serial numbers and large orbits, and it mixes rapidly. Its spectral gap is at least .
Proof. Dispersion. I is injective on orbits, so each level set is one orbit, of at most graphs, and
which is negligible in .
Large orbits. Measuring a minted banknote yields a uniformly random graph (Definition 2.2). By equation (11), its orbit has at most elements only if , which exceeds 1 for large , so
the fraction of graphs with a non-trivial automorphism [39].
Gap. Write for the set of transpositions and for the non-lazy walk on , . Its largest non-trivial eigenvalue is and its smallest is [40]. The lazy walk maps each eigenvalue of to , so its eigenvalues lie in and
For a graph , renaming by sends to , and left multiplication by sends each left coset of to the left coset . So under the bijection of equation (9), the walk on the orbit of is the walk on left cosets
A function on cosets lifts to , and
If with , then with . Every non-trivial eigenvalue of the walk on the orbit is therefore a non-trivial eigenvalue of the walk on , and the same holds for the lazy walks and . Hence , and .
B The verification walk as an index set
This appendix gives the details behind the remark in Section 4.4 that the random walk of verification does not supply the missing erasure. Fix a seed and write . Let be the sequences of labels of the move register (Section 2.1), and let be the result of applying them to in turn, the identity labels acting trivially. Write for the -step lazy walk from with its path recorded.
Proposition B.1 (The verification walk as an index set). In parts (i)–(iii), let , and suppose the scheme mixes rapidly, so that is polynomial.
(i) is an index set for at , and its fibres satisfy with
(ii) There are a set and relabellings of with for every .
(iii) If relabellings and a set satisfy for every , then the element register of , with as in Lemma 4.1, has accepted weight at least .
(iv) For every T, and whatever the spectral gap, the element register of has accepted weight exactly .
Proof. (i) Each label is uniform among values, and of them are identity labels, so a uniformly random performs steps of the lazy walk of equation (3). Hence , the probability that the walk from ends at . By the spectral decomposition of on and the choice of ,
using . This gives the fibre bounds, and in particular every fibre is non-empty, so .
(ii) Let have elements, and for each let be a relabelling with , which exists because . Then, by part (i),
(iii) By Lemma 4.1, with by part (i). Its overlap with is
The element register’s accepted weight is at least for its reduced state , which is at least the squared overlap, .
(iv) Grouping by endpoint,
with the orthonormal, because the fibres are disjoint. The reduced state of the element register is therefore the diagonal , and its accepted weight is
since is supported on and each column of sums to 1.
Part (iv) is the accepted weight of alone, so recording the path does not help. Montgomery and Sharif prove the analogous bound for a superposition over curves entangled with class-group labels [11, Thm. 9.7]. Parts (ii) and (iii) show that the obstacle is computational. Relabellings that nearly meet the label condition exist, but no polynomial-time family of them is known, and concatenation supplies none, since the label sequences of a fixed length do not form a group acting on the orbit. A polynomial-time family with would, by part (iii) and Lemma 5.1, solve orbit state preparation.
C Proof of Lemma 5.1
Proof of Lemma 5.1. The proof is fixed-point amplitude amplification between two rotations. One is about the state that outputs. The other is about the subspace of states whose element register holds the orbit state, which a coherent verifier implements up to a small error. Write , write for the identity on the ancilla register, and let and . By hypothesis (a), , so (b) says .
Rotation about the target. computes coherently and flags a value other than , then runs rounds of the mixing test coherently, each on its own copy of (the flag is never measured), flagging any rejection. On the unflagged branch it applies K := \hat{B}^r' \Pi_{P_p} to . Since , , and has eigenvalue 1 on the range of and eigenvalues at most elsewhere. Let apply the phase on the unflagged branch. On an input with fresh ancillas, , where is the fixed ancilla state of the unflagged branch and lies in the flagged subspace, so
The component of with fresh ancillas is , since for every . The remaining component has squared norm . Since also , for every phase the operator is within in operator norm, on inputs with fresh ancillas, of the rotation . If is injective on orbits, . Otherwise, restricts to on the block of (Lemma 3.1), which contains by hypothesis (a). Either way the rotation acts on as the rotation about the range of .
Rotation about . , and for every phase , , implementable from a copy of . It preserves since .
Amplification. Fixed-point amplitude amplification [38] alternates the two rotations with a fixed schedule of phases depending only on and . The iterates stay in , since and both rotations preserve . From initial overlap it reaches distance from the normalized target, up to a global phase absorbed into the ancilla, in iterations, each using , and the target rotation once. The target rotation adds error per use. With ,
The normalized target is
Rescale by a constant. The copies of A are ancillas of the final circuit, which is uniform and depends on x only through its input.