Global-Position Colored-Permutation Encoding
- Global-position colored-permutation encoding is a combinatorial method that represents routing and vehicle assignment by decomposing a full permutation matrix into disjoint, color-coded partial permutations.
- It enforces capacity constraints directly by embedding vehicle load restrictions into the one-hot encoded decision register, reducing additional qubit requirements.
- The encoding is compatible with CE-QAOA, leveraging a block-local normalized XY mixer on a one-hot manifold to optimize capacitated vehicle routing performance.
Searching arXiv for the cited papers and closely related work on global-position colored-permutation encoding and CE-QAOA. First, retrieving the main routing paper by arXiv ID (Onah et al., 6 Apr 2026). Now retrieving the PEMark paper by arXiv ID (Zhou et al., 21 May 2026), which explicitly compares its position-encoding watermarking scheme to global-position colored-permutation encoding. Global-position colored-permutation encoding is a representational scheme in which a combinatorial object is expressed through a shared positional axis together with a color-indexed decomposition of a permutation structure. In the formulation introduced for the capacitated vehicle routing problem (CVRP), the positions are global route positions shared across all vehicles, and the colors are vehicle labels; the resulting tensor of binary variables decomposes a full permutation matrix into disjoint partial permutations (Onah et al., 6 Apr 2026). A semantically related position-based permutation coding paradigm also appears in API watermarking, where the order of JSON/XML key-value pairs is used as an information carrier; that work states that its mechanism is very close to what is called a global-position colored-permutation encoding, while also noting that the terminology is interpretive rather than literal in that setting (Zhou et al., 21 May 2026).
1. Definition and representational scope
The routing formulation uses global positions , customers , and vehicles . At each global position , exactly one pair is chosen, meaning that customer is visited at position and assigned to vehicle 0. The encoding is given by binary variables
1
with the interpretation
2
There are 3 binary decision variables in total (Onah et al., 6 Apr 2026).
The term global-position denotes the use of a single global route order shared across all vehicles rather than separate per-vehicle route positions. The term colored-permutation denotes that, once vehicle labels are ignored, the assigned customer positions form a permutation matrix, while the vehicle label 4 acts like a color that partitions that permutation into disjoint partial permutations. In this sense, the representation is simultaneously an ordering model and a vehicle-assignment model.
2. Permutation-matrix structure and disjoint partial permutations
Define the aggregated matrix
5
Then 6 means that customer 7 is placed at global position 8 by some vehicle. Under the two assignment constraints
9
and
0
the matrix 1 is a permutation matrix. The paper formalizes the decomposition
2
where each 3 is a 4 partial permutation matrix and the supports are pairwise disjoint (Onah et al., 6 Apr 2026).
This characterization identifies the exact combinatorial content of the encoding. Each global position chooses one symbol 5, each customer appears exactly once overall, and the vehicle labels color the positions of a single underlying permutation. Each vehicle slice is only partial because a vehicle may visit only a subset of customers, but within that slice it still cannot reuse a row or a column. A common misunderstanding is to read the construction as 6 independent route permutations; the defining statement is instead that the 7 color layers combine into one full 8 permutation matrix.
3. Capacity handling on the native decision register
A central feature of the encoding is that vehicle capacity is enforced directly on the routing decision register rather than through an explicit load or capacity register. The operator-valued load for vehicle 9 is defined as
0
where 1 is customer demand and 2 is the rank-1 projector corresponding to symbol 3 on block 4. On a basis state 5, this becomes
6
The hinge-square penalty is
7
with 8 the capacity of vehicle 9 and 0. The paper also notes a smooth surrogate for balanced cases,
1
which penalizes both overload and underload (Onah et al., 6 Apr 2026).
The significance of this construction lies in qubit economy. The encoding uses only the routing variables for capacity itself: no explicit capacity register, no slack register, and no ancilla qubits required for encoding capacity itself. The paper contrasts this with prior quantum CVRP encodings that used explicit load bookkeeping with 2 or 3 additional qubits for capacity 4. A plausible implication is that the colored-permutation viewpoint is not merely a notational choice; it is structurally tied to how feasibility conditions are embedded into the same decision manifold.
4. Objective function, one-hot manifold, and CE-QAOA compatibility
The routing cost is defined on consecutive global positions. For CVRP, the edge cost between symbols 5 and 6 is
7
where 8 is the metric and 9 is the depot for vehicle 0. The diagonal objective Hamiltonian is
1
The full cost Hamiltonian is
2
The encoding is designed for Constraint-Enhanced QAOA: it lives in a tensor product of one-hot blocks, the mixer is a block-local normalized XY mixer,
3
and the depth-4 CE-QAOA state is
5
with
6
For CVRP, 7 blocks and the local alphabet size is 8 (Onah et al., 6 Apr 2026).
The important structural point is that the mixer preserves the one-hot encoded manifold while the cost Hamiltonian is diagonal. The appendix further reuses the encoded-manifold analysis from earlier work. In the dephased reference model, the diagonal distribution after 9 layers is written as an envelope 0, the off-peak quantity is
1
with Fejér kernel
2
and the lower bound on the probability of sampling an optimum in the reference model is
3
Using
4
the paper derives dimension-free finite-depth and finite-shot guarantees.
5. Decoding, feasibility certification, and reported performance
Measured bitstrings are decoded by reading, for each global position 5, the unique active symbol 6. The sequence of positions with the same 7 gives that vehicle’s route segment; depot edges are inserted automatically by the objective; and a classical feasibility oracle checks one-hot per block, each customer exactly once, capacity, and contiguity of each vehicle’s positions on the global timeline. The paper gives a polynomial-time oracle FeasibleGlobalPositions, which certifies admissibility and then evaluates exact cost, and notes that the feasibility oracle may also be of independent interest as a reusable polynomial-time decoding and certification primitive for quantum and quantum-inspired routing pipelines (Onah et al., 6 Apr 2026).
The reported resource and benchmark claims are correspondingly specific. The one-hot native encoding uses
8
qubits. A binary-compressed colored-permutation variant is argued to reduce the count from a separated encoding scaling like
9
to a reduced colored-permutation scaling like
0
On the QOptLib CVRP instances with 1, the paper reports that its PHQC pipeline recovered the independently verified optima on the benchmark suite, with reported costs matching or improving the hybrid values from the reference table in most cases. The table includes instances such as P-n41.vrp through P-n82.vrp, and the paper states that the end-to-end pipeline matched the verified optimum for every instance in the table, with one listed reference value apparently below the verified optimum.
6. Extension to position-based permutation coding and terminological caveats
A closely related but distinct use of positional permutation structure appears in PEMark, a watermarking scheme for API responses. That framework groups the keys of a JSON object 2 into groups 3,
4
uses the fact that a group of 5 keys has 6 orderings, and requires
7
for an 8-bit watermark. A watermark integer 9 is decomposed factorially,
0
where the coefficients form a Lehmer code; the sorted baseline key sequence
1
is recursively transformed into a watermarked order
2
yielding
3
Extraction reconstructs
4
and then
5
with majority voting across groups,
6
The paper explicitly states that this mechanism is very close to what is called a global-position colored-permutation encoding, because positions of keys are the carrier and the symbolic choice at each position comes from the remaining set of elements; it also states, however, that the paper does not literally use “colored permutation” or “global-position” terminology and is better described strictly as a Lehmer-code-based permutation watermarking scheme over key-order redundancy (Zhou et al., 21 May 2026).
This comparison clarifies both the reach and the limits of the term. In the routing paper, colored permutations are formal objects: the vehicle-colored slices 7 sum to a permutation matrix on a shared global timeline. In PEMark, the analogy is semantic rather than formal: the code is carried by order positions relative to a lexicographic baseline, with no explicit color object. This suggests that global-position colored-permutation encoding names a broader design pattern—information carried by absolute positions within a shared permutation structure—while retaining a narrower, exact meaning in the CVRP formulation where color layers are mathematically explicit.