Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

A Wigner-Negativity Census of Shor's Algorithm at N=15: Why the Textbook Instance Is Stabiliser, and Where the Negativity Actually Lives

Ian Richard C Buckley

Published Jul 6, 2026• 0 citations
Publisher

Abstract

A phase-space census of the states arising in Shor's algorithm for thestandard textbook instance N=15, a=7, together with a contrasting analysisof the non-abelian hidden shift problem over dihedral groups. For N=15, a=7 the period r=4 divides the register size 2^n=16 exactly. Weshow by direct computation of the discrete Wigner function that the fullpre-measurement QFT output is therefore a stabiliser state, with zeronegative Wigner cells. This is an arithmetic property of the choseninstance rather than of Shor's algorithm in general, and it illustrates aknown hazard: N=15 is degenerate in ways that make small-scale factoringdemonstrations prove less than they appear (Smolin, Smith and Vargo, Nature499, 163 (2013)). Resolving the four post-measurement coset branches showswhere the negativity is: three of the four carry exactly 8 negative Wignercells each, while the zero-measurement branch remains stabiliser. Thespeedup on that branch comes from high-weight stabiliser generatorscompressed by coherent cancellation, not from non-stabiliser resources. For the non-abelian hidden shift over the dihedral group D_N, the Wignerfunction is non-negative before the non-abelian Fourier transform andacquires negativity after it, for all N >= 3. The abelian cases D_1 = Z_2and D_2 = Z_2 x Z_2 are the exceptions. The mechanism is representation-theoretic: D_N for N >= 3 has 2-dimensional irreducible representationswhose Fourier blocks do not normalise the Pauli group, and so lie outsidethe Clifford group. We propose the eigenphase spectrum of the non-abelianQFT as a basis-independent, group-theoretic diagnostic that avoids thequbit-padding artefacts affecting Wigner-based measures for non-dyadicgroups. Scope. All computations are exact numerics on the specific instancesstated. No general claim is made about the magic requirements of Shor'salgorithm at cryptographically relevant sizes, and the classificationframing of earlier versions has been withdrawn. Version note (2026-08): retitled and rescoped. The earlier version framedthis as a general "lifting procedure" for classifying arbitrary algorithms;that framing overstated what two worked instances support. Two companionpapers previously cited here have been withdrawn by the author, and theirreferences are removed. Quantities are reported as negative Wigner cellcounts, computed directly, rather than in the derived units used in thewithdrawn work. Part of the Origami ISA series. Companion papers: 10.5281/zenodo.20955514 (ISA as PROP), 10.5281/zenodo.20956674 (nine normal forms), 10.5281/zenodo.20956685 (three-tier resource theory). Keywords: shor, clifford, lifting, qft, hidden-subgroup, naqft, twist, magic, mana, eigenphase, origami-isa, cookie-cutter, dihedral-group, stabiliser, wigner-function

DOI
10.5281/zenodo.21219704

Related papers

The Cookie-Cutter Lifting Programme: Shor as a Clifford Circuit

Ian Richard C Buckley

We introduce the cookie-cutter lifting procedure: a systematic method for determining whether a quantum algorithm requires magic (non-stabiliser resources) or whether its speedup is purely Clifford-level. The procedure writes any classical algorithm as an Origami ISA programme at the classical (β=0) level and identifies whether the quantum lifting requires the TWIST opcode—the ISA marker for non-Clifford C₃-level gates. Applied to Shor's algorithm (N=15, a=7): the ISA trace LABEL→FLIP→FLOP(U_f)→FLIP(QFT) has mana=0 along the pre-measurement branch; for this instance the period r=4 divides the register size 2ⁿ=16 exactly, so the QFT output is a stabiliser state on the zero-measurement branch. The speedup comes from exponential-weight stabiliser generators compressed by coherent cancellation, with no magic required on that branch. Applied to non-abelian hidden shift over D_N: mana=0 before the non-abelian QFT and mana>0 after, for all N≥3; the abelian cases D₁≅ℤ₂ and D₂=ℤ₂×ℤ₂ are the Clifford exceptions. The TWIST opcode fires because non-abelian D_N (N≥3) have 2-dimensional irreducible representations whose Fourier blocks lie outside C₂. We identify the eigenphase spectrum of the NAQFT as a basis-independent replacement for T-count. The results reveal two roads to quantum advantage: Clifford complexity (Shor) and magic (non-abelian hidden shift). Part of the Origami ISA series. Companion papers: 10.5281/zenodo.20955514 (ISA as PROP), 10.5281/zenodo.20956674 (nine normal forms), 10.5281/zenodo.20956685 (three-tier resource theory). Keywords: shor, clifford, lifting, qft, hidden-subgroup, naqft, twist, magic, mana, eigenphase, origami-isa, cookie-cutter, dihedral-group, stabiliser, wigner-function

•Jun 27, 2026•0 citations

Quantum Information Protocols Through the ISA Lens: Teleportation, Superdense Coding, and Bell Tests from H¹ to H³

Ian Richard C Buckley

PENDING QUALITY AUDIT (2026-08). The file is restricted while this record is reviewed as part of a systematic audit of the author's corpus. It has not yet been assessed. Metadata and DOI remain public, and access can be requested. NOTICE (2026-08-04). This record uses a magic measure that has been shown to be incorrectly signed, and it should not be cited for quantitative magic claims. The "total variation" quantity TV = sum |W(u)| over the discrete Wigner function was used with the condition TV < 1 characterising non-stabiliser states. The inequality runs the other way. For any quasi-probability distribution summing to 1, the l1 norm satisfies sum |W| >= 1 always, with equality exactly when W is non-negative. Direct computation: the stabiliser state |+> gives TV = 1.0000 and the magic state T|+> gives TV = 1.2071. The condition "TV < 1" therefore describes the empty set, and any tier defined by it has no members. Separately, TV as defined is exp(mana) -- a monotone reparameterisation of the established Wigner-negativity monotone of Veitch, Mari, Ferrie and Emerson -- and was never compared against it. Readers should consult Veitch et al. on mana and Wigner negativity, Howard and Campbell on robustness of magic, Bravyi et al. on stabiliser extent, and Leone, Oliviero and Hamma on stabiliser Renyi entropy. NOTICE (2026-08-04). A verification this record's framework relies upon has been shown to be vacuous, and the identity it claimed to establish does not hold in the naive form. The naive pentagon identity FAILS for octonionic labels. Over all 7^4 = 2401 imaginary labelings, the two independent rebracketing paths from ((ab)c)d to a(b(cd)) disagree in 1176 cases (49%). Explicit counterexample: (a,b,c,d) = (1,1,2,4) gives +e6 on one path and -e6 on the other. The verification previously relied upon (the Pachner prover of 10.5281/zenodo.19713350) is vacuous: it defines w5 := w1*w2*w3*w4 and then checks w1*w2*w3*w4*w5 = +1, i.e. x*x = 1 for x in {+1,-1}. The identical test passes 4096/4096 on RANDOM SIGNS with no octonions involved. That script's own comment concedes the equation is "tautologically true". What this does NOT mean. Octonions are non-associative by definition, so rebracketing must be path-dependent and the naive pentagon cannot hold. That is the content, not a defect. A coherent non-associative calculus must supply the associator as explicit data satisfying its own coherence condition (Mac Lane), which is what Kuperberg's spiders (Comm. Math. Phys. 1996) provide for rank-2 groups. The structural framing is defensible; the verification was measuring the wrong thing. We recast the three foundational quantum information protocols — quantum teleportation, superdense coding, and the CHSH Bell test — in the language of the Origami Instruction Set Architecture (ISA), and then lift each to its TriQ (3-qubit GHZ) and 6-731 (broken-Fano-line) extensions. In the ISA reading, teleportation is SPLIT;SPLAT with a classical wire, superdense coding is FLIP;FLOP on a Bell pair encoding $\log_2|G|$ bits via the group $G = \mathbb{Z}_2^2$, and the CHSH violation is a hybrid H¹/H² computation: the Bell pair is a stabiliser (H¹) resource but the Tsirelson-optimal measurement applies a T-gate rotation (H², TWIST=1). We prove that the Tsirelson bound $\cos^2(\pi/8)$ equals the total variation of any dark-magic (Tier 1) state in the ISA magic-type classification — the Tsirelson bound is the Wigner mass of the dark-magic sector. Lifting to the TriQ register introduces the ORBIT opcode, raises superdense coding capacity to 3 bits per qubit ($\log_2|\mathbb{Z}_2^3|$), and replaces the CHSH game with the Fano Line Verification Game whose win conditions are the $\pm 1$ values of the $6j$ symbol of $\mathbb{Z}_2^3$. The 6-731 extension (one Fano line weakened to coupling $\eta$) makes teleportation directed, reduces superdense capacity to $3 - H(\eta)$ bits per qubit, and interpolates the Fano game win probability continuously between classical and quantum bounds. Remarkably, the same asymmetry parameter $\eta$ is independently measurable by three methods — thermodynamic Carnot efficiency (Paper 325), information-theoretic channel capacity, and game-theoretic win probability — whose agreement constitutes a Pentagon-identity self-verification test for the hardware. We close with the H$^k$ Bell tower: for each cohomological depth $k$ there is a Bell-type inequality whose maximum quantum violation requires an H$^k$ resource, providing a game-theoretic ladder that extends beyond CHSH through the Fano game (H²) to a conjectured G$_2$-correlation game (H³) accessible only to the 731-ISA SPIN opcode.Appendix B provides side-by-side quantum circuit and ISA spider diagrams for all three baseline protocols. Keywords quantum teleportation, superdense coding, CHSH inequality, Bell test, Tsirelson bound, Origami ISA, H^k cohomology, stabiliser states, magic states, Fano plane, GHZ state, TriQ register, 6-731 architecture, ORBIT opcode, TWIST opcode, topological heat engine, dark magic, Wigner mass, Bell hierarchy, Mermin inequality, Pentagon equation, quantum nonlocality, quantum channel capacity, G2 correlations

•Jul 3, 2026•0 citations

The Power of Strong Fourier Sampling: Quantum Algorithms for Affine Groups and Hidden Shifts

Cristopher Moore, Daniel N. Rockmore, Alexander C. Russell +1 more

Many quantum algorithms, including Shor's celebrated factoring and discrete log algorithms, proceed by reduction to a hidden subgroup problem, in which an unknown subgroup H of a group G must be determined from a quantum state $\psi$ over G that is uniformly supported on a left coset of H. These hidden subgroup problems are typically solved by Fourier sampling: the quantum Fourier transform of $\psi$ is computed and measured. When the underlying group is nonabelian, two important variants of the Fourier sampling paradigm have been identified: the weak standard method, where only representation names are measured, and the strong standard method, where full measurement (i.e., the row and column of the representation, in a suitably chosen basis, as well as its name) occurs. It has remained open whether the strong standard method is indeed stronger, that is, whether there are hidden subgroups that can be reconstructed via the strong method but not by the weak, or any other known, method. In this article, we settle this question in the affirmative. We show that hidden subgroups H of the q-hedral groups, i.e., semidirect products ${\mathbb Z}_q \ltimes {\mathbb Z}_p$, where $q \mid (p-1)$, and in particular the affine groups $A_p$, can be information-theoretically reconstructed using the strong standard method. Moreover, if $|H| = p/ {\rm polylog}(p)$, these subgroups can be fully reconstructed with a polynomial amount of quantum and classical computation. We compare our algorithms to two weaker methods that have been discussed in the literature—the “forgetful” abelian method, and measurement in a random basis—and show that both of these are weaker than the strong standard method. Thus, at least for some families of groups, it is crucial to use the full power of representation theory and nonabelian Fourier analysis, namely, to measure the high-dimensional representations in an adapted basis that respects the group's subgroup structure. We apply our algorithm for the hidden subgroup problem to new families of cryptographically motivated hidden shift problems, generalizing the work of van Dam, Hallgren, and Ip on shifts of multiplicative characters. Finally, we close by proving a simple closure property for the class of groups over which the hidden subgroup problem can be solved efficiently.

arXiv:quant-ph/0503095•SIAM Journal on Computing•Jan 1, 2007•46 citations

Quantifying Nonstabilizerness of Quantum Codes by Removing the Inert Background

Yuan Liu, Ke-Mi Xu

Nonstabilizerness (magic) is the quantum resource that, together with stabilizer operations, makes universal quantum computation possible. However, quantifying nonstabilizerness is difficult. The standard measure sums over exponentially many Pauli operators, and for quantum codes no quantitative theory has been available. A structural observation removes this obstacle: the Clifford sector carries no magic and can be removed by a Clifford transformation, leaving an order-three object whose magic is an exactly evaluable fourth moment. Removing this inert background yields closed forms for several code families: a formula for all Dicke states, reducing a 100-qubit case from $4^{100}$ terms to a short binomial sum; a bound for cubic-phase codes (twisted quantum doubles and non-Abelian topological order), saturated only by the $D_4$ code; and a cyclic/zero criterion for group multiplication states. For codeword-stabilized (CWS) codes, the companion paper \cite{Liu26arXiv} carries this reduction to its conclusion: the most magical codes are exactly the Sidon sets, and the nonstabilizerness bounds the code's transversal non-Clifford power. Together these results reduce the computation of nonstabilizerness for a broad class of codes to finite classical counting problems, and identify the maximally magical codes among them.

quant-pharXiv:2609.06177•Sep 8, 2026•0 citations

Associamancy: A Resource Theory of Non-Associative Quantum Magic

Ian Richard C Buckley

PENDING QUALITY AUDIT (2026-08). The file is restricted while this record is reviewed as part of a systematic audit of the author's corpus. It has not yet been assessed. Metadata and DOI remain public, and access can be requested. The resource theory of quantum magic (Veitch et al. 2014) identifies non-stabiliser states as resources and T-gates as the elementary injection operation. Subsequent work established that the magic sector itself splits into two sub-tiers: dark magic (Wigner-negative but TV = 1, Clifford-simulable under reframing) and genuine magic (TV < 1), where TV is the total variation of the discrete Wigner function. We identify a strictly richer resource — associamancy — that sits above both sub-tiers and that standard magic theory cannot see, cannot create from below, and cannot measure without the SPIN opcode of the 731 ISA. The boundary is algebraically precise. A quantum state possesses associamancy if and only if its hidden symmetry group contains an irreducible representation with Frobenius-Schur indicator ν₂ = 0 — the condition that the representation is genuinely complex, realisable over ℂ but not over ℝ or ℍ. We call this the Schur boundary. Three equivalent characterisations of the Schur boundary are established: (1) Algebraic: ν₂(V_λ) = 0 for some irrep V_λ of the hidden symmetry group. (2) Cohomological: the obstruction class [α] ≠ 0 ∈ H²(G, U(1)) is non-trivial. (3) Number-theoretic: for G = PSL(2,q), associamancy holds if and only if q ≡ 3 (mod 4) — the same condition that makes the quadratic Gauss sum τ(q) = i√q purely imaginary. The Schur entropy S_Schur(|ψ⟩) = −∑_{λ:ν₂=0} p_λ log p_λ is a valid resource monotone, independent of both Wigner negativity and TV: a state can have TV ≪ 1 (genuine magic) and zero Schur entropy, and a state can have S_Schur = log 2 at either dark or genuine magic level. PSL(2,7) is the minimal group exhibiting associamancy (order 168). The Freudenthal magic square organises associamancy into a ladder G₂ ⊂ F₄ ⊂ E₆ ⊂ E₇ ⊂ E₈, each rung strictly richer than the last. Keywords: quantum resource theory, magic states, associamancy, Frobenius-Schur indicator, Schur boundary, non-associative, octonions, PSL(2,7), Freudenthal magic square, G₂, 731 ISA, dark magic, total variation, quantum computing

•Jun 12, 2026•0 citations

Fano Orbit Decomposition of Magic: Wigner Negativity as Broken-Line Activation in the 3-Qubit Phase Space

Ian Richard C Buckley

PENDING QUALITY AUDIT (2026-08). The file is restricted while this record is reviewed as part of a systematic audit of the author's corpus. It has not yet been assessed. Metadata and DOI remain public, and access can be requested. The 63-point 3-qubit symplectic polar space $W(5,2)$ contains the Fano plane $PG(2,2)$ as the 7-point GHZ stabiliser subspace. This paper proves that the complementary 56 points decompose into exactly seven orbits of eight points each under the action of the GHZ stabiliser group $\mathbb{Z}_2^3$, with one orbit per Fano line. This decomposition has a three-level nested structure. Level 0: The Fano plane $PG(2,2)$ itself — the 7 GHZ stabilisers, the Wigner support of the GHZ state, and the difference set for all orbits. Level 1: The 7 orbit labels $L=0,\ldots,6$ form a second copy of $PG(2,2)$ under bitwise XOR: orbits $\mathcal{O}_L$, $\mathcal{O}_M$, $\mathcal{O}_K$ satisfy $\mathcal{O}_L \oplus \mathcal{O}_M \subseteq \mathcal{O}_K$ iff $L \oplus M = K$ in $\mathbb{Z}_2^3$. This is the XOR-Fano composition rule governing magic state combination. Level 2: Each orbit $\mathcal{O}_L$ splits into two disjoint Lagrangian 4-cliques $\mathcal{O}_L^A \sqcup \mathcal{O}_L^B$, each a maximal abelian subspace of $W(5,2)$ — the same type of structure as the Fano plane itself. The Wigner negativity of any 3-qubit state decomposes as $\mathcal{N}(\rho) = \sum_L \mathcal{N}_L(\rho)$, where $\mathcal{N}_L$ is the negativity on orbit $\mathcal{O}_L$. The orbit index $L$ simultaneously identifies which Fano line is broken (activated) in the resource-theory sense, which magic valence the state carries, and which line is asymmetric in the 6-7 directed-routing architecture. Magic is broken-line activation in phase space. A remark establishes the formal analogy with spontaneous symmetry breaking: the $PSL(2,7) \to S_4$ symmetry reduction of the 6-7 architecture is the discrete finite-group analogue of $SU(2) \times U(1) \to U(1)$ in the electroweak sector. The 6 intact Fano lines play the role of the massless photon; the 1 broken line plays the role of the massive gauge bosons; the activated orbit $\mathcal{O}_L$ plays the role of the Goldstone mode; $\eta > 0$ is the order parameter. The 7 choices of broken line are the 7 discrete vacua. The FMO complex is the biological realisation: the symmetric ($\eta = 0$) configuration is evolutionarily unstable, and the broken-symmetry configuration is the stable ground state selected over a billion years — the closest natural analogue to a thermodynamically driven symmetry-breaking transition.

•Jun 4, 2026•0 citations
A phase-space census of the states arising in Shor's algorithm for thestandard textbook instance N=15, a=7, together with a contrasting analysisof the non-abelian hidden shift problem over dihedral groups. For N=15, a=7 the period r=4 divides the register size 2^n=16 exactly. Weshow by direct computation of the discrete Wigner function that the fullpre-measurement QFT output is therefore a stabiliser state, with zeronegative Wigner cells. This is an arithmetic property of the choseninstance rather than of Shor's algorithm in general, and it illustrates aknown hazard: N=15 is degenerate in ways that make small-scale factoringdemonstrations prove less than they appear (Smolin, Smith and Vargo, Nature499, 163 (2013)). Resolving the four post-measurement coset branches showswhere the negativity is: three of the four carry exactly 8 negative Wignercells each, while the zero-measurement branch remains stabiliser. Thespeedup on that branch comes from high-weight stabiliser generatorscompressed by coherent cancellation, not from non-stabiliser resources. For the non-abelian hidden shift over the dihedral group D_N, the Wignerfunction is non-negative before the non-abelian Fourier transform andacquires negativity after it, for all N >= 3. The abelian cases D_1 = Z_2and D_2 = Z_2 x Z_2 are the exceptions. The mechanism is representation-theoretic: D_N for N >= 3 has 2-dimensional irreducible representationswhose Fourier blocks do not normalise the Pauli group, and so lie outsidethe Clifford group. We propose the eigenphase spectrum of the non-abelianQFT as a basis-independent, group-theoretic diagnostic that avoids thequbit-padding artefacts affecting Wigner-based measures for non-dyadicgroups. Scope. All computations are exact numerics on the specific instancesstated. No general claim is made about the magic requirements of Shor'salgorithm at cryptographically relevant sizes, and the classificationframing of earlier versions has been withdrawn. Version note (2026-08): retitled and rescoped. The earlier version framedthis as a general "lifting procedure" for classifying arbitrary algorithms;that framing overstated what two worked instances support. Two companionpapers previously cited here have been withdrawn by the author, and theirreferences are removed. Quantities are reported as negative Wigner cellcounts, computed directly, rather than in the derived units used in thewithdrawn work. Part of the Origami ISA series. Companion papers: 10.5281/zenodo.20955514 (ISA as PROP), 10.5281/zenodo.20956674 (nine normal forms), 10.5281/zenodo.20956685 (three-tier resource theory). Keywords: shor, clifford, lifting, qft, hidden-subgroup, naqft, twist, magic, mana, eigenphase, origami-isa, cookie-cutter, dihedral-group, stabiliser, wigner-function
We introduce the cookie-cutter lifting procedure: a systematic method for determining whether a quantum algorithm requires magic (non-stabiliser resources) or whether its speedup is purely Clifford-level. The procedure writes any classical algorithm as an Origami ISA programme at the classical (β=0) level and identifies whether the quantum lifting requires the TWIST opcode—the ISA marker for non-Clifford C₃-level gates. Applied to Shor's algorithm (N=15, a=7): the ISA trace LABEL→FLIP→FLOP(U_f)→FLIP(QFT) has mana=0 along the pre-measurement branch; for this instance the period r=4 divides the register size 2ⁿ=16 exactly, so the QFT output is a stabiliser state on the zero-measurement branch. The speedup comes from exponential-weight stabiliser generators compressed by coherent cancellation, with no magic required on that branch. Applied to non-abelian hidden shift over D_N: mana=0 before the non-abelian QFT and mana>0 after, for all N≥3; the abelian cases D₁≅ℤ₂ and D₂=ℤ₂×ℤ₂ are the Clifford exceptions. The TWIST opcode fires because non-abelian D_N (N≥3) have 2-dimensional irreducible representations whose Fourier blocks lie outside C₂. We identify the eigenphase spectrum of the NAQFT as a basis-independent replacement for T-count. The results reveal two roads to quantum advantage: Clifford complexity (Shor) and magic (non-abelian hidden shift). Part of the Origami ISA series. Companion papers: 10.5281/zenodo.20955514 (ISA as PROP), 10.5281/zenodo.20956674 (nine normal forms), 10.5281/zenodo.20956685 (three-tier resource theory). Keywords: shor, clifford, lifting, qft, hidden-subgroup, naqft, twist, magic, mana, eigenphase, origami-isa, cookie-cutter, dihedral-group, stabiliser, wigner-function
PENDING QUALITY AUDIT (2026-08). The file is restricted while this record is reviewed as part of a systematic audit of the author's corpus. It has not yet been assessed. Metadata and DOI remain public, and access can be requested. NOTICE (2026-08-04). This record uses a magic measure that has been shown to be incorrectly signed, and it should not be cited for quantitative magic claims. The "total variation" quantity TV = sum |W(u)| over the discrete Wigner function was used with the condition TV < 1 characterising non-stabiliser states. The inequality runs the other way. For any quasi-probability distribution summing to 1, the l1 norm satisfies sum |W| >= 1 always, with equality exactly when W is non-negative. Direct computation: the stabiliser state |+> gives TV = 1.0000 and the magic state T|+> gives TV = 1.2071. The condition "TV < 1" therefore describes the empty set, and any tier defined by it has no members. Separately, TV as defined is exp(mana) -- a monotone reparameterisation of the established Wigner-negativity monotone of Veitch, Mari, Ferrie and Emerson -- and was never compared against it. Readers should consult Veitch et al. on mana and Wigner negativity, Howard and Campbell on robustness of magic, Bravyi et al. on stabiliser extent, and Leone, Oliviero and Hamma on stabiliser Renyi entropy. NOTICE (2026-08-04). A verification this record's framework relies upon has been shown to be vacuous, and the identity it claimed to establish does not hold in the naive form. The naive pentagon identity FAILS for octonionic labels. Over all 7^4 = 2401 imaginary labelings, the two independent rebracketing paths from ((ab)c)d to a(b(cd)) disagree in 1176 cases (49%). Explicit counterexample: (a,b,c,d) = (1,1,2,4) gives +e6 on one path and -e6 on the other. The verification previously relied upon (the Pachner prover of 10.5281/zenodo.19713350) is vacuous: it defines w5 := w1*w2*w3*w4 and then checks w1*w2*w3*w4*w5 = +1, i.e. x*x = 1 for x in {+1,-1}. The identical test passes 4096/4096 on RANDOM SIGNS with no octonions involved. That script's own comment concedes the equation is "tautologically true". What this does NOT mean. Octonions are non-associative by definition, so rebracketing must be path-dependent and the naive pentagon cannot hold. That is the content, not a defect. A coherent non-associative calculus must supply the associator as explicit data satisfying its own coherence condition (Mac Lane), which is what Kuperberg's spiders (Comm. Math. Phys. 1996) provide for rank-2 groups. The structural framing is defensible; the verification was measuring the wrong thing. We recast the three foundational quantum information protocols — quantum teleportation, superdense coding, and the CHSH Bell test — in the language of the Origami Instruction Set Architecture (ISA), and then lift each to its TriQ (3-qubit GHZ) and 6-731 (broken-Fano-line) extensions. In the ISA reading, teleportation is SPLIT;SPLAT with a classical wire, superdense coding is FLIP;FLOP on a Bell pair encoding log⁡2∣G∣\log_2|G|log2​∣G∣ bits via the group G=Z22G = \mathbb{Z}_2^2G=Z22​, and the CHSH violation is a hybrid H¹/H² computation: the Bell pair is a stabiliser (H¹) resource but the Tsirelson-optimal measurement applies a T-gate rotation (H², TWIST=1). We prove that the Tsirelson bound cos⁡2(π/8)\cos^2(\pi/8)cos2(π/8) equals the total variation of any dark-magic (Tier 1) state in the ISA magic-type classification — the Tsirelson bound is the Wigner mass of the dark-magic sector. Lifting to the TriQ register introduces the ORBIT opcode, raises superdense coding capacity to 3 bits per qubit (log⁡2∣Z23∣\log_2|\mathbb{Z}_2^3|log2​∣Z23​∣), and replaces the CHSH game with the Fano Line Verification Game whose win conditions are the ±1\pm 1±1 values of the 6j6j6j symbol of Z23\mathbb{Z}_2^3Z23​. The 6-731 extension (one Fano line weakened to coupling η\etaη) makes teleportation directed, reduces superdense capacity to 3−H(η)3 - H(\eta)3−H(η) bits per qubit, and interpolates the Fano game win probability continuously between classical and quantum bounds. Remarkably, the same asymmetry parameter η\etaη is independently measurable by three methods — thermodynamic Carnot efficiency (Paper 325), information-theoretic channel capacity, and game-theoretic win probability — whose agreement constitutes a Pentagon-identity self-verification test for the hardware. We close with the Hk^kk Bell tower: for each cohomological depth kkk there is a Bell-type inequality whose maximum quantum violation requires an Hk^kk resource, providing a game-theoretic ladder that extends beyond CHSH through the Fano game (H²) to a conjectured G2_22​-correlation game (H³) accessible only to the 731-ISA SPIN opcode.Appendix B provides side-by-side quantum circuit and ISA spider diagrams for all three baseline protocols. Keywords quantum teleportation, superdense coding, CHSH inequality, Bell test, Tsirelson bound, Origami ISA, H^k cohomology, stabiliser states, magic states, Fano plane, GHZ state, TriQ register, 6-731 architecture, ORBIT opcode, TWIST opcode, topological heat engine, dark magic, Wigner mass, Bell hierarchy, Mermin inequality, Pentagon equation, quantum nonlocality, quantum channel capacity, G2 correlations
Many quantum algorithms, including Shor's celebrated factoring and discrete log algorithms, proceed by reduction to a hidden subgroup problem, in which an unknown subgroup H of a group G must be determined from a quantum state ψ\psiψ over G that is uniformly supported on a left coset of H. These hidden subgroup problems are typically solved by Fourier sampling: the quantum Fourier transform of ψ\psiψ is computed and measured. When the underlying group is nonabelian, two important variants of the Fourier sampling paradigm have been identified: the weak standard method, where only representation names are measured, and the strong standard method, where full measurement (i.e., the row and column of the representation, in a suitably chosen basis, as well as its name) occurs. It has remained open whether the strong standard method is indeed stronger, that is, whether there are hidden subgroups that can be reconstructed via the strong method but not by the weak, or any other known, method. In this article, we settle this question in the affirmative. We show that hidden subgroups H of the q-hedral groups, i.e., semidirect products Zq⋉Zp{\mathbb Z}_q \ltimes {\mathbb Z}_pZq​⋉Zp​, where q∣(p−1)q \mid (p-1)q∣(p−1), and in particular the affine groups ApA_pAp​, can be information-theoretically reconstructed using the strong standard method. Moreover, if ∣H∣=p/polylog(p)|H| = p/ {\rm polylog}(p)∣H∣=p/polylog(p), these subgroups can be fully reconstructed with a polynomial amount of quantum and classical computation. We compare our algorithms to two weaker methods that have been discussed in the literature—the “forgetful” abelian method, and measurement in a random basis—and show that both of these are weaker than the strong standard method. Thus, at least for some families of groups, it is crucial to use the full power of representation theory and nonabelian Fourier analysis, namely, to measure the high-dimensional representations in an adapted basis that respects the group's subgroup structure. We apply our algorithm for the hidden subgroup problem to new families of cryptographically motivated hidden shift problems, generalizing the work of van Dam, Hallgren, and Ip on shifts of multiplicative characters. Finally, we close by proving a simple closure property for the class of groups over which the hidden subgroup problem can be solved efficiently.
Nonstabilizerness (magic) is the quantum resource that, together with stabilizer operations, makes universal quantum computation possible. However, quantifying nonstabilizerness is difficult. The standard measure sums over exponentially many Pauli operators, and for quantum codes no quantitative theory has been available. A structural observation removes this obstacle: the Clifford sector carries no magic and can be removed by a Clifford transformation, leaving an order-three object whose magic is an exactly evaluable fourth moment. Removing this inert background yields closed forms for several code families: a formula for all Dicke states, reducing a 100-qubit case from 41004^{100}4100 terms to a short binomial sum; a bound for cubic-phase codes (twisted quantum doubles and non-Abelian topological order), saturated only by the D4D_4D4​ code; and a cyclic/zero criterion for group multiplication states. For codeword-stabilized (CWS) codes, the companion paper \cite{Liu26arXiv} carries this reduction to its conclusion: the most magical codes are exactly the Sidon sets, and the nonstabilizerness bounds the code's transversal non-Clifford power. Together these results reduce the computation of nonstabilizerness for a broad class of codes to finite classical counting problems, and identify the maximally magical codes among them.
PENDING QUALITY AUDIT (2026-08). The file is restricted while this record is reviewed as part of a systematic audit of the author's corpus. It has not yet been assessed. Metadata and DOI remain public, and access can be requested. The resource theory of quantum magic (Veitch et al. 2014) identifies non-stabiliser states as resources and T-gates as the elementary injection operation. Subsequent work established that the magic sector itself splits into two sub-tiers: dark magic (Wigner-negative but TV = 1, Clifford-simulable under reframing) and genuine magic (TV < 1), where TV is the total variation of the discrete Wigner function. We identify a strictly richer resource — associamancy — that sits above both sub-tiers and that standard magic theory cannot see, cannot create from below, and cannot measure without the SPIN opcode of the 731 ISA. The boundary is algebraically precise. A quantum state possesses associamancy if and only if its hidden symmetry group contains an irreducible representation with Frobenius-Schur indicator ν₂ = 0 — the condition that the representation is genuinely complex, realisable over ℂ but not over ℝ or ℍ. We call this the Schur boundary. Three equivalent characterisations of the Schur boundary are established: (1) Algebraic: ν₂(V_λ) = 0 for some irrep V_λ of the hidden symmetry group. (2) Cohomological: the obstruction class [α] ≠ 0 ∈ H²(G, U(1)) is non-trivial. (3) Number-theoretic: for G = PSL(2,q), associamancy holds if and only if q ≡ 3 (mod 4) — the same condition that makes the quadratic Gauss sum τ(q) = i√q purely imaginary. The Schur entropy S_Schur(|ψ⟩) = −∑_{λ:ν₂=0} p_λ log p_λ is a valid resource monotone, independent of both Wigner negativity and TV: a state can have TV ≪ 1 (genuine magic) and zero Schur entropy, and a state can have S_Schur = log 2 at either dark or genuine magic level. PSL(2,7) is the minimal group exhibiting associamancy (order 168). The Freudenthal magic square organises associamancy into a ladder G₂ ⊂ F₄ ⊂ E₆ ⊂ E₇ ⊂ E₈, each rung strictly richer than the last. Keywords: quantum resource theory, magic states, associamancy, Frobenius-Schur indicator, Schur boundary, non-associative, octonions, PSL(2,7), Freudenthal magic square, G₂, 731 ISA, dark magic, total variation, quantum computing
PENDING QUALITY AUDIT (2026-08). The file is restricted while this record is reviewed as part of a systematic audit of the author's corpus. It has not yet been assessed. Metadata and DOI remain public, and access can be requested. The 63-point 3-qubit symplectic polar space W(5,2)W(5,2)W(5,2) contains the Fano plane PG(2,2)PG(2,2)PG(2,2) as the 7-point GHZ stabiliser subspace. This paper proves that the complementary 56 points decompose into exactly seven orbits of eight points each under the action of the GHZ stabiliser group Z23\mathbb{Z}_2^3Z23​, with one orbit per Fano line. This decomposition has a three-level nested structure. Level 0: The Fano plane PG(2,2)PG(2,2)PG(2,2) itself — the 7 GHZ stabilisers, the Wigner support of the GHZ state, and the difference set for all orbits. Level 1: The 7 orbit labels L=0,…,6L=0,\ldots,6L=0,…,6 form a second copy of PG(2,2)PG(2,2)PG(2,2) under bitwise XOR: orbits OL\mathcal{O}_LOL​, OM\mathcal{O}_MOM​, OK\mathcal{O}_KOK​ satisfy OL⊕OM⊆OK\mathcal{O}_L \oplus \mathcal{O}_M \subseteq \mathcal{O}_KOL​⊕OM​⊆OK​ iff L⊕M=KL \oplus M = KL⊕M=K in Z23\mathbb{Z}_2^3Z23​. This is the XOR-Fano composition rule governing magic state combination. Level 2: Each orbit OL\mathcal{O}_LOL​ splits into two disjoint Lagrangian 4-cliques OLA⊔OLB\mathcal{O}_L^A \sqcup \mathcal{O}_L^BOLA​⊔OLB​, each a maximal abelian subspace of W(5,2)W(5,2)W(5,2) — the same type of structure as the Fano plane itself. The Wigner negativity of any 3-qubit state decomposes as N(ρ)=∑LNL(ρ)\mathcal{N}(\rho) = \sum_L \mathcal{N}_L(\rho)N(ρ)=∑L​NL​(ρ), where NL\mathcal{N}_LNL​ is the negativity on orbit OL\mathcal{O}_LOL​. The orbit index LLL simultaneously identifies which Fano line is broken (activated) in the resource-theory sense, which magic valence the state carries, and which line is asymmetric in the 6-7 directed-routing architecture. Magic is broken-line activation in phase space. A remark establishes the formal analogy with spontaneous symmetry breaking: the PSL(2,7)→S4PSL(2,7) \to S_4PSL(2,7)→S4​ symmetry reduction of the 6-7 architecture is the discrete finite-group analogue of SU(2)×U(1)→U(1)SU(2) \times U(1) \to U(1)SU(2)×U(1)→U(1) in the electroweak sector. The 6 intact Fano lines play the role of the massless photon; the 1 broken line plays the role of the massive gauge bosons; the activated orbit OL\mathcal{O}_LOL​ plays the role of the Goldstone mode; η>0\eta > 0η>0 is the order parameter. The 7 choices of broken line are the 7 discrete vacua. The FMO complex is the biological realisation: the symmetric (η=0\eta = 0η=0) configuration is evolutionarily unstable, and the broken-symmetry configuration is the stable ground state selected over a billion years — the closest natural analogue to a thermodynamically driven symmetry-breaking transition.