- The paper reduces equivalence testing for complete multiqubit orthogonal product bases to isomorphism of edge-colored complete multigraphs, recovering variable pairs and direction flips from graph components.
- It proves structural and enumerative results, including the variable bound v ≤ 2^n − 1, the exact value a₄ = 27,385, and doubly exponential growth aₙ = 2^{2^{n+o(n)}} in the number of equivalence classes.
- It introduces a two-phase exact algorithm that combines fast invariant checks with structure-aware backtracking, avoiding enumeration of all 2^n! row permutations while retaining worst-case exponential complexity.
Overview
This paper develops a combinatorial classification theory for complete orthogonal product bases (OPBs) of an n-qubit system, building on the formal-matrix framework of Chen and Đoković. The central contribution is a reduction of OPB equivalence to graph isomorphism: each OPB formal matrix is encoded as an edge-colored complete multigraph, and two formal matrices are equivalent exactly when their multigraphs are isomorphic. On top of this encoding, the paper derives structural constraints (balancedness, a bound on the number of variables), quantitative bounds on the number of equivalence classes with doubly exponential asymptotics, and an exact two-phase algorithm for testing equivalence.
The motivation comes from quantum information: although OPBs contain no entanglement, they can exhibit "nonlocality without entanglement," failing to be perfectly distinguishable by LOCC, and they are closely tied to unextendible product bases (UPBs), bound entanglement, quantum information hiding, and secret sharing (2608.18421). A systematic enumeration of essentially different OPBs is therefore a foundational prerequisite for further study of these phenomena.
An n-qubit OPB formal matrix is an N×n array over an alphabet of variable pairs {xα,xα⊥}, where N=2n, such that each row contains n distinct letters, any two rows are orthogonal in some column via complementary letters, and the rows are realizable as an orthonormal product basis of (C2)⊗n. Equivalence permits row permutations, column permutations, variable renamings, and direction flips—precisely the transformations that leave the physical content of the basis unchanged.
The graph construction assigns to each column j a color layer Γj(M), the disjoint union of balanced complete bipartite graphs K(Pα,Nα), one per variable pair occurring in that column; merging the n0 layers yields an edge-colored complete multigraph whose edges cover exactly those of n1. Crucially, variable renamings and direction flips induce no graph-level change at all: a flip merely swaps the two parts of a connected bipartite component, whose bipartition is unique up to swapping. This observation underlies the equivalence theorem:
n2
with equivalence of graphs defined via vertex and color permutations. The forward direction is immediate from the correspondence between operations; the converse recovers variable pairs as connected components of each layer and direction choices from the uniqueness of bipartitions. This theorem reduces the classification of multiqubit OPBs to isomorphism testing within this structured graph family.
Balancedness and the variable bound
Two structural results constrain all OPB formal matrices. First, the balancedness lemma shows that whenever a variable pair occurs in a column, its two symbols appear equally often: n3. The proof is a dimension count: truncating rows containing n4 or n5 yields orthogonal subspaces n6 and n7 of dimensions n8 and n9, and every remaining row must have its truncated factor in N×n0, forcing N×n1 with N×n2; combining with N×n3 gives equality throughout, hence N×n4.
Second, the number N×n5 of free variables satisfies N×n6. Orienting each variable pair maps row N×n7 to a partial assignment fixing exactly N×n8 coordinates, hence to a codimension-N×n9 subcube of {xα,xα⊥}0. Because the color layers cover {xα,xα⊥}1, these subcubes are pairwise disjoint and partition {xα,xα⊥}2; since every variable occurs, the partition is tight and minimal, so Tarsi's lemma ({xα,xα⊥}3 subcubes in a tight minimal cover of {xα,xα⊥}4) yields {xα,xα⊥}5. The paper notes that an equivalent bound was previously known via color forests of admissible hypercube colorings; the contribution here is a proof internal to the multigraph language.
Counting layers and bounds on the number of classes
For a single color layer with spectrum {xα,xα⊥}6, the paper obtains the exact closed form
{xα,xα⊥}7
together with a convolution recurrence for the total number {xα,xα⊥}8 of labeled layers, whose first values are {xα,xα⊥}9, N=2n0, N=2n1, N=2n2, N=2n3.
Letting N=2n4 denote the number of equivalence classes of N=2n5-qubit OPBs, the paper establishes:
N=2n6
where N=2n7 is the N=2n8-th Bell number. The lower bound comes from stacking two N=2n9-qubit OPBs under a new variable pair; inequivalence follows because the first layer is the unique one containing a n0 component, so any isomorphism must preserve it and recover the unordered pair n1. Iterating from the exact value n2 gives n3.
The upper bound is the more delicate argument. Coarsening each layer into a single balanced cut n4, the side markings n5 turn out to be injective—and hence bijective—on n6. Consequently each coarsened layer forces a perfect matching n7 of n8 edges, and every forced matching edge lies in the original layer. The variable branches then partition n9, and conversely any set partition of (C2)⊗n0 determines a valid layer structure, giving at most (C2)⊗n1 combinations. A three-qubit example illustrates the mechanism concretely: with (C2)⊗n2, each layer admits at most (C2)⊗n3 branch structures.
Combining both bounds with de Bruijn's asymptotics (C2)⊗n4 yields
(C2)⊗n5
i.e., the number of essentially different multiqubit OPBs grows doubly exponentially. Numerically, for (C2)⊗n6 the lower bound is already about (C2)⊗n7 while the upper bound reaches (C2)⊗n8; exact values are known only through (C2)⊗n9. The gap between the exponents' second-order terms (j0 versus j1) remains substantial.
Equivalence-testing algorithm
The algorithm exploits the layered structure directly rather than delegating to generic graph-isomorphism solvers, which do not exploit the fact that each layer is a disjoint union of balanced complete bipartite blocks—a relevant concern since the vertex count j2 grows quickly.
Phase 1 compares necessary invariants: size, number of variables, global spectrum, multiset of column spectra, multiset of pairwise edge multiplicities, and multiset of vertex degrees. Failure of any invariant certifies inequivalence; agreement does not suffice.
Phase 2 performs a backtracking search over layer mappings, within-layer component mappings, and flip indicators—the only three branching ingredients, per the equivalence theorem. Components are matched only when sizes and profiles relative to current row classes agree (up to flipping), and after each mapped layer the row classes are refined; inconsistent refinements prune the branch. Column selection uses the minimum-remaining-values heuristic. Once all layers are matched, pairing source rows with target rows of equal class produces the row permutation implicitly, avoiding any enumeration of the j3 row permutations.
Correctness is proved in both directions: soundness because a completed search assembles exactly the operations of Definition of equivalence; completeness because the true equivalence always constitutes a feasible branch that no refinement check rejects. Phase 1 runs in time polynomial in the input size, dominated by j4 for edge multiplicities; Phase 2's cost is proportional to visited branches times near-polynomial per-branch work. The worst case remains exponential—for highly symmetric instances with many identical column spectra and weakly distinguishing profiles—but the layered pruning is substantially stronger than brute force. Space complexity is j5.
Limitations and open questions
The paper is explicit about several constraints on its results. The upper bound j6 discards illegal partition combinations and quotienting by isomorphisms only crudely, so it is far from tight; correspondingly, the asymptotic statement fixes only the leading behavior j7, leaving the second-order term undetermined. Exact values of j8 are known only for j9, so the recursive lower bound rests on the external computation Γj(M)0. The algorithm's worst-case exponential behavior on highly symmetric instances is conceded rather than resolved, and no comparison against general-purpose isomorphism tools such as nauty or Traces is carried out. Two problems are stated as open: tightening the bounds on Γj(M)1, and constructing an effective algorithm that enumerates all equivalence classes for a given Γj(M)2, which would extend exact classifications beyond four qubits.
Conclusion
The paper converts the classification of multiqubit OPBs into a well-defined graph-isomorphism problem via edge-colored complete multigraphs, proves the resulting equivalence theorem, rederives the variable bound Γj(M)3 through subcube partitions and Tarsi's lemma, and establishes doubly exponential growth Γj(M)4 for the number of equivalence classes. The accompanying two-phase algorithm decides equivalence exactly while avoiding row-permutation enumeration, at the price of worst-case exponential search. The principal unresolved issues are the gap between the established lower and upper bounds on Γj(M)5 and the absence of a practical enumeration procedure for complete classifications at larger qubit numbers.