Introduction
Value functions in reinforcement learning (RL) are scalars [39 , 42 ] , or, in distributional RL, probability measures [4 ] ; either way, their values can be combined in any order. Yet in quantum control, attitude control, and robotic manipulation, actions compose as non-commuting operators, and the order of a plan determines its outcome. The issue is particularly relevant when each episode is expensive, as in quantum and robotic control. Tracking the latent and fitting a generic function approximator to it learns the order-dependence from data without guarantees; planning over action histories is exact but its cost grows as K T K^T K T per decision. We show that the value function itself can carry this non-commutative structure, with exact representation, convergence and certificate guarantees. Entropy-regularised RL [15 , 44 ] supplies the aggregation we use for control.
A simple example of the problem. Consider a rectangular object, and rotate it 90° about its vertical axis, then 90° about its horizontal axis. Now perform the same two rotations in the opposite order: the object ends up facing a different way. The same signature appears whenever a quantum gate is applied before versus after another: the objects being composed are matrices, and matrix multiplication does not commute. If the agent’s observation records which actions were taken (a step counter, action counts, a task phase) but not in which order , a scalar Q Q Q -function on that observation assigns the same number to both histories. § 5 makes this precise: with three steps or more, two histories that differ only by a swap receive values that no scalar function of an order-blind observation can both match (Proposition 8).
In quantum control, an agent selects unitary pulses { U k = e − i H k Δ t } \{U_k = e^{-iH_k\Delta t}\} { U k = e − i H k Δ t } ; since [ H j , H k ] ≠ 0 [H_j, H_k] \ne0 [ H j , H k ] = 0 for generic Hamiltonians, pulse j j j then k k k reaches a physically different quantum state than k k k then j j j [30 ] . In rigid-body manipulation, control inputs induce rotations composing the same way, formalised by S O ( 3 ) SO(3) S O ( 3 ) [33 ] and inherited by in-hand reorientation, spacecraft attitude control, and locomotion on S E ( 3 ) SE(3) S E ( 3 ) . In each domain a plan a 1 , … , a T a_1,\ldots,a_T a 1 , … , a T has cumulative effect equal to an ordered product X T = A a 1 ⋯ A a T X_T = A_{a_1}\cdots A_{a_T} X T = A a 1 ⋯ A a T , with reward r = 1 N Tr ( W X T ) r = \frac{1}{N}\operatorname{Tr}(WX_T) r = N 1 Tr ( W X T ) for an observable W W W . Figure 1 shows the phenomenon and the operator remedy, on a three-fold example worked out in Appendix § 12 .
Figure 1. The idea in one example (Appendix § 12 ). (a) ( V , D , H ) (V,D,H) ( V , D , H ) and ( D , V , H ) (D,V,H) ( D , V , H ) use the same folds but end mirrored, with rewards ± 1 \pm1 ± 1 . (b) After two steps both histories contain one V V V and one D D D , so a scalar value on this order-blind observation errs by at least 1 (Proposition 8). (c) The compositional backup forms the ordered product, and one operator Q ( H ) = A H W Q(H)=A_HW Q ( H ) = A H W , read against the history operator X h X_h X h , returns both values exactly (Proposition 1). (d) Unrolled, the recursion applies the dual maps backwards along the plan, so each stored operator already contains the rest of the plan (Corollary 1). (e) For control there is no operator maximum (Kadison); the operator log-sum-exp is a Löwner upper bound of every Q ( s ′ , a ′ ) Q(s',a') Q ( s ′ , a ′ ) (ellipse containment), which yields the upper-bound certificate of Theorem 2.
Observing the latent directly. If the latent X t X_t X t is observed, the process on ( s t , X t ) (s_t, X_t) ( s t , X t ) is Markov, and a scalar Q ( s , X , a ) Q(s, X, a) Q ( s , X , a ) suffices in principle, but X t X_t X t ranges over a continuous non-abelian group, so a generic approximator must learn a nonlinear-looking function on it. If X t X_t X t is not observed but the action maps and X 0 X_0 X 0 are known, it can be tracked exactly from the agent’s own actions, as a belief is in a POMDP; exact tabular history summaries, by contrast, need K T K^T K T entries for free action groups (Proposition 9). Our representation is linear in the latent, so one operator per state–action pair is valid at every latent state, including unseen ones (Proposition 1), without retraining or augmentation and with a decision cost that does not grow with the horizon.
The central idea is to place order information in the codomain of the value function. If Q ( s , a ) Q(s, a) Q ( s , a ) is an operator and the Bellman backup transports the continuation value through the action’s operator, Q ( s , a ) = K a † ( R + γ E V ) Q(s, a) = K_a^\dagger(R + \gamma\,\mathbb{E}V) Q ( s , a ) = K a † ( R + γ E V ) , then unrolling the recursion produces exactly the ordered product A a 1 ⋯ A a T A_{a_1}\cdots A_{a_T} A a 1 ⋯ A a T , and the scalar value at any latent state is a trace readout. For every policy that does not look at the latent state this representation is exact (Proposition 1); the history enters only through an N 2 N^2 N 2 -dimensional history operator X h X_h X h , which the agent can maintain by one matrix product per step.
Operator aggregation for control. Control requires aggregating { Q ( s , a ′ ) } a ′ \{Q(s, a')\}_{a'} { Q ( s , a ′ ) } a ′ into a continuation value. For scalars this is a maximum; for self-adjoint operators the Löwner order is only partial, and by Kadison’s anti-lattice theorem two incomparable self-adjoint operators have no least upper bound [20 ] . However non-commuting a POMDP’s transitions, its α \alpha α -vectors lie in a lattice whose join gives the QMDP and fast-informed bounds [16 ] ; the PSD cone is not a lattice [1 Thm. 3.21] (Remark 2). We use the operator log-sum-exp, which is a Löwner upper bound of every argument, and prove that the resulting soft operator recursion certifies an upper bound on the value of every policy at every latent state (Theorem 2); in the commuting case it reduces exactly to soft Q Q Q -learning (Prop. 3) and to the QMDP bound. We also delimit what does not survive: the operator log-sum-exp is not monotone and not non-expansive outside the commuting sector (Props. 6 , 7).
Scope. Three settings should be kept apart. The exact representation (Proposition 1) concerns latent-blind policy evaluation : the policy sees only s t s_t s t , and its value is linear in the latent. The certificate (Thm 2) bounds the value of every policy, latent-aware ones included. The control experiments except E23 are latent-aware : the agent observes ρ t \rho_t ρ t , or can compute it from the action history because ρ 0 \rho_0 ρ 0 and the K a \mathcal{K}_a K a are known, and uses it only to perform the greedy readout arg max a τ ( ρ t Q ( s t , a ) ) \arg\max_a \tau(\rho_t Q(s_t,a)) arg max a τ ( ρ t Q ( s t , a )) . OpQ uses the action maps K a \mathcal{K}_a K a but not the observable transition kernel P P P , and its headline variant learns R R R from scalar rewards; E19 compares it with learners and planners given exactly this knowledge. We do not claim to solve a POMDP in which the latent must be inferred from rewards alone, nor the case of unknown action maps, which we leave open (§ 7 ). The motivating case of an unknown, unmeasurable initial state (e.g. a single copy of an unknown quantum input) is covered by Proposition 1 and Theorem 2; E23 tests it end to end with an initial state that is drawn from a prior with known mean and never observed.
Relation to prior work. The closest connection is to α \alpha α -vector representations in POMDPs ([36 , 21 ] ). With the latent vectorised, Proposition 1 is the operator (Heisenberg picture) form of blind-policy α \alpha α -vector evaluation ([16 ] ), which we state because everything else builds on it. The new content concerns control without a lattice (Remark 2); keeping a small set of operators per state, as point-based methods do ([31 ] ), closes the remaining gap (E20). Because the latent carries a representation of the action algebra, the required operator dimension is related to the Hankel rank of the ordered-product readout (Proposition 10 ), and the nilpotency step of the algebra controls the size of exact history statistics (Proposition 9).
The ordered-product readout is a weighted automaton, and our dimension results import Hankel-rank theory ([8 , 14 ] ), as used for observable operator models and predictive state representations ([19 , 26 , 2 ] ); planning with such linear predictive representations is studied by Even-Dar et al. [12 ] , and quantum analogues of POMDPs by Barry et al. [3 ] . Our contribution is to place these operators inside a Bellman recursion with an order-theoretic aggregation. Distributional RL ([4 ] ) enriches the codomain with measures that commute under convolution. Bayesian Bellman operators ([13 ] ), operator DQN ([27 ] ), quantum RL ([10 , 35 ] ), geometric RL on S O ( 3 ) \mathrm{SO}(3) SO ( 3 ) ([33 ] ), free-probability embeddings ([17 ] ), recurrent ([34 ] ) and equivariant ([41 ] ) Q Q Q -learning, and the analyses of Lee [24 ] , Lee et al. [25 ] , Meyn [28 ] all retain scalar Bellman equations. Model-based planners ([38 , 23 ] ) with OpQ’s knowledge are compared in E19; gradient pulse optimisation (GRAPE; [22 ] ) plans continuous pulses with a known model, and for a discrete calibrated gate set its counterpart is this search over gate words. Höftmann et al. [18 ] use a non-scalar Bellman operator on value differences; Zhang et al. [43 ] prove value preservation when Lie-group operators commute with the generator, parallel to Proposition 3.
Contributions. (1) A formal problem class, operator-latent decision processes, that separates latent-aware from latent-blind control and makes the state-aliasing structure explicit (§ 3 ). (2) A compositional operator Bellman recursion: exact representation of latent-blind action values in operator α \alpha α -vector form (Proposition 1), contraction and almost-sure convergence of an asynchronous operator TD scheme for policy evaluation under its sampling and step-size assumptions (Thm 1), and one-step policy improvement (Prop. 2). (3) Control without a lattice: an operator soft-Bellman recursion whose finite-horizon iterates are Löwner upper bounds on every policy’s value (Thm 2), valid for any Löwner upper-bound aggregator (Corollary 2), with almost-sure convergence of its sampled update for a finite horizon (Thm 3), exact reduction to soft Q Q Q -learning under commutativity ((Prop. 3)), a corrected Lipschitz analysis of the operator log-sum-exp, including counterexamples to β \beta β -free constants ((Prop. 6)), and a sufficient condition for near-optimal greedy control ((Prop. 4)). (4) Representation results for order, stated as consequences of the classical results they build on: an aliasing lower bound (Proposition 8), a free-versus-nilpotent dichotomy for exact tabular history representation (Proposition 9), and a Hankel-rank lower bound on the operator dimension that is tight for generic full-rank instances (Proposition 10). (5) Numerical checks of every statement; control experiments against tabular, DQN and recurrent baselines, model-matched learners and tree search up to horizon 20 (E19), certificate tightening (E20), and tests of miscalibration, β \beta β and a hidden latent (E21–E23); and representation experiments on four non-abelian domains (§ 6 ); code at https://anonymous.4open.science/r/opq-RL-2027-0D23.
Preliminaries
Classical RL. For an MDP ( S , A , P , r , γ ) (\mathcal{S}, \mathcal{A}, P, r, \gamma) ( S , A , P , r , γ ) the optimal Q ∗ Q^{*} Q ∗ satisfies Q ∗ ( s , a ) = E [ r + γ max a ′ Q ∗ ( s ′ , a ′ ) ] Q^{*}(s,a)=\mathbb{E}[r+\gamma\max_{a'}Q^{*}(s',a')] Q ∗ ( s , a ) = E [ r + γ max a ′ Q ∗ ( s ′ , a ′ )] , and the Bellman operator is a γ \gamma γ -contraction in ∥ ⋅ ∥ ∞ \|\cdot\|_{\infty} ∥ ⋅ ∥ ∞ ([42 , 39 ] ).
Operators. We work in M N = C N × N \mathcal{M}_{N}=\mathbb{C}^{N\times N} M N = C N × N with the normalised trace τ = 1 N Tr \tau=\frac{1}{N}\operatorname{Tr} τ = N 1 Tr , a faithful tracial state, so ( M N , τ ) (\mathcal{M}_{N},\tau) ( M N , τ ) is the canonical finite-dimensional non-commutative probability space ([29 ] ); the scalar case is N = 1 N=1 N = 1 . We write ∥ ⋅ ∥ \|\cdot\| ∥ ⋅ ∥ for the operator norm, ∥ x ∥ 2 2 = τ ( x ∗ x ) \|x\|_{2}^{2}=\tau(x^{*}x) ∥ x ∥ 2 2 = τ ( x ∗ x ) for the normalised Hilbert–Schmidt norm, ∥ x ∥ 1 = τ ( ∣ x ∣ ) \|x\|_{1}=\tau(|x|) ∥ x ∥ 1 = τ ( ∣ x ∣ ) for the normalised trace norm, and x ⪯ y x\preceq y x ⪯ y for the Löwner order on self-adjoint operators. For a linear map K \mathcal{K} K on M N \mathcal{M}_{N} M N its dual (Heisenberg picture) K † \mathcal{K}^{\dagger} K † is defined by τ ( Y K ( ρ ) ) = τ ( K † ( Y ) ρ ) \tau(Y\mathcal{K}(\rho))=\tau(\mathcal{K}^{\dagger}(Y)\rho) τ ( Y K ( ρ )) = τ ( K † ( Y ) ρ ) . For self-adjoint x 1 , … , x K x_{1},\ldots,x_{K} x 1 , … , x K the operator log-sum-exp is
LSE β ( x 1 , … , x K ) = 1 β log ( ∑ i e β x i ) , (1) \operatorname{LSE}_{\beta}(x_{1},\ldots,x_{K})=\frac{1}{\beta}\log\left(\sum_{i}e^{\beta x_{i}}\right), \tag*{(1)} LSE β ( x 1 , … , x K ) = β 1 log ( i ∑ e β x i ) , (1)
defined by functional calculus ([5 ] ).
Remark 1 (Group and algebra views). Writing A a = exp ( Ω a ) A_{a}=\exp(\Omega_{a}) A a = exp ( Ω a ) with Ω a \Omega_{a} Ω a in a Lie algebra g ⊂ g l ( N ) \mathfrak{g}\subset\mathfrak{gl}(N) g ⊂ gl ( N ) , the latent evolves as X t = X t − 1 exp ( Ω a t ) X_{t}=X_{t-1}\exp(\Omega_{a_{t}}) X t = X t − 1 exp ( Ω a t ) . For g = s o ( 3 ) \mathfrak{g}=\mathfrak{so}(3) g = so ( 3 ) the Ω a \Omega_{a} Ω a are real skew-symmetric; for quantum pulses Ω a = − i H a Δ t \Omega_{a}=-iH_{a}\Delta t Ω a = − i H a Δ t . The algebra view is used in § 5 to state nilpotency.
Operator-Valued Q-Learning
Operator-latent decision processes
Definition 1 (Operator-latent decision process). An OLDP is a tuple ( S , A , P , { K a } , R , γ ) (\mathcal{S},\mathcal{A},P,\{\mathcal{K}_{a}\},R,\gamma) ( S , A , P , { K a } , R , γ ) : a finite observable state space S \mathcal{S} S and action set A \mathcal{A} A (∣ A ∣ = K |\mathcal{A}|=K ∣ A ∣ = K ) with transition kernel P ( s ′ ∣ s , a ) P(s'\mid s,a) P ( s ′ ∣ s , a ) that does not depend on the latent; a latent ρ t ∈ M N \rho_{t}\in\mathcal{M}_{N} ρ t ∈ M N updated by linear maps, ρ t + 1 = K a t ( ρ t ) \rho_{t+1}=\mathcal{K}_{a_{t}}(\rho_{t}) ρ t + 1 = K a t ( ρ t ) ; and rewards linear in the latent, r t = τ ( R ( s t , a t ) ρ t + 1 ) r_{t}=\tau(R(s_{t},a_{t})\rho_{t+1}) r t = τ ( R ( s t , a t ) ρ t + 1 ) , with ∥ R ( s , a ) ∥ ≤ R max \|R(s,a)\|\le R_{\max} ∥ R ( s , a ) ∥ ≤ R m a x . Rewards are real: in CP, R R R and ρ \rho ρ are self-adjoint; in MP we use real matrices, or replace τ ( ⋅ ) \tau(\cdot) τ ( ⋅ ) by Re τ ( ⋅ ) \operatorname{Re}\tau(\cdot) Re τ ( ⋅ ) , which is still linear over R \mathbb{R} R . We write κ : = max a ∥ K a † ∥ M N → M N \kappa:=\max_{a}\|\mathcal{K}_{a}^{\dagger}\|_{\mathcal{M}_{N}\to\mathcal{M}_{N}} κ := max a ∥ K a † ∥ M N → M N for the operator-norm bound of the dual maps.
Two cases cover all our examples. In the multiplicative picture (MP), K a ( X ) = X A a \mathcal{K}_a(X) = XA_a K a ( X ) = X A a with A a ∈ G L ( N ) A_a \in GL(N) A a ∈ G L ( N ) , so X T = X 0 A a 1 ⋯ A a T X_T = X_0A_{a_1}\cdots A_{a_T} X T = X 0 A a 1 ⋯ A a T and K a † ( Y ) = A a Y \mathcal{K}_a^\dagger(Y) = A_aY K a † ( Y ) = A a Y ; κ = max a ∥ A a ∥ \kappa= \max_a\lVert A_a\rVert κ = max a ∥ A a ∥ , which equals 1 for orthogonal or unitary A a A_a A a . The terminal reward 1 N Tr ( W X T ) \frac{1}{N}\operatorname{Tr}(WX_T) N 1 Tr ( W X T ) of § 1 is the case R = W R = W R = W at the final step and R = 0 R = 0 R = 0 before (time is recorded in s s s ). In the conjugation picture (CP), K a ( ρ ) = U a ρ U a ∗ \mathcal{K}_a(\rho) = U_a\rho U_a^* K a ( ρ ) = U a ρ U a ∗ with U a U_a U a unitary and ρ \rho ρ a density operator (quantum control; or the dyad ρ = n n T \rho= nn^{\mathsf{T}} ρ = n n T of a marked body axis in rigid-body control), so K a † ( Y ) = U a ∗ Y U a \mathcal{K}_a^\dagger(Y) = U_a^*YU_a K a † ( Y ) = U a ∗ Y U a , and κ = 1 \kappa= 1 κ = 1 . In CP the dual maps are positive and unital, and R R R is self-adjoint.
A latent-aware policy chooses actions from ( s t , ρ t ) (s_t,\rho_t) ( s t , ρ t ) ; the process ( s t , ρ t ) (s_t,\rho_t) ( s t , ρ t ) is an MDP for such policies. A latent-blind policy π ( a ∣ s ) \pi(a\mid s) π ( a ∣ s ) sees only s t s_t s t . When s t s_t s t does not record the order of past actions (e.g. s t s_t s t is the step counter or the action counts), latent-blind control is a POMDP with deterministic, action-driven latent dynamics. If ρ 0 \rho_0 ρ 0 and the K a \mathcal{K}_a K a are known, a latent-blind agent can nevertheless reconstruct ρ t = K a t ∘ ⋯ ∘ K a 1 ( ρ 0 ) \rho_t = \mathcal{K}_{a_t}\circ\cdots\circ\mathcal{K}_{a_1}(\rho_0) ρ t = K a t ∘ ⋯ ∘ K a 1 ( ρ 0 ) from its own actions; in MP with X 0 = I X_0 = I X 0 = I this is the history operator X h = A a 1 ⋯ A a t X_h = A_{a_1}\cdots A_{a_t} X h = A a 1 ⋯ A a t , an N 2 N^2 N 2 -dimensional sufficient statistic of the history.
The compositional Bellman recursion {#sec:The compositional Bellman recursion}
For a latent-blind policy π \pi π define, for Q : S × A → M N Q:\mathcal{S}\times\mathcal{A}\to\mathcal{M}_N Q : S × A → M N ,
( T π Q ) ( s , a ) = K a † ( R ( s , a ) + γ ∑ s ′ P ( s ′ ∣ s , a ) ∑ a ′ π ( a ′ ∣ s ′ ) Q ( s ′ , a ′ ) ) . (2) (\mathcal{T}^{\pi}Q)(s,a)=\mathcal{K}_a^\dagger\left(R(s,a)+\gamma\sum_{s'}P(s'\mid s,a)\sum_{a'}\pi(a'\mid s')Q(s',a')\right). \tag*{(2)} ( T π Q ) ( s , a ) = K a † ( R ( s , a ) + γ s ′ ∑ P ( s ′ ∣ s , a ) a ′ ∑ π ( a ′ ∣ s ′ ) Q ( s ′ , a ′ ) ) . (2)
The continuation value is transported through the action’s dual map before it is combined with the current action; this is where composition happens. Unrolling (2) along a deterministic plan in MP gives Q = A a 1 A a 2 ⋯ A a T W Q=A_{a_1}A_{a_2}\cdots A_{a_T}W Q = A a 1 A a 2 ⋯ A a T W , the ordered product. (Setting K a † = id \mathcal{K}_a^\dagger=\operatorname{id} K a † = id removes the composition and gives a permutation-symmetric recursion whose target, in a single-state terminal-reward problem, does not depend on the current action at all; such a recursion cannot represent order, and (2) is the minimal change that can.) For a finite horizon H H H we write Q t π = T π Q t + 1 π Q_t^\pi=\mathcal{T}^\pi Q_{t+1}^\pi Q t π = T π Q t + 1 π , Q H π = 0 Q_H^\pi=0 Q H π = 0 .
Proposition 1 (Operator α \alpha α -vector evaluation of latent-blind policies). Let π \pi π be latent-blind, and let q π ( s , ρ , a ) = E π [ ∑ t ≥ 0 γ t r t ∣ s 0 = s , ρ 0 = ρ , a 0 = a ] q^\pi(s,\rho,a)=\mathbb{E}^{\pi}\left[\sum_{t\geq0}\gamma^t r_t\mid s_0=s,\rho_0=\rho,a_0=a\right] q π ( s , ρ , a ) = E π [ ∑ t ≥ 0 γ t r t ∣ s 0 = s , ρ 0 = ρ , a 0 = a ] be its action value in the full process. For a finite horizon, the backward recursion Q t π = T π Q t + 1 π Q_t^\pi=\mathcal{T}^\pi Q_{t+1}^\pi Q t π = T π Q t + 1 π satisfies q π ( s , ρ , a ) = τ ( ρ Q t π ( s , a ) ) q^\pi(s,\rho,a)=\tau\left(\rho Q_t^\pi(s,a)\right) q π ( s , ρ , a ) = τ ( ρ Q t π ( s , a ) ) for all s , a s,a s , a and all ρ ∈ M N \rho\in\mathcal{M}_N ρ ∈ M N . For an infinite horizon with γ κ < 1 \gamma\kappa<1 γ κ < 1 , T π \mathcal{T}^\pi T π has a unique fixed point Q π Q^\pi Q π and q π ( s , ρ , a ) = τ ( ρ Q π ( s , a ) ) q^\pi(s,\rho,a)=\tau\left(\rho Q^\pi(s,a)\right) q π ( s , ρ , a ) = τ ( ρ Q π ( s , a ) ) . (For ρ \rho ρ outside the physical set, q π q^\pi q π is defined by the same expectation and is linear in ρ \rho ρ .)
Corollary 1 (Ordered products are Bellman fixed points). In MP with a single observable state per step, terminal reward W W W and a deterministic plan ( a 1 , … , a T ) (a_1,\ldots,a_T) ( a 1 , … , a T ) , the recursion (steps t = 0 , … , T − 1 t=0,\ldots,T-1 t = 0 , … , T − 1 , action a t + 1 a_{t+1} a t + 1 at step t t t ) gives Q t ( a t + 1 ) = A a t + 1 ⋯ A a T W Q_t(a_{t+1})=A_{a_{t+1}}\cdots A_{a_T}W Q t ( a t + 1 ) = A a t + 1 ⋯ A a T W , so the return from X 0 = I X_0=I X 0 = I is τ ( Q 0 ( a 1 ) ) = 1 N Tr ( W A a 1 ⋯ A a T ) \tau(Q_0(a_1))=\frac{1}{N}\operatorname{Tr}(WA_{a_1}\cdots A_{a_T}) τ ( Q 0 ( a 1 )) = N 1 Tr ( W A a 1 ⋯ A a T ) . After a history h = ( a 1 , … , a t ) h=(a_1,\ldots,a_t) h = ( a 1 , … , a t ) , the value of the remaining plan is τ ( X h Q t ( a t + 1 ) ) \tau(X_hQ_t(a_{t+1})) τ ( X h Q t ( a t + 1 )) .
The product readout used in § 5 and in experiments E8, E13–E16 is therefore not a separate model: it is the fixed point of (2) along each plan.
Theorem 1 (Contraction and convergence of operator TD). (i) T π T^\pi T π is a γ κ \gamma\kappa γ κ -contraction in ∥ Q ∥ ∞ , o p : = max s , a ∥ Q ( s , a ) ∥ \lVert Q\rVert_{\infty,\mathrm{op}} := \max_{s,a}\lVert Q(s,a)\rVert ∥ Q ∥ ∞ , op := max s , a ∥ Q ( s , a )∥ ; if every K a † \mathcal{K}_a^\dagger K a † is also non-expansive in ∥ ⋅ ∥ 2 \lVert\cdot\rVert_2 ∥ ⋅ ∥ 2 (unitary conjugation, orthogonal or unitary multiplication), it is a γ \gamma γ -contraction in max s , a ∥ Q ( s , a ) ∥ 2 \max_{s,a}\lVert Q(s,a)\rVert_2 max s , a ∥ Q ( s , a ) ∥ 2 . (ii) Let ( s k , a k ) (s_k,a_k) ( s k , a k ) be drawn i.i.d. from a distribution μ \mu μ with full support, s k ′ ∼ P ( ⋅ ∣ s k , a k ) s'_k \sim P(\cdot\mid s_k,a_k) s k ′ ∼ P ( ⋅ ∣ s k , a k ) , a k ′ ∼ π ( ⋅ ∣ s k ′ ) a'_k \sim\pi(\cdot\mid s'_k) a k ′ ∼ π ( ⋅ ∣ s k ′ ) , and update only the visited pair,
Q k + 1 ( s k , a k ) = Q k ( s k , a k ) + α k ( K a k † ( R ( s k , a k ) + γ Q k ( s k ′ , a k ′ ) ) − Q k ( s k , a k ) ) , (3) Q_{k+1}(s_k,a_k)=Q_k(s_k,a_k)+\alpha_k\left(\mathcal{K}_{a_k}^\dagger\left(R(s_k,a_k)+\gamma Q_k(s'_k,a'_k)\right)-Q_k(s_k,a_k)\right), \tag*{(3)} Q k + 1 ( s k , a k ) = Q k ( s k , a k ) + α k ( K a k † ( R ( s k , a k ) + γ Q k ( s k ′ , a k ′ ) ) − Q k ( s k , a k ) ) , (3) with ∑ k α k = ∞ \sum_k\alpha_k=\infty ∑ k α k = ∞ , ∑ k α k 2 < ∞ \sum_k\alpha_k^2<\infty ∑ k α k 2 < ∞ . If γ κ < 1 \gamma\kappa<1 γ κ < 1 then Q k → Q π Q_k\to Q^\pi Q k → Q π almost surely, without projection.
Part (ii) is a statement about the specific asynchronous scheme above (i.i.d. state–action sampling with full support, on-policy next actions, square-summable steps); it is not a convergence result for arbitrary behaviour policies.
The update samples the observable transition and the next action only; it uses the dual maps K a † \mathcal{K}_a^\dagger K a † and the reward observable R R R , which are known in the control problems that motivate us (gate unitaries and a target observable; rotation generators and a target attitude). When the A a A_a A a are unknown they can be fitted from returns (E8, Sec. 5); combining such fitting with TD, with guarantees, is left open.
Control
Proposition 2 (Latent-aware policy improvement). Let π \pi π be latent-blind with γ κ < 1 \gamma\kappa<1 γ κ < 1 and let π + ( s , ρ ) ∈ arg max a τ ( ρ Q π ( s , a ) ) \pi^+(s,\rho)\in\operatorname*{arg\,max}_a\tau(\rho Q^\pi(s,a)) π + ( s , ρ ) ∈ arg max a τ ( ρ Q π ( s , a )) . Then V π + ( s , ρ ) ≥ V π ( s , ρ ) V^{\pi^+}(s,\rho)\ge V^\pi(s,\rho) V π + ( s , ρ ) ≥ V π ( s , ρ ) for all ( s , ρ ) (s,\rho) ( s , ρ ) .
Proposition 2 is the practical controller when the latent is observed or reconstructed: evaluate a latent-blind base policy in operator form and act greedily on the scalar readout. To obtain a single operator per ( s , a ) (s,a) ( s , a ) that speaks for all policies, we need an aggregation over actions in the operator codomain. In CP (Q Q Q self-adjoint, K a † \mathcal{K}_a^\dagger K a † positive and unital) define
( T β Q ) ( s , a ) = K a † ( R ( s , a ) + γ ∑ s ′ P ( s ′ ∣ s , a ) LSE β { Q ( s ′ , a ′ ) } a ′ ) . (4) (T_\beta Q)(s,a)=\mathcal{K}_a^\dagger\left(R(s,a)+\gamma\sum_{s'}P(s'\mid s,a)\operatorname{LSE}_\beta\{Q(s',a')\}_{a'}\right). \tag*{(4)} ( T β Q ) ( s , a ) = K a † ( R ( s , a ) + γ s ′ ∑ P ( s ′ ∣ s , a ) LSE β { Q ( s ′ , a ′ ) } a ′ ) . (4)
Theorem 2 (Löwner certificate). In CP, let V H β = 0 V_H^\beta=0 V H β = 0 , V t β ( s ) = LSE β ( { Q t β ( s , a ′ ) } a ′ ) V_t^\beta(s)=\operatorname{LSE}_\beta(\{Q_t^\beta(s,a')\}_{a'}) V t β ( s ) = LSE β ({ Q t β ( s , a ′ ) } a ′ ) and Q t β ( s , a ) = K a † ( R ( s , a ) + γ ∑ s ′ P ( s ′ ∣ s , a ) V t + 1 β ( s ′ ) ) Q_t^\beta(s,a)=\mathcal{K}_a^\dagger(R(s,a)+\gamma\sum_{s'}P(s'\mid s,a)V_{t+1}^\beta(s')) Q t β ( s , a ) = K a † ( R ( s , a ) + γ ∑ s ′ P ( s ′ ∣ s , a ) V t + 1 β ( s ′ )) (the finite-horizon form of (4)). For every policy π \pi π —latent-aware and history-dependent included, with q t π q_t^\pi q t π conditioned on any history that reaches ( s , ρ ) (s,\rho) ( s , ρ ) at step t t t —every a a a , and every ρ ⪰ 0 \rho\succeq0 ρ ⪰ 0 ,
q t π ( s , ρ , a ) ≤ τ ( ρ Q t β ( s , a ) ) . q_t^\pi(s,\rho,a)\le\tau(\rho Q_t^\beta(s,a)). q t π ( s , ρ , a ) ≤ τ ( ρ Q t β ( s , a )) . In particular q t π ( s , ρ , a ) ≤ τ ( ρ Q t β ( s , a ) ) q_t^\pi(s,\rho,a)\le\tau(\rho Q_t^\beta(s,a)) q t π ( s , ρ , a ) ≤ τ ( ρ Q t β ( s , a )) , and Q π ( s , a ) ⪯ Q β ( s , a ) Q^\pi(s,a)\preceq Q^\beta(s,a) Q π ( s , a ) ⪯ Q β ( s , a ) for every latent-blind π \pi π . For an infinite horizon, no contraction is needed: for every policy and every n ≥ 1 n\ge1 n ≥ 1 , q 0 π ( s , ρ , a ) ≤ τ ( ρ Q 0 β , ( n ) ( s , a ) ) + γ n R max τ ( ρ ) / ( 1 − γ ) q_0^\pi(s,\rho,a)\le\tau(\rho Q_0^{\beta,(n)}(s,a))+\gamma^nR_{\max}\tau(\rho)/(1-\gamma) q 0 π ( s , ρ , a ) ≤ τ ( ρ Q 0 β , ( n ) ( s , a )) + γ n R m a x τ ( ρ ) / ( 1 − γ ) , where Q β , ( n ) Q^{\beta,(n)} Q β , ( n ) is the n n n -step recursion. If, in addition, T β T_\beta T β contracts on the ball { ∥ Q ∥ ∞ , o p ≤ M β } \{\lVert Q\rVert_{\infty,\mathrm{op}}\le M_\beta\} {∥ Q ∥ ∞ , op ≤ M β } , M β = ( R max + γ β − 1 log K ) / ( 1 − γ ) M_\beta=(R_{\max}+\gamma\beta^{-1}\log K)/(1-\gamma) M β = ( R m a x + γ β − 1 log K ) / ( 1 − γ ) —with modulus γ \gamma γ on the commuting sector, or γ e 2 β M β \gamma e^{2\beta M_\beta} γ e 2 β M β in general (Prop. 6)—then its fixed point is itself a certificate.
The certificate needs only positivity of K a \mathcal{K}_a K a and the Löwner bound LSE β ( x ) ⪰ x i \operatorname{LSE}_\beta(x)\succeq x_i LSE β ( x ) ⪰ x i ; it does not need monotonicity of LSE β \operatorname{LSE}_\beta LSE β , which fails in general (Prop. 7). Its slack has two sources: softness (β − 1 log K \beta^{-1}\log K β − 1 log K per step) and non-commutativity—by Kadison’s theorem no single operator can be the least upper bound of incomparable Q ( s ′ , a ′ ) Q(s',a') Q ( s ′ , a ′ ) . E17 measures both.
Proposition 3 (Exact commutative reduction). In CP, suppose all U a U_a U a and R ( s , a ) R(s,a) R ( s , a ) lie in a common maximal abelian subalgebra D D D (simultaneously diagonal in a basis { e j } \{e_j\} { e j } ). Then (i) T β T_\beta T β preserves D D D and acts on each coordinate j j j as the classical soft Bellman operator q j ( s , a ) = r j ( s , a ) + γ ∑ s ′ P ( s ′ ∣ s , a ) lse β ( q j ( s ′ , ⋅ ) ) q_j(s,a)=r_j(s,a)+\gamma\sum_{s'}P(s' \mid s,a)\operatorname{lse}_\beta(q_j(s',\cdot)) q j ( s , a ) = r j ( s , a ) + γ ∑ s ′ P ( s ′ ∣ s , a ) lse β ( q j ( s ′ , ⋅ )) ; (ii) for a pure eigenstate ρ = N e j e j ∗ \rho=N e_j e_j^* ρ = N e j e j ∗ the certificate of Theorem 2 is the soft-optimal value of coordinate j j j , exceeding the optimal value by at most β − 1 log K ∑ k = 1 H − t − 1 γ k \beta^{-1}\log K\sum_{k=1}^{H-t-1}\gamma^k β − 1 log K ∑ k = 1 H − t − 1 γ k and converging to it as β → ∞ \beta\to\infty β → ∞ ; (iii) for N = 1 N=1 N = 1 , T β T_\beta T β is soft Q Q Q -learning’s Bellman operator.
In the commuting sector only the diagonal of the latent affects values, and it never changes (U a ∗ Y U a = Y U_a^*YU_a=Y U a ∗ Y U a = Y for Y ∈ D Y\in D Y ∈ D ). Order is then irrelevant and nothing is lost relative to classical RL; the operator structure is paid for only when a non-commuting action appears.
Corollary 2 (Any Löwner upper bound certifies). Let G G G map K K K -tuples of self-adjoint operators to self-adjoint operators with G ( x 1 , … , x K ) ⪰ x i G(x_1,\ldots,x_K)\succeq x_i G ( x 1 , … , x K ) ⪰ x i for every i i i . Replacing LSE β \operatorname{LSE}_\beta LSE β by G G G in (4), the conclusions of Theorem 2 for finite horizons hold unchanged.
The trace-minimal choice arg min { τ ( Y ) : Y ⪰ x i ∀ i } \arg\min\{\tau(Y):Y\succeq x_i\ \forall i\} arg min { τ ( Y ) : Y ⪰ x i ∀ i } (an SDP) is a minimal upper bound; by Kadison’s theorem none is least.
Proposition 4 (When the greedy readout is near-optimal). *In CP with a finite horizon, let Q ^ t ( s , a ) \widehat{Q}_t(s,a) Q t ( s , a ) satisfy τ ( ρ Q ^ t ( s , a ) ) ≥ q t ∗ ( s , ρ , a ) \tau(\rho\widehat{Q}_t(s,a))\ge q_t^*(s,\rho,a) τ ( ρ Q t ( s , a )) ≥ q t ∗ ( s , ρ , a ) for all ( s , ρ , a ) (s,\rho,a) ( s , ρ , a ) , as Q t β Q_t^\beta Q t β does, let δ t ( s , ρ , a ) = τ ( ρ Q ^ t ( s , a ) ) − q t ∗ ( s , ρ , a ) \delta_t(s,\rho,a)=\tau(\rho\widehat{Q}_t(s,a))-q_t^*(s,\rho,a) δ t ( s , ρ , a ) = τ ( ρ Q t ( s , a )) − q t ∗ ( s , ρ , a ) be its slack, and let π ^ \hat{\pi} π ^ act greedily on τ ( ρ t Q ^ t ( s t , a ) ) \tau(\rho_t\widehat{Q}_t(s_t,a)) τ ( ρ t Q t ( s t , a )) . With ϵ t = E π ^ [ max a δ t ( s t , ρ t , a ) − min a δ t ( s t , ρ t , a ) ] \epsilon_t=\mathbb{E}^{\hat{\pi}}[\max_a\delta_t(s_t,\rho_t,a)-\min_a\delta_t(s_t,\rho_t,a)] ϵ t = E π ^ [ max a δ t ( s t , ρ t , a ) − min a δ t ( s t , ρ t , a )] ,
V ∗ ( s 0 , ρ 0 ) − V π ^ ( s 0 , ρ 0 ) ≤ ∑ t = 0 H − 1 γ t ϵ t . V^*(s_0,\rho_0)-V^{\hat{\pi}}(s_0,\rho_0)\le\sum_{t=0}^{H-1}\gamma^t\epsilon_t. V ∗ ( s 0 , ρ 0 ) − V π ^ ( s 0 , ρ 0 ) ≤ t = 0 ∑ H − 1 γ t ϵ t . In the commuting sector at pure eigenstates, ϵ t ≤ β − 1 log K ∑ k = 1 H − t − 1 γ k \epsilon_t\le\beta^{-1}\log K\sum_{k=1}^{H-t-1}\gamma^k ϵ t ≤ β − 1 log K ∑ k = 1 H − t − 1 γ k by Prop. 3(ii), so the greedy policy becomes optimal as β → ∞ \beta\to\infty β → ∞ .
What matters is how the slack varies across actions, not its size: on S O ( 3 ) \mathrm{SO}(3) SO ( 3 ) pointing the certificate is 1.3 × V ∗ 1.3 \times V^* 1.3 × V ∗ , its spread 2 % 2\% 2% of V ∗ V^* V ∗ , and greedy control within 0.02 0.02 0.02 of optimal (E20). The condition is sufficient, not necessary, and needs the model.
Theorem 3 (Sampled OpQ-soft converges for a finite horizon). *In CP with horizon H H H and Q H = 0 Q_H = 0 Q H = 0 , let each transition ( t , s , a , s ′ ) (t,s,a,s') ( t , s , a , s ′ ) , s ′ ∼ P ( ⋅ ∣ s , a ) s' \sim P(\cdot\mid s,a) s ′ ∼ P ( ⋅ ∣ s , a ) , update one entry: Q t ( s , a ) ← Q t ( s , a ) + α [ K ^ a † ( R ^ ( s , a ) + γ LSE β ( { Q t + 1 ( s ′ , a ′ ) } a ′ ) − Q t ( s , a ) ] Q_t(s,a) \leftarrow Q_t(s,a) + \alpha[\widehat{K}_a^\dagger(\widehat{R}(s,a) + \gamma\operatorname{LSE}_{\beta}(\{Q_{t+1}(s',a')\}_{a'}) - Q_t(s,a)] Q t ( s , a ) ← Q t ( s , a ) + α [ K a † ( R ( s , a ) + γ LSE β ({ Q t + 1 ( s ′ , a ′ ) } a ′ ) − Q t ( s , a )] . If every reachable ( t , s , a ) (t,s,a) ( t , s , a ) is updated infinitely often, each entry’s step sizes satisfy ∑ n α n = ∞ \sum_n \alpha_n = \infty ∑ n α n = ∞ and ∑ n α n 2 < ∞ \sum_n \alpha_n^2 < \infty ∑ n α n 2 < ∞ , and R ^ → R \widehat{R} \to R R → R almost surely, then Q t ( s , a ) → Q t β ( s , a ) Q_t(s,a) \to Q_t^\beta(s,a) Q t ( s , a ) → Q t β ( s , a ) almost surely at every reachable ( t , s , a ) (t,s,a) ( t , s , a ) .
The proof (Appendix B) is backward induction on t t t : the targets of step t t t depend only on step t + 1 t+1 t + 1 , which has already converged, so it needs only continuity of LSE β \operatorname{LSE}_{\beta} LSE β and ∥ K ^ a † X ∥ ≤ ∥ X ∥ \lVert\widehat{K}_a^\dagger X\rVert\le\lVert X\rVert ∥ K a † X ∥ ≤ ∥ X ∥ , not the monotonicity or non-expansiveness that fail (Props. 6 , 7). The limit is Q β Q^\beta Q β , not Q ∗ Q^* Q ∗ ; greedy quality is governed by Proposition 4. E24 (App. N) checks the theorem and the step-size floor of E18–E23.
What is and is not proved. (1) Evaluation : operator TD converges for a fixed policy (Thm 1). (2) Certificate : the exact finite-horizon recursion upper-bounds every policy’s value (Thm 2). (3) Control : the sampled update converges to that certificate for a finite horizon (Thm 3); for an infinite horizon the exact fixed point certifies when T β \mathcal{T}_{\beta} T β contracts, and we prove no sampled convergence. (4) Greedy performance is governed by Proposition 4, a sufficient condition. Appendix J tabulates these statements.
Properties of the Operator Log-Sum-Exp
Throughout, x i , y i x_i,y_i x i , y i are self-adjoint with ∥ x i ∥ , ∥ y i ∥ ≤ M \lVert x_i\rVert,\lVert y_i\rVert\le M ∥ x i ∥ , ∥ y i ∥ ≤ M .
Proposition 5 (Well-posedness and Löwner properties). LSE β \operatorname{LSE}_{\beta} LSE β is well defined and self-adjoint, and (i) LSE β ( x ) ⪰ x i \operatorname{LSE}_{\beta}(x) \succeq x_i LSE β ( x ) ⪰ x i for every i i i ; (ii) LSE β ( x 1 + c I , … , x K + c I ) = LSE β ( x ) + c I \operatorname{LSE}_{\beta}(x_1+cI,\ldots,x_K+cI)=\operatorname{LSE}_{\beta}(x)+cI LSE β ( x 1 + c I , … , x K + c I ) = LSE β ( x ) + c I ; (iii) ∥ LSE β ( x ) ∥ ≤ max i ∥ x i ∥ + β − 1 log K \lVert\operatorname{LSE}_{\beta}(x)\rVert\le\max_i\lVert x_i\rVert+\beta^{-1}\log K ∥ LSE β ( x )∥ ≤ max i ∥ x i ∥ + β − 1 log K ; (iv) U ∗ LSE β ( x ) U = LSE β ( U ∗ x 1 U , … , U ∗ x K U ) U^*\operatorname{LSE}_{\beta}(x)U=\operatorname{LSE}_{\beta}(U^*x_1U,\ldots,U^*x_KU) U ∗ LSE β ( x ) U = LSE β ( U ∗ x 1 U , … , U ∗ x K U ) for unitary U U U ; (v) if all x i x_i x i commute, LSE β \operatorname{LSE}_{\beta} LSE β acts as the scalar log-sum-exp on the joint spectrum. By Kadison’s theorem [20 ] a pair x 1 , x 2 x_1,x_2 x 1 , x 2 has a least upper bound in the Löwner order only if x 1 ⪯ x 2 x_1 \preceq x_2 x 1 ⪯ x 2 or x 2 ⪯ x 1 x_2 \preceq x_1 x 2 ⪯ x 1 ; property (i) is therefore the natural replacement for “max” in the non-commutative case.
Proposition 6 (Lipschitz behaviour). Let h i = x i − y i h_i=x_i-y_i h i = x i − y i and Δ = LSE β ( x ) − LSE β ( y ) \Delta=\operatorname{LSE}_{\beta}(x)-\operatorname{LSE}_{\beta}(y) Δ = LSE β ( x ) − LSE β ( y ) . (a) Commuting sector (all x i , y j x_i,y_j x i , y j in one eigenbasis): ∥ Δ ∥ ≤ max i ∥ h i ∥ \lVert\Delta\rVert\le\max_i\lVert h_i\rVert ∥ Δ ∥ ≤ max i ∥ h i ∥ and ∥ Δ ∥ 2 ≤ ( ∑ i ∥ h i ∥ 2 2 ) 1 / 2 \lVert\Delta\rVert_2 \le\left(\sum_i\lVert h_i\rVert_2^2\right)^{1/2} ∥ Δ ∥ 2 ≤ ( ∑ i ∥ h i ∥ 2 2 ) 1/2 , for every β \beta β ; the first constant is attained (uniform shifts) and the second is approached as β → ∞ \beta\to\infty β → ∞ . (b) General: for p ∈ { 2 , ∞ } p \in\{2,\infty\} p ∈ { 2 , ∞ } , ∥ Δ ∥ p ≤ e 2 β M 1 K ∑ i ∥ h i ∥ p \lVert\Delta\rVert_p \le e^{2\beta M}\frac{1}{K}\sum_i\lVert h_i\rVert_p ∥ Δ ∥ p ≤ e 2 β M K 1 ∑ i ∥ h i ∥ p . (c) No β \beta β -free constant for max-aggregated Hilbert–Schmidt perturbations: for K = N K=N K = N and x i = e i e i ∗ x_i=e_ie_i^* x i = e i e i ∗ , perturbing each x i x_i x i in its own coordinate gives ∥ Δ ∥ 2 / max i ∥ h i ∥ 2 → p β N \lVert\Delta\rVert_2/\max_i\lVert h_i\rVert_2 \to p_{\beta}\sqrt{N} ∥ Δ ∥ 2 / max i ∥ h i ∥ 2 → p β N with p β = e β / ( e β + N − 1 ) p_{\beta}=e^\beta/(e^\beta+N-1) p β = e β / ( e β + N − 1 ) ; any bound of the form ∥ Δ ∥ 2 ≤ C max i ∥ h i ∥ 2 \lVert\Delta\rVert_2 \le C\max_i\lVert h_i\rVert_2 ∥ Δ ∥ 2 ≤ C max i ∥ h i ∥ 2 therefore needs C ≥ p β N C \ge p_{\beta}\sqrt{N} C ≥ p β N .
Numerical observation (E7, 80-digit arithmetic). Outside the commuting sector LSE β \operatorname{LSE}_{\beta} LSE β is not non-expansive in operator norm: local ratios ∥ Δ ∥ / max i ∥ h i ∥ \lVert\Delta\rVert/\max_i\lVert h_i\rVert ∥ Δ ∥ / max i ∥ h i ∥ reach 0.97 0.97 0.97 , 1.17 1.17 1.17 and 1.48 1.48 1.48 at β = 1 , 5 , 10 \beta=1,5,10 β = 1 , 5 , 10 (an observation, not a theorem).
Part (a) gives T β T_{\beta} T β modulus γ \gamma γ on the commuting sector; (c) rules out a β \beta β -linear constant under max-aggregation. Closing the gap between (b) and the observed growth is open; no result depends on it, since Theorem 2 is proved by finite-horizon induction.
Proposition 7 (Monotonicity). On the commuting sector, x i ⪯ y i x_i \preceq y_i x i ⪯ y i for all i i i implies LSE β ( x ) ⪯ LSE β ( y ) \operatorname{LSE}_{\beta}(x) \preceq\operatorname{LSE}_{\beta}(y) LSE β ( x ) ⪯ LSE β ( y ) , and hence T β T_{\beta} T β is monotone. In general it is not: the matrix exponential is not operator monotone, and E12 exhibits violations at every perturbation scale down to 10 − 4 10^{-4} 1 0 − 4 . T π T^{\pi} T π is always monotone in CP, since K a † K_a^{\dagger} K a † is positive.
Actions are compared through the scalar readout τ ( ρ Q ( s , a ) ) \tau(\rho Q(s,a)) τ ( ρQ ( s , a )) , so the failure of monotonicity affects the backup, not action selection; E22 measures how often greedy actions switch late in training.
What Scalar Values Lose, and What Operators Retain
We now work in MP with X 0 = I X_0 = I X 0 = I , terminal reward r ( a 1 , … , a T ) = 1 N Tr ( W X T ) r(a_1,\ldots,a_T) = \frac{1}{N}\operatorname{Tr}(W X_T) r ( a 1 , … , a T ) = N 1 Tr ( W X T ) , and a history h = ( a 1 , … , a t ) h = (a_1,\ldots,a_t) h = ( a 1 , … , a t ) with history operator X h = A a 1 ⋯ A a t X_h = A_{a_1}\cdots A_{a_t} X h = A a 1 ⋯ A a t . An observation map σ \sigma σ on histories is order-blind if σ ( h ) = σ ( h ′ ) \sigma(h) = \sigma(h') σ ( h ) = σ ( h ′ ) whenever h ′ h' h ′ is a permutation of h h h (the step counter and the vector of action counts are examples). Consider the last-step value q T ( h , a ) = 1 N Tr ( W X h A a ) q_T(h,a) = \frac{1}{N}\operatorname{Tr}(W X_h A_a) q T ( h , a ) = N 1 Tr ( W X h A a ) for ∣ h ∣ = T − 1 \lvert h\rvert= T-1 ∣ h ∣ = T − 1 , which does not depend on any continuation policy.
Proposition 8 (Order-aliasing lower bound). Let T ≥ 3 T \ge3 T ≥ 3 and let σ \sigma σ be order-blind. For every scalar function f f f of ( σ ( h ) , a ) (\sigma(h),a) ( σ ( h ) , a ) ,
sup ∣ h ∣ = T − 1 , a ∣ f ( σ ( h ) , a ) − q T ( h , a ) ∣ ≥ 1 2 N max a , b , c ∣ Tr ( W X g [ A a , A b ] A c ) ∣ \sup_{\lvert h\rvert=T-1,\,a} \left\lvert f(\sigma(h),a)-q_T(h,a)\right\rvert\ge\frac{1}{2N}\max_{a,b,c}\left\lvert\operatorname{Tr}\left(W X_g[A_a,A_b]A_c\right)\right\rvert ∣ h ∣ = T − 1 , a sup ∣ f ( σ ( h ) , a ) − q T ( h , a ) ∣ ≥ 2 N 1 a , b , c max ∣ Tr ( W X g [ A a , A b ] A c ) ∣ where g g g is any fixed prefix of length T − 3 T-3 T − 3 . If [ A a , A b ] ≠ 0 [A_a,A_b] \ne0 [ A a , A b ] = 0 for some a , b a,b a , b , the right-hand side is positive for Lebesgue-almost every W W W . In contrast, q T ( h , a ) = τ ( X h Q T ( a ) ) q_T(h,a) = \tau\left(X_h Q_T(a)\right) q T ( h , a ) = τ ( X h Q T ( a ) ) exactly, with Q T ( a ) = K a † ( W ) = A a W Q_T(a) = K_a^{\dagger}(W) = A_a W Q T ( a ) = K a † ( W ) = A a W (Corollary 1).
The condition T ≥ 3 T \ge3 T ≥ 3 is necessary: for T = 2 T = 2 T = 2 the histories ( a ) (a) ( a ) and ( b ) (b) ( b ) are different multisets, an order-blind map may separate them, and no aliasing occurs. The theorem is a statement about state aliasing, not about the Markov property of the underlying process: with the latent observed, the process is Markov and the bound does not apply.
The next result concerns exact tables indexed by a history summary, not compact approximators, which need no K T K^T K T table (E13–E16, E18).
Proposition 9 (Cost of exact tabular history representation: free versus nilpotent). *(a) If the A a A_a A a generate a free group of rank K K K —for S O ( 3 ) SO(3) S O ( 3 ) and S E ( 3 ) SE(3) S E ( 3 ) this holds for Lebesgue-almost every K K K -tuple, K ≥ 2 K \ge2 K ≥ 2 [11 ] —then for almost every W W W any exact scalar table indexed by ( σ ( h ) , a ) (\sigma(h),a) ( σ ( h ) , a ) , for any map σ \sigma σ of histories, must separate all K T − 1 K^{T-1} K T − 1 histories of length T − 1 T-1 T − 1 , i.e. has at least K T K^T K T entries; in particular no order-blind σ \sigma σ is exact. (b) If A a = e Ω a A_a = e^{\Omega_a} A a = e Ω a and the Lie algebra generated by the Ω a \Omega_a Ω a is nilpotent of step 2, then X h X_h X h depends on h h h only through the counts n a ( h ) n_a(h) n a ( h ) and the signed pair counts L a b ( h ) = # { i < j : h i = a , h j = b } − # { i < L_{ab}(h) = \#\{i < j : h_i = a, h_j = b\} - \#\{i < L ab ( h ) = # { i < j : h i = a , h j = b } − # { i <
j j j : h i = b h_i=b h i = b , h j = a } h_j=a\} h j = a } , a < b a<b a < b ; an exact table therefore needs at most K ( T + 1 ) K ( T 2 + 1 ) K ( K − 1 ) / 2 K(T+1)K( T^2+1)K(K-1)/2 K ( T + 1 ) K ( T 2 + 1 ) K ( K − 1 ) /2 entries, polynomial in T T T .
For step m > 2 m>2 m > 2 the analogous statistics are the iterated counts of degree < m <m < m ([9 ] ); we state and prove only m = 2 m=2 m = 2 , which covers the Heisenberg algebra n 3 \mathfrak{n}_3 n 3 and bosonic displacements (E10, E15). For compact groups the scalar deficit itself is bounded by ∥ W ∥ \lVert W\rVert ∥ W ∥ uniformly in T T T ; the distinction between the two regimes is the size of an exact history representation , not a growing error.
Proposition 10 (Operator sufficiency and minimal dimension). Let f ( w ) = 1 N Tr ( W A w ) f(w)=\frac{1}{N}\operatorname{Tr}(W A_w) f ( w ) = N 1 Tr ( W A w ) on action words w w w , with Hankel matrix H f ( u , v ) = f ( u v ) \mathbf{H}_f(u,v)=f(uv) H f ( u , v ) = f ( uv ) . (i) The K K K operators A a A_a A a and the readout W W W (( K + 1 ) N 2 (K+1)N^2 ( K + 1 ) N 2 parameters) represent f f f exactly for every horizon; by Corollary 1 this is the fixed point of (2) along each plan. (ii) Every d d d -dimensional operator model g ( w ) = 1 d Tr ( W d Q w ) g(w)=\frac{1}{d}\operatorname{Tr}(W_dQ_w) g ( w ) = d 1 Tr ( W d Q w ) , Q a ∈ M d Q_a\in\mathcal{M}_d Q a ∈ M d , has rank H g ≤ d 2 \operatorname{rank} H_g\le d^2 rank H g ≤ d 2 ; since rank H f ≤ N 2 \operatorname{rank} \mathbf{H}_f\le N^2 rank H f ≤ N 2 , exact representation requires d ≥ ( rank H f ) 1 / 2 d\ge(\operatorname{rank} H_f)^{1/2} d ≥ ( rank H f ) 1/2 , and d = N d=N d = N suffices; that is, the minimal exact dimension satisfies ( rank H f ) 1 / 2 ≤ d min ≤ N (\operatorname{rank} H_f)^{1/2}\le d_{\min}\le N ( rank H f ) 1/2 ≤ d m i n ≤ N , with d min = N d_{\min}=N d m i n = N whenever rank H f = N 2 \operatorname{rank} H_f=N^2 rank H f = N 2 . (iii) For any finite prefix set U U U and suffix set V V V , every d d d -dimensional model has max u , v ∣ g ( u v ) − f ( u v ) ∣ ≥ ( ∑ j > d 2 σ j ( H f [ U , V ] ) 2 ) 1 / 2 / ∣ U ∣ ∣ V ∣ \max_{u,v}|g(uv)-f(uv)|\ge\left(\sum_{j>d^2}\sigma_j(H_f[U,V])^2\right)^{1/2}/\sqrt{|U||V|} max u , v ∣ g ( uv ) − f ( uv ) ∣ ≥ ( ∑ j > d 2 σ j ( H f [ U , V ] ) 2 ) 1/2 / ∣ U ∣∣ V ∣ .
Part (ii) is the Hankel-rank theory of weighted automata ([8 , 14 ] ): a d × d d\times d d × d operator model is a weighted automaton of dimension at most d 2 d^2 d 2 . The bound is tight when rank H f = N 2 \operatorname{rank} H_f=N^2 rank H f = N 2 , as for generic orthogonal generators (E17), so exact recovery occurs at d = N d=N d = N (E8, E14, E16); Proposition 13 refines it for unitary actions. An exact tabular history needs K T K^T K T entries (Prop. 9a); recurrent models need no table, and E13/E14 compare them at matched parameter counts.
Extensions and practical cost. Appendix § 16 proves three extensions (checked in E17b): greedy improvement on an ε \varepsilon ε -accurate Q ^ \widehat{Q} Q loses at most 2 ε ∥ ρ ∥ 1 / ( 1 − γ κ ) 2\varepsilon\lVert\rho\rVert_1/(1-\gamma\kappa) 2 ε ∥ ρ ∥ 1 / ( 1 − γ κ ) (Prop. 11 ), so the TD guarantee carries over to one step of policy improvement (OpQ-PI); Proposition 1 and Theorem 2 hold for any positive maps, e.g. decohering channels, and randomly perturbed actions (Prop. 12 ); and Prop. 13 refines the operator dimension for structured action algebras. One TD update costs O ( N 3 ) O(N^3) O ( N 3 ) , a soft update O ( K N 3 ) O(KN^3) O ( K N 3 ) , and memory is ∣ S ∣ K N 2 |S|KN^2 ∣ S ∣ K N 2 numbers, independent of the horizon (precision requirements: Appendix § 26 ). For n n n qubits N = 2 n N=2^n N = 2 n , so both grow exponentially in n n n ; our experiments use N ≤ 4 N\le4 N ≤ 4 .
Experiments
We report three kinds of evidence. (C) Control (E18–E24): agents learn from sampled episodes, and their policies are evaluated exactly against the optimal latent-aware value. (A) Finite-instance checks of the theory (E17, E7, E9, E12; e.g. 0/30 certificate violations). (B) Representation (E8, E10, E13–E16): the ordered-product readout, the fixed point of (2) along each plan (Corollary 1), is fitted to exact sequence returns by supervised regression (test MSE ≤ 3 × 10 − 30 \le3\times10^{-30} ≤ 3 × 1 0 − 30 vs. 0.003–0.09 for recurrent models). (A) and (B) are in Appendix § 18 . Every number is produced by the released code (https://anonymous.4open.science/r/opq-RL-2027-0D23; App. § 26 ). Experiment IDs are fixed labels shared with the code and results, so they are not consecutive (Table 4 ).
Table 4. All experiments at a glance. Experiment IDs are fixed labels shared with the scripts (experiments/eNN_*.py) and the results files. E1–E6 and E11 were preliminary experiments that are not part of the paper; the remaining IDs are kept unchanged so that the paper, the code and the discussion refer to the same runs. § 6 presents the experiments by kind of evidence (checks, representation, control), not by ID.
Figure 3. E18. Learning curves: normalised return of the greedy policy, evaluated exactly, against the number of training episodes (mean ± \pm ± one standard deviation over 5 seeds).
End-to-end control
Setup. We use three OLDPs in the conjugation picture, all with observable state s t = ( t , m t ) s_t=(t,m_t) s t = ( t , m t ) : C1, a random OLDP (N = 3 N=3 N = 3 , K = 4 K=4 K = 4 , two stochastic modes, H = 6 H=6 H = 6 , noisy rewards); C2, S O ( 3 ) SO(3) S O ( 3 ) pointing: six ± 0.6 \pm0.6 ± 0.6 rad body rotations of a marked axis ρ = 3 n n T \rho=3nn^\mathsf{T} ρ = 3 n n T , reward ( t m ⋅ n ) 2 (t_m\cdot n)^2 ( t m ⋅ n ) 2 for a mode-dependent target, H = 8 H=8 H = 8 ; C3, two-qubit state preparation with { H 1 , H 2 , T 1 , T 2 , CNOT } \{H_1,H_2,T_1,T_2,\operatorname{CNOT}\} { H 1 , H 2 , T 1 , T 2 , CNOT } and a terminal fidelity reward, H = 8 H=8 H = 8 . The initial latent is either fixed or drawn at random in every episode and observed; a transfer test trains with the fixed ρ 0 \rho_0 ρ 0 and evaluates on 8 unseen ones. Agents. OpQ-soft learns one N × N N\times N N × N operator per ( s , a ) (s,a) ( s , a ) with the sample form of (4) (β = 5 \beta=5 β = 5 ), estimates R ( m , a ) R(m,a) R ( m , a ) from scalar rewards by least squares, and acts greedily on τ ( ρ t Q ( s t , a ) ) \tau(\rho_tQ(s_t,a)) τ ( ρ t Q ( s t , a )) . OpQ-PI evaluates the uniform policy by operator TD (3) and applies Prop. 2. Scalar baselines: Q Q Q -learning on ( t , m ) (t,m) ( t , m ) (order-blind), Q Q Q -learning on the full history (the K T K^T K T table), a DQN with the latent ρ t \rho_t ρ t as input, and a GRU-based DRQN on the history. The OpQ agents use the known dual maps K a T \mathcal{K}_a^T K a T ; DQN is given ρ t \rho_t ρ t itself, and E19 removes this difference. Scores are normalised so that 1 is the exact dynamic-programming optimum and 0 is the uniform policy.
Results (Table 1 ). (i ) Order-blind scalar agents fail once the latent varies (random ρ 0 \rho_0 ρ 0 : 0.51, 0.06, 0.10 for Q Q Q on ( t , m ) (t,m) ( t , m ) ), as Proposition 8 predicts. The history table fails there too: its key omits the random ρ 0 \rho_0 ρ 0 . OpQ reaches 0.95–0.99 on C1 and C2 while storing 432 and 864 numbers, compared with K H = 4096 K^H=4096 K H = 4096 and 1.7 × 10 6 1.7\times10^6 1.7 × 1 0 6 histories. (ii ) Against baselines that do not know K a \mathcal{K}_a K a , OpQ learns fastest. After 100 episodes with a random ρ 0 \rho_0 ρ 0 , OpQ-soft scores 0.95/0.95 on C1/C2, against 0.89/0.73 for DQN and 0.44/0.28 for DRQN. E19 shows how much of this is knowledge of K a \mathcal{K}_a K a . (iii ) OpQ transfers zero-shot , since Proposition 1 makes the readout valid at every ρ \rho ρ : trained on one latent, it keeps 0.95–0.99 on C1/C2 and 0.68 on C3 at unseen latents, against 0.87/0.96/0.49 for DQN; DRQN’s transfer column is uninformative (constant ρ 0 \rho_0 ρ 0 in training). (iv ) With enough episodes, a DQN that observes ρ t \rho_t ρ t matches or exceeds OpQ (C1 fixed: 1.00 vs. 0.84; C3: 1.00/0.87 vs. 0.83/0.68). These are the ceilings of the exact-model readout (0.86, 0.79, 0.68; Table 6 ; C3 fixed with learned R R R , 0.83 ± 0.08 0.83\pm0.08 0.83 ± 0.08 , is within one s.d.), the limit of Theorem 3, so the gap is compression into one operator per ( s , a ) (s,a) ( s , a ) , not optimisation error; on C2 OpQ is within 0.02 of the optimum.
Table 1. E18: normalised return of the greedy policy after 3000 episodes (mean over 5 seeds; standard deviations, scores after 100 episodes and learning curves are in Appendix G). Transfer : trained with a fixed ρ 0 \rho_0 ρ 0 , evaluated on 8 unseen initial latents.
Table 6. E18: exact-planning references with the known model. These are the ceilings that the learned OpQ agents approach (compare Table 1 ). Numbers in parentheses give the certificate E max a τ ( ρ 0 Q 0 β ( s 0 , a ) ) \mathbb{E}\max_a \tau(\rho_0 Q^\beta_0(s_0,a)) E max a τ ( ρ 0 Q 0 β ( s 0 , a )) relative to V ∗ V^* V ∗ ; it is always at least 1, as Theorem 2 requires.
Controlling for knowledge of the operators
E19 crosses the form of the value function (nonlinear or linear in ρ \rho ρ ) with knowledge of K a \mathcal{K}_a K a : DQN; DQN +K a \mathcal{K}_a K a data, with half of each minibatch generated by K a \mathcal{K}_a K a from fresh pure latents and OpQ’s R ^ \hat{R} R ^ ; Linear-Q, one linear function of ρ \rho ρ per ( t , m , a ) (t,m,a) ( t , m , a ) with OpQ’s soft backup but no operators; Linear-Q +K a \mathcal{K}_a K a data, the linear
caption: tbl:2 : E19, 2 × 2 comparison with random initial latents: normalised return after 100 and 3000 episodes (mean over 5 seeds; standard deviations in Table 14 ). Bold marks the best of the first four rows. Linear-Q + K a \mathcal{K}_a K a data is a control.
Table 14. E19, all agents, random initial latent. Normalised return after 100 and 3000 episodes; mean ± s.d. over 5 seeds. Bold marks the best of the first four rows.
:::
class on K a \mathcal{K}_a K a -generated transitions; and OpQ-soft. Planners know K a \mathcal{K}_a K a , learn R ^ \hat{R} R ^ , P ^ \hat{P} P ^ , and run exhaustive search or UCT-100/1000 [23 ] (Appendix § 19 ).
Results (Table 2). (i) Linear structure without the operators (Linear-Q) does not reproduce OpQ. With K a \mathcal{K}_a K a -generated transitions the linear class reaches 0.96 and 0.91 at 100 episodes on C1 and C2 (OpQ-soft 0.95, 0.95), so most of OpQ’s early advantage there is knowledge of K a \mathcal{K}_a K a ; on C3 a gap remains (0.41 vs. 0.58). (ii) Much of the early advantage in E18 is knowledge of K a \mathcal{K}_a K a : K a \mathcal{K}_a K a -generated transitions raise DQN at 100 episodes, but OpQ-soft stays ahead on C2 and C3. The DQN+K a \mathcal{K}_a K a arms also receive synthetic latents (and four times the gradient steps); all arms use the same environment episodes. (iii) At short horizons a planner with the same knowledge is more sample-efficient than every learner (0.99/0.99/0.83 after 25 episodes). (iv) Held-out: OpQ-soft 0.95/0.99/0.68, DQN 0.86/0.96/0.46, DQN + K a \mathcal{K}_a K a data 0.99/0.98/0.84. (v) On C2 for H = 8 H = 8 H = 8 –20, OpQ-soft (0.98–0.99) and UCT-1000 (0.96–0.98) are at parity, at 0.035 vs. 250–417 ms per decision; on C1 OpQ (0.81–0.85) stays below UCT-1000 (0.94–0.98). The certificate stays valid at every horizon; the advantage concerns decision cost, not training (Appendix § 19 ).
Tightening the single-operator certificate
E20 uses the exact model and asks what closes the gap of E18(iv) (Appendix § 20 ). (a) The trace-minimal SDP upper bound of Corollary 2 tightens the certificate on C1 (1.88 → 1.67 times V ∗ V^* V ∗ ) but does not improve greedy control (Proposition 4). (b) M M M operators per ( t , m ) (t,m) ( t , m ) with point-based backups [31 ] close the gap: C1 0.86 → 1.00 at M = 32 M=32 M = 32 , C3 0.79 → 1.00 at M = 8 M=8 M = 8 (0.95 held-out at M = 64 M=64 M = 64 ); on C2 one LSE operator (0.99) beats sets up to M = 64 M=64 M = 64 . This family is point-based value iteration in operator form; the certificate adds an upper bracket for choosing M M M (App. J). (c) Miscalibrated operators (E21, Appendix § 22 ). With U ~ a = U a e ϵ A a \widetilde{U}_a = U_a e^{\epsilon A_a} U a = U a e ϵ A a in the agent’s model, OpQ on SO(3) is as robust as planning (≥ 0.95 \geq0.95 ≥ 0.95 up to ϵ = 0.1 \epsilon= 0.1 ϵ = 0.1 ), but on C1 and C3 its near-tied greedy decisions at the training latent are less robust (C3: 0.79 → 0.49 at ϵ = 0.03 \epsilon= 0.03 ϵ = 0.03 , planning 1.00). (d) Hidden latent (E23, App. M). With ρ 0 \rho_0 ρ 0 drawn from a prior and never observed, agents track the belief mean ρ ˉ t \bar{\rho}_t ρ ˉ t ; OpQ trained with the latent is unchanged on ρ ˉ t \bar{\rho}_t ρ ˉ t , since the plug-in is exact for linear values, while a DQN drops to 0.85/0.45 on C1/C3. With the reward observable known OpQ learns fastest on C2/C3; a belief-mean DQN ends higher on C3 (1.00 vs. 0.79).
Conclusion
We introduced operator-valued Q Q Q -learning for decision processes whose actions compose non-commutatively: exact latent-blind evaluation, convergent operator TD for policy evaluation, and a Löwner certificate that replaces maximum-based bounds when values form no lattice, to which the sampled control update converges for a finite horizon. The learned policy evaluates unseen latents without retraining, matches 1000-simulation tree search on S O ( 3 ) \mathrm{SO}(3) SO ( 3 ) pointing up to H = 20 H=20 H = 20 at about 10 4 10^{4} 1 0 4 times lower decision cost, and a few operators per state close its gap. With a hidden initial state it acts exactly on the belief mean. E19–E23 delimit the claims: much of the early advantage over model-free baselines is knowledge of the operators; short-horizon planning needs fewer episodes; and near-tied greedy decisions make the single operator sensitive to miscalibrated gates. Learning unknown or uncertain operators [2 ] and scaling to large N N N are open.
Reproducibility statement
Assumptions and proofs are in Appendices B, C, D and E; the full experimental protocols, hyperparameters and seeds are in Appendix O. The anonymized repository at https://anonymous.4open.science/r/opq-RL-2027-0D23 contains the code for every experiment, the raw results, and the scripts that produce every table and figure; the E7–E18 suite runs on one CPU core in about three hours; E19–E24 (Appendices H, I, K, L, M, N) take about seven CPU-hours for E19 and 100 minutes on two cores for E20–E24, all on CPU.
Ethics statement
This is a methods paper on reinforcement learning with operator-valued value functions, and we see no direct ethical concerns. Applications to quantum or robotic control should follow the safety practice of those domains.
AI use statement
We used an AI assistant for language editing, restructuring the manuscript, literature search, and checking theorem statements, assumptions, and experimental design. All outcomes from the AI assistant were independently reviewed and verified by the authors. The authors take full responsibility for the content, methodology, code, and reported results of the paper.
Appendix
This appendix contains the full proofs of all theoretical results, further theoretical extensions, and the complete experimental results and protocols.
Appendix A works through a fully explicit low-dimensional example (paper folding).
Appendices B, C and D prove the results of Sections 3, 4 and 5, respectively.
Appendix E states and proves the extensions: robust improvement, noisy and random latent dynamics, and a structure-refined operator dimension.
Appendix F summarises all experiments.
Appendices H and I give the full results of the model-matched comparison (E19) and of the tightening study (E20).
Appendix J tabulates what is proved and under which conditions, and discusses when one operator suffices, how to choose M M M , and its cost; Appendix K tests miscalibrated operators (E21), Appendix L the sensitivity of the sampled update to β \beta β (E22), Appendix M control with a hidden initial latent (E23), and Appendix N the convergence of the sampled update (E24).
Appendix G gives the full results.
Appendix O gives the experimental protocols, hyperparameters and computational requirements.
A Worked Example: Folding Paper
A warm-up: folding paper. Track one marked flap of a square sheet, and idealise a fold along a crease through the centre with unit normal n n n as the reflection it applies to that flap (layer and collision constraints ignored, as in rigid origami):
A n = I − 2 n n T = e i π n n T ∈ C 2 × 2 . A_n = I - 2nn^{\mathsf{T}} = e^{i\pi nn^{\mathsf{T}}} \in\mathbb{C}^{2 \times2}. A n = I − 2 n n T = e iπ n n T ∈ C 2 × 2 .
Take the vertical, horizontal and diagonal creases,
A V = ( − 1 0 0 1 ) , A H = ( 1 0 0 − 1 ) , A D = ( 0 1 1 0 ) . A_V = \begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix}, \qquad A_H = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}, \qquad A_D = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}. A V = ( − 1 0 0 1 ) , A H = ( 1 0 0 − 1 ) , A D = ( 0 1 1 0 ) .
A plan a 1 , … , a T a_1,\ldots,a_T a 1 , … , a T moves the flap by the ordered product X T = A a 1 ⋯ A a T X_T = A_{a_1}\cdots A_{a_T} X T = A a 1 ⋯ A a T (acting on row vectors, x T ↦ x T X T x^{\mathsf{T}} \mapsto x^{\mathsf{T}}X_T x T ↦ x T X T ). This is the multiplicative picture of Definition 1 with X 0 = I X_0 = I X 0 = I .
Where order enters. A V A_V A V and A H A_H A H are simultaneously diagonal, [ A V , A H ] = 0 [A_V,A_H] = 0 [ A V , A H ] = 0 : folding in half twice gives − I -I − I in either order. The diagonal crease breaks this:
A V A D = ( 0 − 1 1 0 ) = R 90 ∘ , A D A V = ( 0 1 − 1 0 ) = R 90 ∘ T , [ A V , A D ] = ( 0 − 2 2 0 ) ≠ 0. A_V A_D = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix} = R_{90^\circ}, \qquad A_D A_V = \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} = R_{90^\circ}^{\mathsf{T}}, \qquad[A_V,A_D] = \begin{pmatrix} 0 & -2 \\ 2 & 0 \end{pmatrix} \ne0. A V A D = ( 0 1 − 1 0 ) = R 9 0 ∘ , A D A V = ( 0 − 1 1 0 ) = R 9 0 ∘ T , [ A V , A D ] = ( 0 2 − 2 0 ) = 0.
Figure 2. The plans ( V , D , H ) (V,D,H) ( V , D , H ) and ( D , V , H ) (D,V,H) ( D , V , H ) applied to a marked flap (drawn as the letter F). After two folds both histories contain one V V V and one D D D , and the third action is the same, yet the readouts are + 1 +1 + 1 and − 1 -1 − 1 . An order-blind scalar Q Q Q must err by at least 1 on one of them; the operator recursion gives both values exactly.
Two reflections compose to a rotation by twice the angle between the creases, with sign fixed by the order.
Why a scalar value on an order-blind observation misses it. With two folds, a scalar Q Q Q on the observation “one fold made” is not aliased: after V V V the next action is D D D and after D D D it is V V V , so the two plans query different entries Q ( 1 , D ) Q(1,D) Q ( 1 , D ) and Q ( 1 , V ) Q(1,V) Q ( 1 , V ) . Aliasing requires a third step (Proposition 8). Consider the plans ( V , D , H ) (V,D,H) ( V , D , H ) and ( D , V , H ) (D,V,H) ( D , V , H ) with W = ( A V A D A H ) ⊤ W=(A_VA_DA_H)^\top W = ( A V A D A H ) ⊤ and N = 2 N=2 N = 2 , so that r = 1 N Tr ( W X 3 ) r=\frac{1}{N}\operatorname{Tr}(WX_3) r = N 1 Tr ( W X 3 ) is the cosine of the orientation error. Then r ( V , D , H ) = τ ( W R 90 ∘ A H ) = 1 r(V,D,H)=\tau(W R_{90^\circ}A_H)=1 r ( V , D , H ) = τ ( W R 9 0 ∘ A H ) = 1 and r ( D , V , H ) = τ ( A H R 90 ∘ ⊤ R 90 ∘ ⊤ A H ) = τ ( − I ) = − 1 r(D,V,H)=\tau(A_HR_{90^\circ}^{\top}R_{90^\circ}^{\top}A_H)=\tau(-I)=-1 r ( D , V , H ) = τ ( A H R 9 0 ∘ ⊤ R 9 0 ∘ ⊤ A H ) = τ ( − I ) = − 1 . Before the third fold both histories contain one V V V and one D D D , so any observation that records which folds were made (fold count, fold counts per crease) is identical, the current action H H H is identical, and every scalar Q Q Q on that observation errs by at least 1 2 ∣ 1 − ( − 1 ) ∣ = 1 \frac{1}{2}|1-(-1)|=1 2 1 ∣1 − ( − 1 ) ∣ = 1 on one of them. The unweighted trace is blind as well, Tr ( A V A D A H ) = Tr ( A D A V A H ) = 0 \operatorname{Tr}(A_VA_DA_H)=\operatorname{Tr}(A_DA_VA_H)=0 Tr ( A V A D A H ) = Tr ( A D A V A H ) = 0 ; order becomes visible only through the readout.
What the operator recursion does. The last-step operator is Q 2 ( H ) = K H † ( W ) = A H W Q_2(H)=K_H^\dagger(W)=A_HW Q 2 ( H ) = K H † ( W ) = A H W , and the recursion (2) along the plan gives Q 0 ( a 1 ) = A a 1 A a 2 A a 3 W Q_0(a_1)=A_{a_1}A_{a_2}A_{a_3}W Q 0 ( a 1 ) = A a 1 A a 2 A a 3 W (Corollary 1). After either history h h h the value of folding H H H is τ ( X h A H W ) \tau(X_hA_HW) τ ( X h A H W ) , with the history operator X h ∈ { R 90 ∘ , R 90 ∘ ⊤ } X_h\in\{R_{90^\circ},R_{90^\circ}^{\top}\} X h ∈ { R 9 0 ∘ , R 9 0 ∘ ⊤ } : exactly + 1 +1 + 1 and − 1 -1 − 1 . The model stores K = 3 K=3 K = 3 operators and a readout, ( K + 1 ) N 2 = 16 (K+1)N^2=16 ( K + 1 ) N 2 = 16 numbers, for every horizon. In the commuting sector { V , H } \{V,H\} { V , H } the operators share an eigenbasis and order is irrelevant.
Proofs for Section 3
Throughout, ∥ ⋅ ∥ 1 \lVert\cdot\rVert_1 ∥ ⋅ ∥ 1 , ∥ ⋅ ∥ 2 \lVert\cdot\rVert_2 ∥ ⋅ ∥ 2 , ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ are the normalised trace, Hilbert–Schmidt and operator norms, and ∣ τ ( Y ρ ) ∣ ≤ ∥ Y ∥ ∥ ρ ∥ 1 |\tau(Y\rho)|\leq\lVert Y\rVert\lVert\rho\rVert_1 ∣ τ ( Y ρ ) ∣ ≤ ∥ Y ∥ ∥ ρ ∥ 1 (Hölder). Since the trace pairing makes ( M N , ∥ ⋅ ∥ 1 ) (\mathcal{M}_N,\lVert\cdot\rVert_1) ( M N , ∥ ⋅ ∥ 1 ) and ( M N , ∥ ⋅ ∥ ) (\mathcal{M}_N,\lVert\cdot\rVert) ( M N , ∥ ⋅ ∥) dual, ∥ K a ∥ 1 → 1 = \lVert K_a\rVert_{1\to1}= ∥ K a ∥ 1 → 1 = ∥ K a † ∥ ∞ → ∞ ≤ κ \lVert\mathcal{K}_a^\dagger\rVert_{\infty\to\infty} \le\kappa ∥ K a † ∥ ∞ → ∞ ≤ κ .
Proof of Proposition 1 and Corollary 1
Proof. Finite horizon. Let q t π q_t^\pi q t π be the expected discounted reward collected from step t t t to H − 1 H-1 H − 1 . We show q t π ( s , ρ , a ) = τ ( ρ Q t π ( s , a ) ) q_t^\pi(s,\rho,a)=\tau(\rho Q_t^\pi(s,a)) q t π ( s , ρ , a ) = τ ( ρ Q t π ( s , a )) by backward induction; the case t = H t=H t = H is 0 = 0 0=0 0 = 0 . Since P P P does not depend on the latent and π ( ⋅ ∣ s ′ ) \pi(\cdot\mid s') π ( ⋅ ∣ s ′ ) does not depend on it either, the Markov property of ( s t , ρ t ) (s_t,\rho_t) ( s t , ρ t ) gives
q t π ( s , ρ , a ) = τ ( R ( s , a ) K a ( ρ ) ) + γ ∑ s ′ P ( s ′ ∣ s , a ) ∑ a ′ π ( a ′ ∣ s ′ ) q t + 1 π ( s ′ , K a ( ρ ) , a ′ ) . q_t^\pi(s,\rho,a)=\tau\left(R(s,a)\mathcal{K}_a(\rho)\right)+\gamma\sum_{s'}P(s'\mid s,a)\sum_{a'}\pi(a'\mid s')q_{t+1}^\pi(s',\mathcal{K}_a(\rho),a'). q t π ( s , ρ , a ) = τ ( R ( s , a ) K a ( ρ ) ) + γ s ′ ∑ P ( s ′ ∣ s , a ) a ′ ∑ π ( a ′ ∣ s ′ ) q t + 1 π ( s ′ , K a ( ρ ) , a ′ ) .
By the induction hypothesis the second term is γ τ ( K a ( ρ ) Y ) \gamma\tau(\mathcal{K}_a(\rho)Y) γ τ ( K a ( ρ ) Y ) with Y = ∑ s ′ P ( s ′ ∣ s , a ) ∑ a ′ π ( a ′ ∣ s ′ ) Q t + 1 π ( s ′ , a ′ ) Y=\sum_{s'}P(s'\mid s,a)\sum_{a'}\pi(a'\mid s')Q_{t+1}^\pi(s',a') Y = ∑ s ′ P ( s ′ ∣ s , a ) ∑ a ′ π ( a ′ ∣ s ′ ) Q t + 1 π ( s ′ , a ′ ) . Using the defining identity of the dual map and its linearity, q t π ( s , ρ , a ) = τ ( ρ K a † ( R ( s , a ) + γ Y ) ) = τ ( ρ Q t π ( s , a ) ) q_t^\pi(s,\rho,a)=\tau\left(\rho\mathcal{K}_a^\dagger(R(s,a)+\gamma Y)\right)=\tau(\rho Q_t^\pi(s,a)) q t π ( s , ρ , a ) = τ ( ρ K a † ( R ( s , a ) + γ Y ) ) = τ ( ρ Q t π ( s , a )) .
Infinite horizon. By Theorem 1(i), T π \mathcal{T}^\pi T π is a γ κ \gamma\kappa γ κ -contraction, so Q n : = ( T π ) n 0 → Q π Q_n:=(\mathcal{T}^\pi)^{n}0\to Q^\pi Q n := ( T π ) n 0 → Q π , the unique fixed point. Q n Q_n Q n is the time-0 operator of the n n n -step problem, so by the finite-horizon case the n n n -step truncated return equals τ ( ρ Q n ( s , a ) ) \tau(\rho Q_n(s,a)) τ ( ρ Q n ( s , a )) . The tail is controlled by ∣ r t ∣ ≤ R max ∥ ρ t + 1 ∥ 1 ≤ R max κ t + 1 ∥ ρ ∥ 1 |r_t|\le R_{\max}\|\rho_{t+1}\|_1\le R_{\max}\kappa^{t+1}\|\rho\|_1 ∣ r t ∣ ≤ R m a x ∥ ρ t + 1 ∥ 1 ≤ R m a x κ t + 1 ∥ ρ ∥ 1 , which is summable against γ t \gamma^t γ t when γ κ < 1 \gamma\kappa<1 γ κ < 1 . Letting n → ∞ n\to\infty n → ∞ gives q π ( s , ρ , a ) = τ ( ρ Q π ( s , a ) ) q^\pi(s,\rho,a)=\tau(\rho Q^\pi(s,a)) q π ( s , ρ , a ) = τ ( ρ Q π ( s , a )) .
Corollary. With s t = t s_t=t s t = t , a deterministic plan, R = 0 R=0 R = 0 before the last step and R = W R=W R = W at it, the recursion reads Q T − 1 ( a T ) = K a T † ( W ) = A a T W Q_{T-1}(a_T)=\mathcal{K}_{a_T}^\dagger(W)=A_{a_T}W Q T − 1 ( a T ) = K a T † ( W ) = A a T W and Q t ( a t + 1 ) = K a t + 1 † ( Q t + 1 ( a t + 2 ) ) = A a t + 1 Q t + 1 ( a t + 2 ) Q_t(a_{t+1})=\mathcal{K}_{a_{t+1}}^\dagger(Q_{t+1}(a_{t+2}))=A_{a_{t+1}}Q_{t+1}(a_{t+2}) Q t ( a t + 1 ) = K a t + 1 † ( Q t + 1 ( a t + 2 )) = A a t + 1 Q t + 1 ( a t + 2 ) , whence Q t ( a t + 1 ) = A a t + 1 ⋯ A a T W Q_t(a_{t+1})=A_{a_{t+1}}\cdots A_{a_T}W Q t ( a t + 1 ) = A a t + 1 ⋯ A a T W and, from X 0 = I X_0=I X 0 = I , τ ( Q 0 ( a 1 ) ) = 1 N Tr ( A a 1 ⋯ A a T W ) = 1 N Tr ( W A a 1 ⋯ A a T ) \tau(Q_0(a_1))=\frac{1}{N}\operatorname{Tr}(A_{a_1}\cdots A_{a_T}W)=\frac{1}{N}\operatorname{Tr}(WA_{a_1}\cdots A_{a_T}) τ ( Q 0 ( a 1 )) = N 1 Tr ( A a 1 ⋯ A a T W ) = N 1 Tr ( W A a 1 ⋯ A a T ) by cyclicity. After h = ( a 1 , … , a t ) h=(a_1,\ldots,a_t) h = ( a 1 , … , a t ) the latent is X h X_h X h , and the finite-horizon case gives the value τ ( X h Q t ( a t + 1 ) ) = 1 N Tr ( W A a 1 ⋯ A a T ) \tau(X_hQ_t(a_{t+1}))=\frac{1}{N}\operatorname{Tr}(WA_{a_1}\cdots A_{a_T}) τ ( X h Q t ( a t + 1 )) = N 1 Tr ( W A a 1 ⋯ A a T ) . □ \square □
Proof of Theorem 1
Proof. (i) Rewards cancel and ∥ ( T π Q 1 − T π Q 2 ) ( s , a ) ∥ = γ ∥ K a † ( ∑ s ′ P ∑ a ′ π ( Q 1 − Q 2 ) ( s ′ , a ′ ) ) ∥ ≤ γ κ ∥ Q 1 − Q 2 ∥ ∞ , o p \lVert(\mathcal{T}^\pi Q_1-\mathcal{T}^\pi Q_2)(s,a)\rVert=\gamma\lVert\mathcal{K}_a^\dagger(\sum_{s'}P\sum_{a'}\pi(Q_1-Q_2)(s',a'))\rVert\le\gamma\kappa\lVert Q_1-Q_2\rVert_{\infty,\mathrm{op}} ∥( T π Q 1 − T π Q 2 ) ( s , a )∥ = γ ∥ K a † ( ∑ s ′ P ∑ a ′ π ( Q 1 − Q 2 ) ( s ′ , a ′ ))∥ ≤ γ κ ∥ Q 1 − Q 2 ∥ ∞ , op , since ∑ s ′ P ∑ a ′ π \sum_{s'}P\sum_{a'}\pi ∑ s ′ P ∑ a ′ π is a convex combination. The same computation in ∥ ⋅ ∥ 2 \lVert\cdot\rVert_2 ∥ ⋅ ∥ 2 applies when ∥ K a † ( Y ) ∥ 2 ≤ ∥ Y ∥ 2 \lVert\mathcal{K}_a^\dagger(Y)\rVert_2\le\lVert Y\rVert_2 ∥ K a † ( Y ) ∥ 2 ≤ ∥ Y ∥ 2 , which holds for Y ↦ U ∗ Y U Y\mapsto U^*YU Y ↦ U ∗ Y U and Y ↦ A Y Y\mapsto AY Y ↦ A Y with A A A unitary or orthogonal. A consequence is the stability bound ∥ Q − Q π ∥ ∞ , o p ≤ ( 1 − γ κ ) − 1 ∥ T π Q − Q ∥ ∞ , o p \lVert Q-Q^\pi\rVert_{\infty,\mathrm{op}}\le(1-\gamma\kappa)^{-1}\lVert\mathcal{T}^\pi Q-Q\rVert_{\infty,\mathrm{op}} ∥ Q − Q π ∥ ∞ , op ≤ ( 1 − γ κ ) − 1 ∥ T π Q − Q ∥ ∞ , op .
(ii) Identify Q Q Q with a vector in C ∣ S ∣ ∣ A ∣ N 2 \mathbb{C}^{|S||A|N^2} C ∣ S ∣∣ A ∣ N 2 and write e ( s , a ) e_{(s,a)} e ( s , a ) for the block embedding. The update is Q k + 1 = Q k + α k ( F ( Q k ) + M k + 1 ) Q_{k+1}=Q_k+\alpha_k(F(Q_k)+M_{k+1}) Q k + 1 = Q k + α k ( F ( Q k ) + M k + 1 ) with F ( Q ) = D μ ( T π Q − Q ) F(Q)=D_\mu(\mathcal{T}^\pi Q-Q) F ( Q ) = D μ ( T π Q − Q ) , where D μ D_\mu D μ multiplies block ( s , a ) (s,a) ( s , a ) by μ ( s , a ) > 0 \mu(s,a)>0 μ ( s , a ) > 0 , and M k + 1 = e ( s k , a k ) [ K a k † ( R + γ Q k ( s k ′ , a k ′ ) ) − Q k ( s k , a k ) ] − F ( Q k ) M_{k+1}=e_{(s_k,a_k)}[\mathcal{K}_{a_k}^\dagger(R+\gamma Q_k(s'_k,a'_k))-Q_k(s_k,a_k)]-F(Q_k) M k + 1 = e ( s k , a k ) [ K a k † ( R + γ Q k ( s k ′ , a k ′ )) − Q k ( s k , a k )] − F ( Q k ) . Given the past, ( s k , a k , s k ′ , a k ′ ) (s_k,a_k,s'_k,a'_k) ( s k , a k , s k ′ , a k ′ ) is drawn afresh, so M k + 1 M_{k+1} M k + 1 is a martingale difference with E [ ∥ M k + 1 ∥ 2 ∣ F k ] ≤ C ( 1 + ∥ Q k ∥ 2 ) \mathbb{E}[\lVert M_{k+1}\rVert^2\mid\mathcal{F}_k]\le C(1+\lVert Q_k\rVert^2) E [∥ M k + 1 ∥ 2 ∣ F k ] ≤ C ( 1 + ∥ Q k ∥ 2 ) . F F F is affine, F ( Q ) = G Q + g F(Q)=GQ+g F ( Q ) = GQ + g with G = D μ ( γ P π − I ) G=D_\mu(\gamma P^\pi-I) G = D μ ( γ P π − I ) and ( P π Q ) ( s , a ) = K a † ( ∑ s ′ P ∑ a ′ π Q ( s ′ , a ′ ) ) (P^\pi Q)(s,a)=\mathcal{K}_a^\dagger(\sum_{s'}P\sum_{a'}\pi Q(s',a')) ( P π Q ) ( s , a ) = K a † ( ∑ s ′ P ∑ a ′ π Q ( s ′ , a ′ )) . For 0 < h ≤ 1 / max μ 0<h\le1/\max\mu 0 < h ≤ 1/ max μ and every block, ∥ ( ( I + h G ) Q ) ( s , a ) ∥ ≤ ( 1 − h μ ( s , a ) ) ∥ Q ( s , a ) ∥ + h μ ( s , a ) γ κ ∥ Q ∥ ∞ , o p ≤ ( 1 − h μ min ( 1 − γ κ ) ) ∥ Q ∥ ∞ , o p \lVert((I+hG)Q)(s,a)\rVert\le(1-h\mu(s,a))\lVert Q(s,a)\rVert+h\mu(s,a)\gamma\kappa\lVert Q\rVert_{\infty,\mathrm{op}}\le(1-h\mu_{\min}(1-\gamma\kappa))\lVert Q\rVert_{\infty,\mathrm{op}} ∥(( I + h G ) Q ) ( s , a )∥ ≤ ( 1 − h μ ( s , a )) ∥ Q ( s , a )∥ + h μ ( s , a ) γ κ ∥ Q ∥ ∞ , op ≤ ( 1 − h μ m i n ( 1 − γ κ )) ∥ Q ∥ ∞ , op , so the logarithmic norm of G G G in ∥ ⋅ ∥ ∞ , o p \lVert\cdot\rVert_{\infty,\mathrm{op}} ∥ ⋅ ∥ ∞ , op is at most − μ min ( 1 − γ κ ) < 0 -\mu_{\min}(1-\gamma\kappa)<0 − μ m i n ( 1 − γ κ ) < 0 . Every eigenvalue of G G G therefore has negative real part, and both Q ˙ = F ( Q ) \dot Q=F(Q) Q ˙ = F ( Q ) and the scaled limit Q ˙ = G Q \dot Q=GQ Q ˙ = GQ have globally asymptotically stable equilibria ( Q π (Q^\pi ( Q π and 0 0 0 respectively); D μ D_\mu D μ is invertible, so F ( Q ) = 0 F(Q)=0 F ( Q ) = 0 iff T π Q = Q \mathcal{T}^\pi Q=Q T π Q = Q . The conditions of the ODE method of Borkar and Meyn [7 ] hold, giving sup k ∥ Q k ∥ < ∞ \sup_k\lVert Q_k\rVert<\infty sup k ∥ Q k ∥ < ∞ and Q k → Q π Q_k\to Q^\pi Q k → Q π almost surely. □ \square □
Proof of Proposition 2
Proof. A latent-blind policy is a latent-aware policy that ignores ρ \rho ρ , and by Proposition 1 its action-value function in the MDP on ( s , ρ ) (s,\rho) ( s , ρ ) is τ ( ρ Q π ( s , a ) ) \tau(\rho Q^\pi(s,a)) τ ( ρ Q π ( s , a )) . Hence V π ( s , ρ ) = ∑ a π ( a ∣ s ) τ ( ρ Q π ( s , a ) ) ≤ τ ( ρ Q π ( s , π + ( s , ρ ) ) ) V^\pi(s,\rho)=\sum_a\pi(a\mid s)\tau(\rho Q^\pi(s,a))\leq\tau(\rho Q^\pi(s,\pi^+(s,\rho))) V π ( s , ρ ) = ∑ a π ( a ∣ s ) τ ( ρ Q π ( s , a )) ≤ τ ( ρ Q π ( s , π + ( s , ρ ))) . Unrolling as in the classical policy-improvement theorem [39 §4.2] , V π ( s 0 , ρ 0 ) ≤ E π + [ ∑ t < n γ t r t ] + γ n E π + [ V π ( s n , ρ n ) ] V^\pi(s_0,\rho_0)\leq\mathbb{E}^{\pi^+}\left[\sum_{t<n}\gamma^t r_t\right]+\gamma^n\mathbb{E}^{\pi^+}[V^\pi(s_n,\rho_n)] V π ( s 0 , ρ 0 ) ≤ E π + [ ∑ t < n γ t r t ] + γ n E π + [ V π ( s n , ρ n )] . Since ∣ V π ( s , ρ ) ∣ ≤ ∥ Q π ∥ ∞ , o p ∥ ρ ∥ 1 \lvert V^\pi(s,\rho)\rvert\leq\lVert Q^\pi\rVert_{\infty,\mathrm{op}}\lVert\rho\rVert_1 ∣ V π ( s , ρ )∣ ≤ ∥ Q π ∥ ∞ , op ∥ ρ ∥ 1 and ∥ ρ n ∥ 1 ≤ κ n ∥ ρ 0 ∥ 1 \lVert\rho_n\rVert_1\leq\kappa^n\lVert\rho_0\rVert_1 ∥ ρ n ∥ 1 ≤ κ n ∥ ρ 0 ∥ 1 , the last term vanishes when γ κ < 1 \gamma\kappa<1 γ κ < 1 , and the first converges to V π + ( s 0 , ρ 0 ) V^{\pi^+}(s_0,\rho_0) V π + ( s 0 , ρ 0 ) .
Proof of Theorem 2
Proof. In CP each K a K_a K a and K a † K_a^\dagger K a † is positive, so Q t β Q_t^\beta Q t β is self-adjoint for all t t t and K a ( ρ ) ⪰ 0 K_a(\rho)\succeq0 K a ( ρ ) ⪰ 0 whenever ρ ⪰ 0 \rho\succeq0 ρ ⪰ 0 . For an arbitrary (possibly history-dependent, latent-aware) policy, let q t π q_t^\pi q t π denote its action value from step t t t ; the continuation of π \pi π after one more step is again a policy. We prove by backward induction that q t π ( s , ρ , a ) ≤ τ ( ρ Q t β ( s , a ) ) q_t^\pi(s,\rho,a)\leq\tau(\rho Q_t^\beta(s,a)) q t π ( s , ρ , a ) ≤ τ ( ρ Q t β ( s , a )) for all policies, s s s , a a a and ρ ⪰ 0 \rho\succeq0 ρ ⪰ 0 . At t = H − 1 t=H-1 t = H − 1 both sides equal τ ( R ( s , a ) K a ( ρ ) ) = τ ( ρ K a † ( R ( s , a ) ) ) \tau(R(s,a)K_a(\rho))=\tau(\rho K_a^\dagger(R(s,a))) τ ( R ( s , a ) K a ( ρ )) = τ ( ρ K a † ( R ( s , a ))) . For t < H − 1 t<H-1 t < H − 1 , writing ρ ′ = K a ( ρ ) ⪰ 0 \rho'=K_a(\rho)\succeq0 ρ ′ = K a ( ρ ) ⪰ 0 and π ˉ ( ⋅ ) \bar{\pi}(\cdot) π ˉ ( ⋅ ) for the (history-dependent) distribution of the next action,
q t π ( s , ρ , a ) = τ ( R ( s , a ) ρ ′ ) + γ ∑ s ′ P ( s ′ ∣ s , a ) ∑ a ′ π ˉ ( a ′ ) q t + 1 π ′ ( s ′ , ρ ′ , a ′ ) ≤ τ ( R ( s , a ) ρ ′ ) + γ ∑ s ′ P ( s ′ ∣ s , a ) ∑ a ′ π ˉ ( a ′ ) τ ( ρ ′ Q t + 1 β ( s ′ , a ′ ) ) ≤ τ ( R ( s , a ) ρ ′ ) + γ ∑ s ′ P ( s ′ ∣ s , a ) τ ( ρ ′ V t + 1 β ( s ′ ) ) = τ ( ρ Q t β ( s , a ) ) . \begin{aligned}
q_t^\pi(s,\rho,a)
&=\tau(R(s,a)\rho')+\gamma\sum_{s'}P(s'\mid s,a)\sum_{a'}\bar{\pi}(a')q_{t+1}^{\pi'}(s',\rho',a')\\
&\leq\tau(R(s,a)\rho')+\gamma\sum_{s'}P(s'\mid s,a)\sum_{a'}\bar{\pi}(a')\tau(\rho'Q_{t+1}^\beta(s',a'))\\
&\leq\tau(R(s,a)\rho')+\gamma\sum_{s'}P(s'\mid s,a)\tau(\rho'V_{t+1}^\beta(s'))\\
&=\tau(\rho Q_t^\beta(s,a)).
\end{aligned} q t π ( s , ρ , a ) = τ ( R ( s , a ) ρ ′ ) + γ s ′ ∑ P ( s ′ ∣ s , a ) a ′ ∑ π ˉ ( a ′ ) q t + 1 π ′ ( s ′ , ρ ′ , a ′ ) ≤ τ ( R ( s , a ) ρ ′ ) + γ s ′ ∑ P ( s ′ ∣ s , a ) a ′ ∑ π ˉ ( a ′ ) τ ( ρ ′ Q t + 1 β ( s ′ , a ′ )) ≤ τ ( R ( s , a ) ρ ′ ) + γ s ′ ∑ P ( s ′ ∣ s , a ) τ ( ρ ′ V t + 1 β ( s ′ )) = τ ( ρ Q t β ( s , a )) .
The first inequality is the induction hypothesis at ρ ′ ⪰ 0 \rho'\succeq0 ρ ′ ⪰ 0 ; the second uses Q t + 1 β ( s ′ , a ′ ) ⪯ V t + 1 β ( s ′ ) Q_{t+1}^\beta(s',a')\preceq V_{t+1}^\beta(s') Q t + 1 β ( s ′ , a ′ ) ⪯ V t + 1 β ( s ′ ) (Prop. 5(i)) and that Y ↦ τ ( ρ ′ Y ) Y\mapsto\tau(\rho'Y) Y ↦ τ ( ρ ′ Y ) is monotone for ρ ′ ⪰ 0 \rho'\succeq0 ρ ′ ⪰ 0 ; the last equality is the dual identity. Taking the supremum over policies gives the statement for q t ∗ q_t^* q t ∗ . For latent-blind π \pi π , Proposition 1 gives τ ( ρ ( Q t β − Q t π ) ) ≥ 0 \tau(\rho(Q_t^\beta-Q_t^\pi))\geq0 τ ( ρ ( Q t β − Q t π )) ≥ 0 for every ρ ⪰ 0 \rho\succeq0 ρ ⪰ 0 , i.e. Q t π ⪯ Q t β Q_t^\pi\preceq Q_t^\beta Q t π ⪯ Q t β .
Infinite horizon. Unital positive maps have operator norm 1 [6 Ch. 2] , so by Prop. 5(iii) ∥ T β Q ∥ ∞ , o p ≤ R max + γ ( ∥ Q ∥ ∞ , o p + β − 1 log K ) \lVert T_\beta Q\rVert_{\infty,\mathrm{op}}\leq R_{\max}+\gamma(\lVert Q\rVert_{\infty,\mathrm{op}}+\beta^{-1}\log K) ∥ T β Q ∥ ∞ , op ≤ R m a x + γ (∥ Q ∥ ∞ , op + β − 1 log K ) and the ball of radius M β M_\beta M β is invariant. On it LSE β \operatorname{LSE}_\beta LSE β is Lipschitz with constant 1 on the commuting sector (which T β T_\beta T β preserves when all U a , R ( s , a ) U_a,R(s,a) U a , R ( s , a ) lie in one maximal abelian subalgebra) and e 2 β M β e^{2\beta M_\beta} e 2 β M β in general (Prop. 6(a,b)), giving the stated moduli.
Truncation bound (no contraction needed). Fix n n n . The finite-horizon argument above, applied with horizon n n n , bounds the n n n -step truncated return of every policy by τ ( ρ Q 0 β , ( n ) ( s , a ) ) \tau(\rho Q_0^{\beta,(n)}(s,a)) τ ( ρ Q 0 β , ( n ) ( s , a )) . In CP, ρ t ⪰ 0 \rho_t\succeq0 ρ t ⪰ 0 and τ ( ρ t ) = τ ( ρ ) \tau(\rho_t)=\tau(\rho) τ ( ρ t ) = τ ( ρ ) , so ∣ r t ∣ ≤ R max τ ( ρ ) \lvert r_t\rvert\leq R_{\max}\tau(\rho) ∣ r t ∣ ≤ R m a x τ ( ρ ) and the remaining rewards contribute at most ∑ t > n γ t R max τ ( ρ ) = γ n R max τ ( ρ ) / ( 1 − γ ) \sum_{t>n}\gamma^tR_{\max}\tau(\rho)=\gamma^nR_{\max}\tau(\rho)/(1-\gamma) ∑ t > n γ t R m a x τ ( ρ ) = γ n R m a x τ ( ρ ) / ( 1 − γ ) . This proves the truncation bound. When T β T_\beta T β contracts, Q 0 β , ( n ) → Q β Q_0^{\beta,(n)}\to Q^\beta Q 0 β , ( n ) → Q β as n → ∞ n\to\infty n → ∞ and the tail vanishes, so the fixed point is a certificate.
Proof of Proposition 3
Proof. (i) For Y ∈ D Y\in\mathcal{D} Y ∈ D and U a ∈ D U_a\in\mathcal{D} U a ∈ D unitary, U a ∗ Y U a = U a ∗ U a Y = Y U_a^*YU_a=U_a^*U_aY=Y U a ∗ Y U a = U a ∗ U a Y = Y , so K a † K_a^\dagger K a † is the identity on D \mathcal{D} D ; functional calculus acts entrywise on diagonal operators, so LSE β \operatorname{LSE}_\beta LSE β maps D K \mathcal{D}^K D K to D \mathcal{D} D coordinatewise, and coordinate j j j of T β \mathcal{T}_{\beta} T β is the classical soft Bellman operator with reward r j ( s , a ) = R ( s , a ) j j r_j(s,a)=R(s,a)_{jj} r j ( s , a ) = R ( s , a ) j j . (ii) For ρ = N e j e j ∗ \rho=N e_j e_j^* ρ = N e j e j ∗ , K a ( ρ ) = U a ρ U a ∗ = ρ \mathcal{K}_a(\rho)=U_a\rho U_a^*=\rho K a ( ρ ) = U a ρ U a ∗ = ρ , so the latent is constant and every policy faces the classical MDP with reward r j r_j r j ; hence q ∗ ( s , ρ , a ) q^*(s,\rho,a) q ∗ ( s , ρ , a ) is its optimal value q j , t ∗ ( s , a ) q^*_{j,t}(s,a) q j , t ∗ ( s , a ) , while τ ( ρ Q t β ( s , a ) ) = ( Q t β ( s , a ) ) j j \tau(\rho Q^\beta_t(s,a))=(Q^\beta_t(s,a))_{jj} τ ( ρ Q t β ( s , a )) = ( Q t β ( s , a ) ) j j is its soft-optimal value. With δ t = max s , a ( q j , t β − q j , t ∗ ) ≥ 0 \delta_t=\max_{s,a}(q^\beta_{j,t}-q^*_{j,t})\geq0 δ t = max s , a ( q j , t β − q j , t ∗ ) ≥ 0 we have δ H − 1 = 0 \delta_{H-1}=0 δ H − 1 = 0 and, since lse β ( u ) ≤ max u + β − 1 log K \operatorname{lse}_{\beta}(u)\leq\max u+\beta^{-1}\log K lse β ( u ) ≤ max u + β − 1 log K , δ t ≤ γ ( β − 1 log K + δ t + 1 ) \delta_t\leq\gamma(\beta^{-1}\log K+\delta_{t+1}) δ t ≤ γ ( β − 1 log K + δ t + 1 ) , which gives the bound. (iii) N = 1 N=1 N = 1 gives M 1 = C \mathcal{M}_1=\mathbb{C} M 1 = C , K a † = id \mathcal{K}_a^\dagger=\operatorname{id} K a † = id and LSE β = lse β \operatorname{LSE}_{\beta}=\operatorname{lse}_{\beta} LSE β = lse β .
Proof of Corollary 2
Proof. The proof of Theorem 2 uses two properties of the aggregator: that its output is self-adjoint, so Q t β Q^\beta_t Q t β stays self-adjoint under the positive maps K a † \mathcal{K}_a^\dagger K a † , and that it dominates each argument, V t + 1 β ( s ′ ) ⪰ Q t + 1 β ( s ′ , a ′ ) V^\beta_{t+1}(s')\succeq Q^\beta_{t+1}(s',a') V t + 1 β ( s ′ ) ⪰ Q t + 1 β ( s ′ , a ′ ) , in the second inequality of the induction. Both hold for G G G by assumption, and no other property of LSE β \operatorname{LSE}_{\beta} LSE β (monotonicity, smoothness, Lipschitz continuity) is used. The finite-horizon statements, including Q t π ⪯ Q t G Q^\pi_t\preceq Q^G_t Q t π ⪯ Q t G for latent-blind π \pi π , follow verbatim. The trace-minimal G G G exists because the feasible set { Y : Y ⪰ x i ∀ i } \{Y:Y\succeq x_i\ \forall i\} { Y : Y ⪰ x i ∀ i } is closed, convex and contains ( max i ∥ x i ∥ ) I (\max_i\lVert x_i\rVert)I ( max i ∥ x i ∥) I , and τ \tau τ is bounded below on it by max i τ ( x i ) \max_i\tau(x_i) max i τ ( x i ) . It is minimal in the Löwner order: if Y ′ ⪯ Y Y'\preceq Y Y ′ ⪯ Y is also feasible then τ ( Y − Y ′ ) ≥ 0 \tau(Y-Y')\geq0 τ ( Y − Y ′ ) ≥ 0 with equality only if Y ′ = Y Y'=Y Y ′ = Y , since τ \tau τ is faithful.
Proof of Proposition 4
Proof. For latent-aware control the process x t = ( s t , ρ t ) x_t=(s_t,\rho_t) x t = ( s t , ρ t ) is a finite-horizon MDP, and for any deterministic policy π \pi π the performance-difference identity, obtained by telescoping V ∗ ( x t ) = q ∗ ( x t , π ( x t ) ) + [ V ∗ ( x t ) − q ∗ ( x t , π ( x t ) ) ] V^*(x_t)=q^*(x_t,\pi(x_t))+[V^*(x_t)-q^*(x_t,\pi(x_t))] V ∗ ( x t ) = q ∗ ( x t , π ( x t )) + [ V ∗ ( x t ) − q ∗ ( x t , π ( x t ))] along trajectories of π \pi π , gives
V ∗ ( x 0 ) − V π ( x 0 ) = ∑ t = 0 H − 1 γ t E π [ V ∗ ( x t ) − q t ∗ ( x t , π ( x t ) ) ] . V^*(x_0)-V^\pi(x_0)=\sum_{t=0}^{H-1}\gamma^t\mathbb{E}^\pi\left[V^*(x_t)-q^*_t(x_t,\pi(x_t))\right]. V ∗ ( x 0 ) − V π ( x 0 ) = t = 0 ∑ H − 1 γ t E π [ V ∗ ( x t ) − q t ∗ ( x t , π ( x t )) ] .
Fix x = ( s , ρ ) x=(s,\rho) x = ( s , ρ ) at step t t t , let a ∗ a^* a ∗ be optimal there and a ^ = π ^ ( x ) \hat{a}=\hat{\pi}(x) a ^ = π ^ ( x ) the greedy readout. Since τ ( ρ Q ^ t ( s , a ^ ) ) ≥ τ ( ρ Q ^ t ( s , a ∗ ) ) \tau(\rho\widehat{Q}_t(s,\hat{a}))\geq\tau(\rho\widehat{Q}_t(s,a^*)) τ ( ρ Q t ( s , a ^ )) ≥ τ ( ρ Q t ( s , a ∗ )) ,
q t ∗ ( x , a ^ ) = τ ( ρ Q ^ t ( s , a ^ ) ) − δ t ( x , a ^ ) ≥ τ ( ρ Q ^ t ( s , a ∗ ) ) − δ t ( x , a ^ ) = q t ∗ ( x , a ∗ ) + δ t ( x , a ∗ ) − δ t ( x , a ^ ) , q^*_t(x,\hat{a})=\tau(\rho\widehat{Q}_t(s,\hat{a}))-\delta_t(x,\hat{a})\geq\tau(\rho\widehat{Q}_t(s,a^*))-\delta_t(x,\hat{a})=q^*_t(x,a^*)+\delta_t(x,a^*)-\delta_t(x,\hat{a}), q t ∗ ( x , a ^ ) = τ ( ρ Q t ( s , a ^ )) − δ t ( x , a ^ ) ≥ τ ( ρ Q t ( s , a ∗ )) − δ t ( x , a ^ ) = q t ∗ ( x , a ∗ ) + δ t ( x , a ∗ ) − δ t ( x , a ^ ) ,
so V t ∗ ( x ) − q t ∗ ( x , a ^ ) ≤ max a δ t ( x , a ) − min a δ t ( x , a ) V^*_t(x)-q^*_t(x,\hat{a})\leq\max_a\delta_t(x,a)-\min_a\delta_t(x,a) V t ∗ ( x ) − q t ∗ ( x , a ^ ) ≤ max a δ t ( x , a ) − min a δ t ( x , a ) . Taking expectations under π ^ \hat{\pi} π ^ and summing gives the bound. In the commuting sector at a pure eigenstate ρ = N e j e j ∗ \rho=N e_j e_j^* ρ = N e j e j ∗ , the latent is constant and Prop. 3(ii) gives 0 ≤ δ t ≤ β − 1 log K ∑ k = 1 H − t − 1 γ k 0\leq\delta_t\leq\beta^{-1}\log K\sum_{k=1}^{H-t-1}\gamma^k 0 ≤ δ t ≤ β − 1 log K ∑ k = 1 H − t − 1 γ k for every action, which bounds the spread.
Proof of Theorem 3
We use the Hilbert–Schmidt inner product ⟨ X , Y ⟩ = ℜ Tr ( X ∗ Y ) \langle X,Y\rangle=\Re\operatorname{Tr}(X^*Y) ⟨ X , Y ⟩ = ℜ Tr ( X ∗ Y ) on self-adjoint operators, with norm ∥ ⋅ ∥ F \lVert\cdot\rVert_F ∥ ⋅ ∥ F ; all norms on this finite-dimensional space are equivalent. Two facts are used: in CP, K a † \mathcal{K}_a^\dagger K a † is positive and unital, so ∥ K a † X ∥ ≤ ∥ X ∥ \lVert\mathcal{K}_a^\dagger X\rVert\leq\lVert X\rVert ∥ K a † X ∥ ≤ ∥ X ∥ in operator norm ([6 Ch. 2] ); and LSE β \operatorname{LSE}_{\beta} LSE β is continuous, indeed locally Lipschitz (Prop. 6 ).
Lemma 1 (Stochastic approximation with vanishing bias). Let ( F n ) (\mathcal{F}_n) ( F n ) be a filtration and x n + 1 = x n + α n ( c − x n + w n + b n ) x_{n+1}=x_n+\alpha_n(c-x_n+w_n+b_n) x n + 1 = x n + α n ( c − x n + w n + b n ) , where c c c is fixed, α n ∈ [ 0 , 1 ] \alpha_n\in[0,1] α n ∈ [ 0 , 1 ] are deterministic with ∑ n α n = ∞ \sum_n\alpha_n=\infty ∑ n α n = ∞ and ∑ n α n 2 < ∞ \sum_n\alpha_n^2<\infty ∑ n α n 2 < ∞ , w n w_n w n is F n + 1 \mathcal{F}_{n+1} F n + 1 -measurable with E [ w n ∣ F n ] = 0 \mathbb{E}[w_n\mid\mathcal{F}_n]=0 E [ w n ∣ F n ] = 0 and ∥ w n ∥ F ≤ C \|w_n\|_F\le C ∥ w n ∥ F ≤ C , and the b n b_n b n are random with b n → 0 b_n\to0 b n → 0 almost surely (no measurability is needed for them). Then x n → c x_n\to c x n → c almost surely.
Proof. Write x n − c = u n + v n x_n-c=u_n+v_n x n − c = u n + v n with u 0 = 0 u_0=0 u 0 = 0 , v 0 = x 0 − c v_0=x_0-c v 0 = x 0 − c , u n + 1 = ( 1 − α n ) u n + α n w n u_{n+1}=(1-\alpha_n)u_n+\alpha_n w_n u n + 1 = ( 1 − α n ) u n + α n w n and v n + 1 = ( 1 − α n ) v n + α n b n v_{n+1}=(1-\alpha_n)v_n+\alpha_n b_n v n + 1 = ( 1 − α n ) v n + α n b n . Noise. Since u n u_n u n depends only on w 0 , … , w n − 1 w_0,\ldots,w_{n-1} w 0 , … , w n − 1 , it is F n \mathcal{F}_n F n -measurable; as E [ w n ∣ F n ] = 0 \mathbb{E}[w_n\mid\mathcal{F}_n]=0 E [ w n ∣ F n ] = 0 , the cross term vanishes and E [ ∥ u n + 1 ∥ F 2 ∣ F n ] = ( 1 − α n ) 2 ∥ u n ∥ F 2 + α n 2 E [ ∥ w n ∥ F 2 ∣ F n ] ≤ ∥ u n ∥ F 2 − α n ∥ u n ∥ F 2 + α n 2 C 2 \mathbb{E}[\|u_{n+1}\|_F^2\mid\mathcal{F}_n]=(1-\alpha_n)^2\|u_n\|_F^2+\alpha_n^2\mathbb{E}[\|w_n\|_F^2\mid\mathcal{F}_n]\le\|u_n\|_F^2-\alpha_n\|u_n\|_F^2+\alpha_n^2C^2 E [ ∥ u n + 1 ∥ F 2 ∣ F n ] = ( 1 − α n ) 2 ∥ u n ∥ F 2 + α n 2 E [ ∥ w n ∥ F 2 ∣ F n ] ≤ ∥ u n ∥ F 2 − α n ∥ u n ∥ F 2 + α n 2 C 2 . By the Robbins–Siegmund theorem [32 ] , ∥ u n ∥ F 2 \|u_n\|_F^2 ∥ u n ∥ F 2 converges almost surely and ∑ n α n ∥ u n ∥ F 2 < ∞ \sum_n\alpha_n\|u_n\|_F^2<\infty ∑ n α n ∥ u n ∥ F 2 < ∞ ; as ∑ n α n = ∞ \sum_n\alpha_n=\infty ∑ n α n = ∞ , the limit is 0. Bias. Fix a sample path and ε > 0 \varepsilon>0 ε > 0 , and take n 0 n_0 n 0 with ∥ b n ∥ F ≤ ε \|b_n\|_F\le\varepsilon ∥ b n ∥ F ≤ ε for n ≥ n 0 n\ge n_0 n ≥ n 0 . Then ∥ v n + 1 ∥ F − ε ≤ ( 1 − α n ) ( ∥ v n ∥ F − ε ) \|v_{n+1}\|_F-\varepsilon\le(1-\alpha_n)(\|v_n\|_F-\varepsilon) ∥ v n + 1 ∥ F − ε ≤ ( 1 − α n ) ( ∥ v n ∥ F − ε ) , so ∥ v n ∥ F − ε ≤ ∏ k = n 0 n − 1 ( 1 − α k ) ( ∥ v n 0 ∥ F − ε ) + → 0 \|v_n\|_F-\varepsilon\le\prod_{k=n_0}^{n-1}(1-\alpha_k)(\|v_{n_0}\|_F-\varepsilon)^+\to0 ∥ v n ∥ F − ε ≤ ∏ k = n 0 n − 1 ( 1 − α k ) ( ∥ v n 0 ∥ F − ε ) + → 0 , because ∑ k α k = ∞ \sum_k\alpha_k=\infty ∑ k α k = ∞ . Hence lim sup n ∥ v n ∥ F ≤ ε \limsup_n\|v_n\|_F\le\varepsilon lim sup n ∥ v n ∥ F ≤ ε for every ε > 0 \varepsilon>0 ε > 0 . □ \square □
Proof of Theorem 3. Call ( t , s ) (t,s) ( t , s ) reachable if it has positive probability under some policy; the reachable set is closed under transitions, so the targets of reachable entries involve only reachable entries. Write V t + 1 ( s ′ ) = LSE β ( { Q t + 1 ( s ′ , a ′ ) } a ′ ) V_{t+1}(s')=\operatorname{LSE}_\beta(\{Q_{t+1}(s',a')\}_{a'}) V t + 1 ( s ′ ) = LSE β ({ Q t + 1 ( s ′ , a ′ ) } a ′ ) for the current table. We show by backward induction on t = H , H − 1 , … , 0 t=H,H-1,\ldots,0 t = H , H − 1 , … , 0 that Q t ( s , a ) → Q t β ( s , a ) Q_t(s,a)\to Q_t^\beta(s,a) Q t ( s , a ) → Q t β ( s , a ) almost surely for every reachable ( t , s , a ) (t,s,a) ( t , s , a ) , and hence, by continuity of LSE β \operatorname{LSE}_\beta LSE β , that V t ( s ) → V t β ( s ) V_t(s)\to V_t^\beta(s) V t ( s ) → V t β ( s ) for every reachable ( t , s ) (t,s) ( t , s ) . For t = H t=H t = H both sides are 0.
Assume the claim at t + 1 t+1 t + 1 , and fix a reachable ( t , s , a ) (t,s,a) ( t , s , a ) . The entry changes only when it is updated; let n = 1 , 2 , … n=1,2,\ldots n = 1 , 2 , … index its updates, k n k_n k n be the time of the n n n -th one, s n ′ s'_n s n ′ the sampled next state, and F n \mathcal{F}_n F n the history before s n ′ s'_n s n ′ is drawn. The update is x n + 1 = x n + α n ( Y n − x n ) x_{n+1}=x_n+\alpha_n(Y_n-x_n) x n + 1 = x n + α n ( Y n − x n ) with Y n = K a † ( R ^ k n ( s , a ) + γ V t + 1 ( k n ) ( s n ′ ) ) Y_n=K_a^\dagger(\widehat{R}_{k_n}(s,a)+\gamma V_{t+1}^{(k_n)}(s'_n)) Y n = K a † ( R k n ( s , a ) + γ V t + 1 ( k n ) ( s n ′ )) . Decompose Y n = c + w n + b n Y_n=c+w_n+b_n Y n = c + w n + b n :
c = K a † ( R ( s , a ) + γ ∑ s ′ P ( s ′ ∣ s , a ) V t + 1 β ( s ′ ) ) = Q t β ( s , a ) , w n = γ K a † ( V t + 1 β ( s n ′ ) − ∑ s ′ P ( s ′ ∣ s , a ) V t + 1 β ( s ′ ) ) , b n = K a † ( R ^ k n ( s , a ) − R ( s , a ) ) + γ K a † ( V t + 1 ( k n ) ( s n ′ ) − V t + 1 β ( s n ′ ) ) . \begin{aligned}
c&=K_a^\dagger\left(R(s,a)+\gamma\sum_{s'}P(s'\mid s,a)V_{t+1}^\beta(s')\right)=Q_t^\beta(s,a),\\
w_n&=\gamma K_a^\dagger\left(V_{t+1}^\beta(s'_n)-\sum_{s'}P(s'\mid s,a)V_{t+1}^\beta(s')\right),\\
b_n&=K_a^\dagger\left(\widehat{R}_{k_n}(s,a)-R(s,a)\right)+\gamma K_a^\dagger\left(V_{t+1}^{(k_n)}(s'_n)-V_{t+1}^\beta(s'_n)\right).
\end{aligned} c w n b n = K a † ( R ( s , a ) + γ s ′ ∑ P ( s ′ ∣ s , a ) V t + 1 β ( s ′ ) ) = Q t β ( s , a ) , = γ K a † ( V t + 1 β ( s n ′ ) − s ′ ∑ P ( s ′ ∣ s , a ) V t + 1 β ( s ′ ) ) , = K a † ( R k n ( s , a ) − R ( s , a ) ) + γ K a † ( V t + 1 ( k n ) ( s n ′ ) − V t + 1 β ( s n ′ ) ) .
Since s n ′ ∼ P ( ⋅ ∣ s , a ) s'_n\sim P(\cdot\mid s,a) s n ′ ∼ P ( ⋅ ∣ s , a ) given F n \mathcal{F}_n F n , w n w_n w n is a martingale difference, and it is bounded by 2 γ max s ′ ∥ V t + 1 β ( s ′ ) ∥ 2\gamma\max_{s'}\|V_{t+1}^\beta(s')\| 2 γ max s ′ ∥ V t + 1 β ( s ′ ) ∥ because V t + 1 β V_{t+1}^\beta V t + 1 β is a fixed, finite family. For b n b_n b n : k n → ∞ k_n\to\infty k n → ∞ because the entry is updated infinitely often; the first term tends to 0 because R ^ → R \widehat{R}\to R R → R and ∥ K a † X ∥ ≤ ∥ X ∥ \|K_a^\dagger X\|\le\|X\| ∥ K a † X ∥ ≤ ∥ X ∥ ; and the second tends to 0 because s n ′ s'_n s n ′ ranges over finitely many reachable states, at each of which V t + 1 ( k ) → V t + 1 β V_{t+1}^{(k)}\to V_{t+1}^\beta V t + 1 ( k ) → V t + 1 β by the induction hypothesis. Lemma 1 gives Q t ( s , a ) → Q t β ( s , a ) Q_t(s,a)\to Q_t^\beta(s,a) Q t ( s , a ) → Q t β ( s , a ) almost surely.
What the theorem does not use, and what it does not give. The induction never compares two tables through T β \mathcal{T}_\beta T β , so neither monotonicity nor non-expansiveness of LSE β \operatorname{LSE}_\beta LSE β enters; it needs only that the targets of step t t t stop moving, which acyclicity in t t t ensures. For an infinite horizon the targets depend on the same table, and the standard argument [40 ] needs T β \mathcal{T}_\beta T β to contract, which Theorem 2 gives only under γ e 2 β M β < 1 \gamma e^{2\beta M_\beta}<1 γ e 2 β M β < 1 . Two consequences follow for the learned operators. First, they are asymptotically certificates: for every policy π \pi π and density ρ \rho ρ , q t π ( s , ρ , a ) ≤ τ ( ρ Q t ( s , a ) ) + τ ( ρ ) ∥ Q t ( s , a ) − Q t β ( s , a ) ∥ q_t^\pi(s,\rho,a)\le\tau(\rho Q_t(s,a))+\tau(\rho)\|Q_t(s,a)-Q_t^\beta(s,a)\| q t π ( s , ρ , a ) ≤ τ ( ρ Q t ( s , a )) + τ ( ρ ) ∥ Q t ( s , a ) − Q t β ( s , a ) ∥ , and the last term tends to 0. Second, wherever the greedy action of Q t β Q_t^\beta Q t β at ( s , ρ ) (s,\rho) ( s , ρ ) is unique, the learned greedy action equals it after finitely many updates. The exploration condition holds for ε \varepsilon ε -greedy behaviour with ε \varepsilon ε bounded below, and the step sizes n − p n^{-p} n − p with p ∈ ( 1 / 2 , 1 ] p \in(1/2,1] p ∈ ( 1/2 , 1 ] are Robbins–Monro; the condition on R ^ \widehat{R} R holds when R R R is known and, for the least-squares estimate, under zero-mean reward noise and persistent excitation (the observed latents keep spanning the self-adjoint operators). With a step-size floor, as in E18–E23, the iterates do not converge but fluctuate around Q β Q^\beta Q β ; E24 measures by how much.
Proofs for Section 4
Proof of Proposition 5
Proof. Each e β x i ⪰ e − β M I e^{\beta x_i} \succeq e^{-\beta M}I e β x i ⪰ e − β M I , so S = ∑ i e β x i ⪰ K e − β M I ≻ 0 S = \sum_i e^{\beta x_i} \succeq K e^{-\beta M}I \succ0 S = ∑ i e β x i ⪰ K e − β M I ≻ 0 and log S \log S log S is defined and self-adjoint. (i) S ⪰ e β x i S \succeq e^{\beta x_i} S ⪰ e β x i and log is operator monotone ([5 Ch. V] ), so log S ⪰ β x i \log S \succeq\beta x_i log S ⪰ β x i . (ii) e β ( x i + c I ) = e β c e β x i e^{\beta(x_i+cI)} = e^{\beta c}e^{\beta x_i} e β ( x i + c I ) = e β c e β x i . (iii) With m = max i ∥ x i ∥ m = \max_i \|x_i\| m = max i ∥ x i ∥ , S ⪯ K e β m I S \preceq K e^{\beta m}I S ⪯ K e β m I and operator monotonicity of log give LSE β ( x ) ⪯ ( m + β − 1 log K ) I \operatorname{LSE}_\beta(x) \preceq(m + \beta^{-1}\log K)I LSE β ( x ) ⪯ ( m + β − 1 log K ) I , while (i) gives LSE β ( x ) ⪰ x 1 ⪰ − m I \operatorname{LSE}_\beta(x) \succeq x_1 \succeq-mI LSE β ( x ) ⪰ x 1 ⪰ − m I . (iv) U ∗ f ( A ) U = f ( U ∗ A U ) U^*f(A)U = f(U^*AU) U ∗ f ( A ) U = f ( U ∗ A U ) for any functional calculus. (v) In a joint eigenbasis all operations are entrywise.
Lemma 2 (Scalar case). For real u , v ∈ R K u,v \in\mathbb{R}^K u , v ∈ R K and every β > 0 \beta> 0 β > 0 , ∣ lse β ( u ) − lse β ( v ) ∣ ≤ max i ∣ u i − v i ∣ |\operatorname{lse}_\beta(u)-\operatorname{lse}_\beta(v)| \le\max_i |u_i-v_i| ∣ lse β ( u ) − lse β ( v ) ∣ ≤ max i ∣ u i − v i ∣ , with equality for uniform shifts.
Proof. With D = max i ∣ u i − v i ∣ D = \max_i |u_i-v_i| D = max i ∣ u i − v i ∣ , monotonicity and the shift identity give lse β ( v ) − D ≤ lse β ( u ) ≤ lse β ( v ) + D \operatorname{lse}_\beta(v)-D \le\operatorname{lse}_\beta(u) \le\operatorname{lse}_\beta(v)+D lse β ( v ) − D ≤ lse β ( u ) ≤ lse β ( v ) + D .
Proof of Proposition 6
Proof. (a) In the joint eigenbasis, coordinate j j j of Δ \Delta Δ is Δ j = lse β ( x ( j ) ) − lse β ( y ( j ) ) \Delta_j = \operatorname{lse}_\beta(x^{(j)})-\operatorname{lse}_\beta(y^{(j)}) Δ j = lse β ( x ( j ) ) − lse β ( y ( j ) ) , and by Lemma 2, ∣ Δ j ∣ ≤ max i ∣ h i ( j ) ∣ |\Delta_j| \le\max_i |h_i^{(j)}| ∣ Δ j ∣ ≤ max i ∣ h i ( j ) ∣ . Taking max j \max_j max j gives the operator-norm bound; averaging squares gives ∥ Δ ∥ 2 2 = 1 N ∑ j Δ j 2 ≤ 1 N ∑ j ∑ i ∣ h i ( j ) ∣ 2 = ∑ i ∥ h i ∥ 2 2 \|\Delta\|_2^2 = \frac{1}{N}\sum_j \Delta_j^2 \le\frac{1}{N}\sum_j\sum_i |h_i^{(j)}|^2 = \sum_i \|h_i\|_2^2 ∥Δ ∥ 2 2 = N 1 ∑ j Δ j 2 ≤ N 1 ∑ j ∑ i ∣ h i ( j ) ∣ 2 = ∑ i ∥ h i ∥ 2 2 . A uniform shift h i = c I h_i = cI h i = c I attains the first bound. For the second, take K = 2 K=2 K = 2 , x 1 = Δ 0 I x_1=\Delta_0I x 1 = Δ 0 I , x 2 = 0 x_2=0 x 2 = 0 and perturb only x 1 x_1 x 1 : the ratio is the softmax weight ( 1 + e − β Δ 0 ) − 1 → 1 (1+e^{-\beta\Delta_0})^{-1} \to1 ( 1 + e − β Δ 0 ) − 1 → 1 .
(b) Let X = ∑ i e β x i X=\sum_i e^{\beta x_i} X = ∑ i e β x i , Y = ∑ i e β y i Y=\sum_i e^{\beta y_i} Y = ∑ i e β y i , both ⪰ m : = K e − β M \succeq m := Ke^{-\beta M} ⪰ m := K e − β M . From log x = ∫ 0 ∞ [ ( 1 + s ) − 1 − ( x + s ) − 1 ] d s \log x = \int_0^\infty[(1+s)^{-1}-(x+s)^{-1}]\,ds log x = ∫ 0 ∞ [( 1 + s ) − 1 − ( x + s ) − 1 ] d s ,
log X − log Y = ∫ 0 ∞ ( Y + s ) − 1 ( X − Y ) ( X + s ) − 1 d s , \log X-\log Y=\int_0^\infty(Y+s)^{-1}(X-Y)(X+s)^{-1}\,ds, log X − log Y = ∫ 0 ∞ ( Y + s ) − 1 ( X − Y ) ( X + s ) − 1 d s ,
so for p ∈ { 2 , ∞ } p \in\{2,\infty\} p ∈ { 2 , ∞ } , ∥ log X − log Y ∥ p ≤ ∥ X − Y ∥ p ∫ 0 ∞ ( m + s ) − 2 d s = ∥ X − Y ∥ p / m \|\log X-\log Y\|_p \le\|X-Y\|_p \int_0^\infty(m+s)^{-2}\,ds = \|X-Y\|_p/m ∥ log X − log Y ∥ p ≤ ∥ X − Y ∥ p ∫ 0 ∞ ( m + s ) − 2 d s = ∥ X − Y ∥ p / m . (The one-line formula ∫ 0 1 ( ( 1 − t ) Y + t X ) − 1 ( X − Y ) d t \int_0^1 ((1-t)Y+tX)^{-1}(X-Y)\,dt ∫ 0 1 (( 1 − t ) Y + tX ) − 1 ( X − Y ) d t is valid only when X X X and Y Y Y commute.) By Duhamel’s formula e β x − e β y = β ∫ 0 1 e u β x ( x − y ) e ( 1 − u ) β y d u e^{\beta x}-e^{\beta y}=\beta\int_0^1 e^{u\beta x}(x-y)e^{(1-u)\beta y}\,du e β x − e β y = β ∫ 0 1 e u β x ( x − y ) e ( 1 − u ) β y d u , so ∥ e β x i − e β y i ∥ p ≤ β e β M ∥ h i ∥ p \|e^{\beta x_i}-e^{\beta y_i}\|_p \le\beta e^{\beta M}\|h_i\|_p ∥ e β x i − e β y i ∥ p ≤ β e β M ∥ h i ∥ p . Combining and dividing by β \beta β ,
∥ Δ ∥ p ≤ e β M K ∑ i ∥ h i ∥ p . \|\Delta\|_p \le\frac{e^{\beta M}}{K}\sum_i\|h_i\|_p. ∥Δ ∥ p ≤ K e β M i ∑ ∥ h i ∥ p .
(c) In the common basis, coordinate j j j of the K = N K=N K = N family has values 1 for action j j j and 0 otherwise. Perturbing x i x_i x i by ϵ e i e i ∗ \epsilon e_i e_i^* ϵ e i e i ∗ changes coordinate j j j only through action j j j , with softmax weight p β = e β e β + N − 1 p_\beta= \frac{e^\beta}{e^\beta+N-1} p β = e β + N − 1 e β , so Δ = ϵ p β I + O ( ϵ 2 ) \Delta=\epsilon p_\beta I+O(\epsilon^2) Δ = ϵ p β I + O ( ϵ 2 ) and ∥ Δ ∥ 2 = ϵ p β + O ( ϵ 2 ) \|\Delta\|_2=\epsilon p_\beta+O(\epsilon^2) ∥Δ ∥ 2 = ϵ p β + O ( ϵ 2 ) , whereas ∥ h i ∥ 2 = ϵ / N \|h_i\|_2=\epsilon/\sqrt{N} ∥ h i ∥ 2 = ϵ / N for each i i i and ( ∑ i ∥ h i ∥ 2 2 ) 1 / 2 = ϵ (\sum_i\|h_i\|_2^2)^{1/2}=\epsilon ( ∑ i ∥ h i ∥ 2 2 ) 1/2 = ϵ . Hence the max-aggregated ratio tends to p β N p_\beta\sqrt{N} p β N and the ℓ 2 \ell_2 ℓ 2 -aggregated ratio to p β ≤ 1 p_\beta\le1 p β ≤ 1 . At N = 25 N=25 N = 25 , β = 5 \beta=5 β = 5 : p β N = 4.304 p_\beta\sqrt{N}=4.304 p β N = 4.304 .
Proof of Proposition 7
Proof. On the commuting sector LSE β \operatorname{LSE}_{\beta} LSE β is the scalar log-sum-exp in each eigen-coordinate, which is non-decreasing in each argument; K a † K_a^{\dagger} K a † is positive, so T β \mathcal{T}_{\beta} T β inherits monotonicity. In general the argument fails because x ↦ e β x x \mapsto e^{\beta x} x ↦ e β x is not operator monotone [5 Ch. V] ; E12 gives explicit violations (Sec. 6). T π \mathcal{T}^{\pi} T π is affine with positive linear part in CP, hence monotone.
Proofs for Section 5
Proof of Proposition 8
Proof. Fix a prefix g g g of length T − 3 T-3 T − 3 and actions a , b , c a,b,c a , b , c . The histories h = ( g , a , b ) h=(g,a,b) h = ( g , a , b ) and h ′ = ( g , b , a ) h'=(g,b,a) h ′ = ( g , b , a ) are permutations of each other, so σ ( h ) = σ ( h ′ ) \sigma(h)=\sigma(h') σ ( h ) = σ ( h ′ ) and f ( σ ( h ) , c ) = f ( σ ( h ′ ) , c ) f(\sigma(h),c)=f(\sigma(h'),c) f ( σ ( h ) , c ) = f ( σ ( h ′ ) , c ) . Therefore max { ∣ f − q T ( h , c ) ∣ , ∣ f − q T ( h ′ , c ) ∣ } ≥ 1 2 ∣ q T ( h , c ) − q T ( h ′ , c ) ∣ = 1 2 N ∣ Tr ( W X g ( A a A b − A b A a ) A c ) ∣ \max\{|f-q_T(h,c)|,|f-q_T(h',c)|\}\geq\frac{1}{2}|q_T(h,c)-q_T(h',c)|=\frac{1}{2N}\left|\operatorname{Tr}(W X_g(A_aA_b-A_bA_a)A_c)\right| max { ∣ f − q T ( h , c ) ∣ , ∣ f − q T ( h ′ , c ) ∣ } ≥ 2 1 ∣ q T ( h , c ) − q T ( h ′ , c ) ∣ = 2 N 1 ∣ Tr ( W X g ( A a A b − A b A a ) A c ) ∣ . If [ A a , A b ] ≠ 0 [A_a,A_b]\ne0 [ A a , A b ] = 0 then X g [ A a , A b ] A c ≠ 0 X_g[A_a,A_b]A_c\ne0 X g [ A a , A b ] A c = 0 (the outer factors are invertible), so W ↦ Tr ( W X g [ A a , A b ] A c ) W\mapsto\operatorname{Tr}(W X_g[A_a,A_b]A_c) W ↦ Tr ( W X g [ A a , A b ] A c ) is a non-zero linear functional whose zero set is a hyperplane, of Lebesgue measure zero. The exact operator form is Corollary 1.
Proof of Proposition 9
Proof. (a) Distinct positive words are distinct reduced words, so in a free group of rank K K K the K T − 1 K^{T-1} K T − 1 histories of length T − 1 T-1 T − 1 give pairwise distinct X h X_h X h . For each of the finitely many pairs h ≠ h ′ h\ne h' h = h ′ and each a a a , Tr ( W ( X h − X h ′ ) A a ) = 0 \operatorname{Tr}(W(X_h-X_{h'})A_a)=0 Tr ( W ( X h − X h ′ ) A a ) = 0 defines a hyperplane in W W W ; outside their union all values q T ( h , a ) q_T(h,a) q T ( h , a ) with distinct h h h differ for every a a a . An exact table indexed by ( σ ( h ) , a ) (\sigma(h),a) ( σ ( h ) , a ) must then have σ ( h ) ≠ σ ( h ′ ) \sigma(h)\ne\sigma(h') σ ( h ) = σ ( h ′ ) for all h ≠ h ′ h\ne h' h = h ′ , i.e. at least K T − 1 K^{T-1} K T − 1 observation values and K T K^T K T entries. For S O ( 3 ) SO(3) S O ( 3 ) and S E ( 3 ) SE(3) S E ( 3 ) (connected, non-solvable), almost every K K K -tuple generates a free group of rank K K K [11 ] .
(b) Step-2 nilpotency means every bracket is central. For central [ X , Y ] [X,Y] [ X , Y ] , e X e Y = e X + Y + 1 2 [ X , Y ] e^Xe^Y=e^{X+Y+\frac{1}{2}[X,Y]} e X e Y = e X + Y + 2 1 [ X , Y ] , and by induction
e Ω h 1 ⋯ e Ω h t = exp ( ∑ i Ω h i + 1 2 ∑ i < j [ Ω h i , Ω h j ] ) e^{\Omega_{h_1}}\cdots e^{\Omega_{h_t}}=\exp\left(\sum_i\Omega_{h_i}+\frac{1}{2}\sum_{i<j}[\Omega_{h_i},\Omega_{h_j}]\right) e Ω h 1 ⋯ e Ω h t = exp ( i ∑ Ω h i + 2 1 i < j ∑ [ Ω h i , Ω h j ] )
(the new bracket at each step is central, so it commutes past the accumulated exponent). The first sum equals ∑ a n a ( h ) Ω a \sum_a n_a(h)\Omega_a ∑ a n a ( h ) Ω a and the second ∑ a < b L a b ( h ) [ Ω a , Ω b ] \sum_{a<b}L_{ab}(h)[\Omega_a,\Omega_b] ∑ a < b L ab ( h ) [ Ω a , Ω b ] . Hence X h X_h X h , and q T ( h , ⋅ ) q_T(h,\cdot) q T ( h , ⋅ ) , are functions of ( n ( h ) , L ( h ) ) (n(h),L(h)) ( n ( h ) , L ( h )) , which takes at most ( T + 1 ) K ( 2 T 2 + 1 ) K ( K − 1 ) / 2 (T+1)^K(2T^2+1)^{K(K-1)/2} ( T + 1 ) K ( 2 T 2 + 1 ) K ( K − 1 ) /2 values.
Bounded deficit for compact groups. For orthogonal X X X , ∥ X ∥ 1 = 1 \|X\|_1=1 ∥ X ∥ 1 = 1 and ∣ q T ∣ ≤ ∥ W ∥ |q_T|\leq\|W\| ∣ q T ∣ ≤ ∥ W ∥ , so the constant f = 0 f=0 f = 0 already has error at most ∥ W ∥ \|W\| ∥ W ∥ for every T T T .
Proof of Proposition 10
Proof. (i) is Corollary 1. (ii) For any d d d -dimensional model, g ( u v ) = 1 d Tr ( W d Q u Q v ) = 1 d ∑ i , j ( W d Q u ) j i ( Q v ) i j g(uv)=\frac{1}{d}\operatorname{Tr}(W_dQ_uQ_v)=\frac{1}{d}\sum_{i,j}(W_dQ_u)_{ji}(Q_v)_{ij} g ( uv ) = d 1 Tr ( W d Q u Q v ) = d 1 ∑ i , j ( W d Q u ) j i ( Q v ) ij is an inner product between a vector in C d 2 \mathbb{C}^{d^2} C d 2 depending only on u u u and one depending only on v v v , so every Hankel block has rank at most d 2 d^2 d 2 ; with d = N d=N d = N , W d = W W_d=W W d = W , Q a = A a Q_a=A_a Q a = A a this also shows rank H f ≤ N 2 \operatorname{rank}H_f\leq N^2 rank H f ≤ N 2 . Exactness forces H g = H f H_g=H_f H g = H f . (iii) On the block B = H f [ U , V ] B=H_f[\mathcal{U},\mathcal{V}] B = H f [ U , V ] the model’s block G G G has rank at most d 2 d^2 d 2 , so ∥ B − G ∥ F ≥ ( ∑ j > d 2 σ j ( B ) 2 ) 1 / 2 \|B-G\|_F\geq\left(\sum_{j>d^2}\sigma_j(B)^2\right)^{1/2} ∥ B − G ∥ F ≥ ( ∑ j > d 2 σ j ( B ) 2 ) 1/2 by the Eckart–Young theorem, and the largest entry of B − G B-G B − G is at least ∥ B − G ∥ F / ∣ U ∣ ∣ V ∣ \|B-G\|_F/\sqrt{|\mathcal{U}||\mathcal{V}|} ∥ B − G ∥ F / ∣ U ∣∣ V ∣ .
Additional Implementation Notes
Positivity holds without clipping. If x 1 , … , x K ⪰ 0 x_1,\ldots,x_K \succeq0 x 1 , … , x K ⪰ 0 , then e β x i ⪰ I e^{\beta x_i} \succeq I e β x i ⪰ I , so ∑ i e β x i ⪰ K I \sum_i e^{\beta x_i} \succeq KI ∑ i e β x i ⪰ K I , and since log \log log is operator monotone, LSE β ( x ) ≔ β − 1 log K I ⪰ 0 \operatorname{LSE}_{\beta}(x) \coloneqq\beta^{-1}\log K I \succeq0 LSE β ( x ) : = β − 1 log K I ⪰ 0 . With R ⪰ 0 R \succeq0 R ⪰ 0 and positive K a † K_a^{\dagger} K a † , the soft recursion therefore preserves positive semidefiniteness exactly. Numerically we evaluate LSE β ( x ) = c I + β − 1 log ∑ i e β ( x i − c I ) \operatorname{LSE}_{\beta}(x)=cI+\beta^{-1}\log\sum_i e^{\beta(x_i-cI)} LSE β ( x ) = c I + β − 1 log ∑ i e β ( x i − c I ) with c = max i λ max ( x i ) c=\max_i\lambda_{\max}(x_i) c = max i λ m a x ( x i ) , which avoids overflow.
Spectral clipping. For the soft recursion with function approximation one may clip eigenvalues to [ − M β , M β ] [-M_{\beta},M_{\beta}] [ − M β , M β ] ; by Theorem 2 the exact recursion never leaves this ball, so clipping is a numerical safeguard only.
Numerical evaluation of LSE β \operatorname{LSE}_{\beta} LSE β . ∑ i e β x i \sum_i e^{\beta x_i} ∑ i e β x i has condition number up to e 2 β M e^{2\beta M} e 2 β M ; for β M ≳ 10 \beta M \gtrsim10 β M ≳ 10 we evaluate LSE β \operatorname{LSE}_{\beta} LSE β in extended precision (E7, E17).
Extensions
This appendix extends the results of Sections 3 and 5 in three directions: approximate operator values, noisy or random latent dynamics, and reducible action representations. Experiment E17b (experiments/e17b_extension_checks.py in https://anonymous.4open.science/r/opq-RL-2027-0D23 ) checks each statement on finite instances.
Proposition 11 (Robust latent-aware improvement). Let π \pi π be latent-blind with γ κ < 1 \gamma\kappa<1 γ κ < 1 , and let Q ^ \hat{Q} Q ^ satisfy max s , a ∥ Q ^ ( s , a ) − Q π ( s , a ) ∥ ≤ ε \max_{s,a}\lVert\hat{Q}(s,a)-Q^{\pi}(s,a)\rVert\le\varepsilon max s , a ∥ Q ^ ( s , a ) − Q π ( s , a )∥ ≤ ε . Let π ^ ( s , ρ ) ∈ arg max a τ ( ρ Q ^ ( s , a ) ) \hat{\pi}(s,\rho)\in\arg\max_a\tau(\rho\hat{Q}(s,a)) π ^ ( s , ρ ) ∈ arg max a τ ( ρ Q ^ ( s , a )) . Then for all ( s , ρ ) (s,\rho) ( s , ρ ) ,
V π ^ ( s , ρ ) ≥ V π ( s , ρ ) − 2 ε ∥ ρ ∥ 1 1 − γ κ . V^{\hat{\pi}}(s,\rho)\ge V^{\pi}(s,\rho)-\frac{2\varepsilon\lVert\rho\rVert_1}{1-\gamma\kappa}. V π ^ ( s , ρ ) ≥ V π ( s , ρ ) − 1 − γ κ 2 ε ∥ ρ ∥ 1 .
Proof. By Hölder, ∣ τ ( ρ ( Q ^ − Q π ) ( s , a ) ) ∣ ≤ ε ∥ ρ ∥ 1 \lvert\tau(\rho(\hat{Q}-Q^{\pi})(s,a))\rvert\le\varepsilon\lVert\rho\rVert_1 ∣ τ ( ρ ( Q ^ − Q π ) ( s , a ))∣ ≤ ε ∥ ρ ∥ 1 . Hence q π ^ ( s , ρ , π ^ ( s , ρ ) ) ≥ τ ( ρ Q ^ ( s , π ^ ) ) − ε ∥ ρ ∥ 1 ≥ τ ( ρ Q ^ ( s , a ) ) − ε ∥ ρ ∥ 1 ≥ q π ( s , ρ , a ) − 2 ε ∥ ρ ∥ 1 q^{\hat{\pi}}(s,\rho,\hat{\pi}(s,\rho))\ge\tau(\rho\hat{Q}(s,\hat{\pi}))-\varepsilon\lVert\rho\rVert_1\ge\tau(\rho\hat{Q}(s,a))-\varepsilon\lVert\rho\rVert_1\ge q^{\pi}(s,\rho,a)-2\varepsilon\lVert\rho\rVert_1 q π ^ ( s , ρ , π ^ ( s , ρ )) ≥ τ ( ρ Q ^ ( s , π ^ )) − ε ∥ ρ ∥ 1 ≥ τ ( ρ Q ^ ( s , a )) − ε ∥ ρ ∥ 1 ≥ q π ( s , ρ , a ) − 2 ε ∥ ρ ∥ 1 for every a a a . Averaging over a ∼ π ( ⋅ ∣ s ) a\sim\pi(\cdot\mid s) a ∼ π ( ⋅ ∣ s ) gives q π ^ ( s , ρ , π ^ ( s , ρ ) ) ≥ V π ( s , ρ ) − 2 ε ∥ ρ ∥ 1 q^{\hat{\pi}}(s,\rho,\hat{\pi}(s,\rho))\ge V^{\pi}(s,\rho)-2\varepsilon\lVert\rho\rVert_1 q π ^ ( s , ρ , π ^ ( s , ρ )) ≥ V π ( s , ρ ) − 2 ε ∥ ρ ∥ 1 . Since q π ( s , ρ , a ) = E [ r 0 + γ V π ( s 1 , ρ 1 ) ] q^{\pi}(s,\rho,a)=\mathbb{E}[r_0+\gamma V^{\pi}(s_1,\rho_1)] q π ( s , ρ , a ) = E [ r 0 + γ V π ( s 1 , ρ 1 )] , unrolling n n n steps under π ^ \hat{\pi} π ^ gives V π ^ ( s 0 , ρ 0 ) ≤ E π ^ [ ∑ t < n γ t r t ] + 2 ε ∑ t < n γ t E ∥ ρ t ∥ 1 + γ n E V π ^ ( s n , ρ n ) V^{\hat{\pi}}(s_0,\rho_0)\le\mathbb{E}^{\hat{\pi}}\left[\sum_{t<n}\gamma^t r_t\right]+2\varepsilon\sum_{t<n}\gamma^t\mathbb{E}\lVert\rho_t\rVert_1+\gamma^n\mathbb{E}V^{\hat{\pi}}(s_n,\rho_n) V π ^ ( s 0 , ρ 0 ) ≤ E π ^ [ ∑ t < n γ t r t ] + 2 ε ∑ t < n γ t E ∥ ρ t ∥ 1 + γ n E V π ^ ( s n , ρ n ) . With ∥ ρ t ∥ 1 ≤ κ t ∥ ρ 0 ∥ 1 \lVert\rho_t\rVert_1\le\kappa^t\lVert\rho_0\rVert_1 ∥ ρ t ∥ 1 ≤ κ t ∥ ρ 0 ∥ 1 and ∣ V π ( s , ρ ) ∣ ≤ ∥ Q π ∥ ∞ , o p ∥ ρ ∥ 1 \lvert V^{\pi}(s,\rho)\rvert\le\lVert Q^{\pi}\rVert_{\infty,\mathrm{op}}\lVert\rho\rVert_1 ∣ V π ( s , ρ )∣ ≤ ∥ Q π ∥ ∞ , op ∥ ρ ∥ 1 , letting n → ∞ n\to\infty n → ∞ proves the claim.
Combined with Theorem 1, this turns an operator TD estimate with error ε \varepsilon ε into a latent-aware controller whose loss relative to π + \pi^+ π + of Proposition 2 is O ( ε ) O(\varepsilon) O ( ε ) .
Proposition 12 (Noisy and random latent dynamics). Suppose that at each step, given the action a a a , the latent is updated by a linear map K a ω K_a^{\omega} K a ω , where ω ∼ ν a \omega\sim\nu_a ω ∼ ν a is drawn independently of the past and of s ′ s' s ′ , and sup ω ∥ ( K a ω ) † ∥ ≤ κ \sup_{\omega}\lVert(K_a^{\omega})^{\dagger}\rVert\le\kappa sup ω ∥( K a ω ) † ∥ ≤ κ . Let K ˉ a = E ω K a ω \bar{K}_a=\mathbb{E}_{\omega}K_a^{\omega} K ˉ a = E ω K a ω . (i) Proposition 1 and Corollary 1 hold with K a † K_a^{\dagger} K a † replaced by K ˉ a † \bar{K}_a^{\dagger} K ˉ a † . (ii) If every K a ω K_a^{\omega} K a ω is positive—for example, a completely positive trace-preserving quantum channel with decoherence or amplitude damping—then Theorem 2 holds with K ˉ a † \bar{K}_a^{\dagger} K ˉ a † , for every policy, including policies that observe the realised latent. In the infinite-horizon truncation bound, τ ( ρ ) \tau(\rho) τ ( ρ ) is replaced by sup t E τ ( ρ t ) \sup_t\mathbb{E}\,\tau(\rho_t) sup t E τ ( ρ t ) , which equals τ ( ρ ) \tau(\rho) τ ( ρ ) for trace-preserving maps.
Proof. (i) In the backward induction of Proposition 1, the one-step identity becomes q t π ( s , ρ , a ) = E ω [ τ ( K a ω ( ρ ) ( R ( s , a ) + γ Y ) ) ] q_t^\pi(s,\rho,a)=\mathbb{E}_{\omega}\left[\tau\left(\mathcal{K}^{\omega}_a(\rho)\left(R(s,a)+\gamma Y\right)\right)\right] q t π ( s , ρ , a ) = E ω [ τ ( K a ω ( ρ ) ( R ( s , a ) + γ Y ) ) ] with Y Y Y as before, using the independence of ω \omega ω and s ′ s' s ′ . By linearity this is τ ( K ˉ a ( ρ ) ( R + γ Y ) ) = τ ( ρ K ˉ a † ( R + γ Y ) ) \tau\left(\bar{\mathcal{K}}_a(\rho)(R+\gamma Y)\right)=\tau\left(\rho\bar{\mathcal{K}}^\dagger_a(R+\gamma Y)\right) τ ( K ˉ a ( ρ ) ( R + γ Y ) ) = τ ( ρ K ˉ a † ( R + γ Y ) ) . The infinite-horizon argument is unchanged, since ∥ K ˉ a † ∥ ≤ κ \lVert\bar{\mathcal{K}}^\dagger_a\rVert\le\kappa ∥ K ˉ a † ∥ ≤ κ . (ii) Apply the induction of Theorem 2 conditionally on ω \omega ω , with ρ ′ = K a ω ( ρ ) ⪰ 0 \rho'=\mathcal{K}^{\omega}_a(\rho)\succeq0 ρ ′ = K a ω ( ρ ) ⪰ 0 . The two inequalities hold for each ω \omega ω , and taking E ω \mathbb{E}_{\omega} E ω of the final expression gives τ ( ρ K ˉ a † ( R + γ ∑ s ′ P V t + 1 β ) ) \tau\left(\rho\bar{\mathcal{K}}^\dagger_a\left(R+\gamma\sum_{s'}P V^\beta_{t+1}\right)\right) τ ( ρ K ˉ a † ( R + γ ∑ s ′ P V t + 1 β ) ) . Positive maps preserve self-adjointness, so Q t β Q^\beta_t Q t β remains self-adjoint.
Proposition 13 (Structure-refined operator dimension). Let the A a A_a A a be unitary and let A \mathcal{A} A be the unital algebra they generate. A \mathcal{A} A is a finite-dimensional C*-algebra, so A ≅ ⨁ k = 1 r M n k \mathcal{A}\cong\bigoplus_{k=1}^{r}\mathcal{M}_{n_k} A ≅ ⨁ k = 1 r M n k , acting on C N \mathbb{C}^{N} C N with multiplicities m k m_k m k (∑ k m k n k = N \sum_k m_kn_k=N ∑ k m k n k = N ). For Lebesgue-almost every W W W , rank H f = dim A = ∑ k n k 2 \operatorname{rank}H_f=\dim\mathcal{A}=\sum_k n_k^2 rank H f = dim A = ∑ k n k 2 , and the minimal exact complex operator dimension satisfies
( ∑ k n k 2 ) 1 / 2 ≤ d min ≤ ∑ k n k . \left(\sum_k n_k^2\right)^{1/2}\le d_{\min}\le\sum_k n_k. ( k ∑ n k 2 ) 1/2 ≤ d m i n ≤ k ∑ n k . In particular d min = N d_{\min}=N d m i n = N when the action representation is irreducible (A = M N \mathcal{A}=\mathcal{M}_N A = M N , the generic case), and d min < N d_{\min}<N d m i n < N whenever an irreducible component occurs with multiplicity m k > 1 m_k>1 m k > 1 .
Proof. The span of all words A w A_w A w , including the empty word, is closed under multiplication and contains I I I , so it equals A \mathcal{A} A . By Cayley–Hamilton each A a − 1 = A a ∗ A_a^{-1}=A_a^* A a − 1 = A a ∗ is a polynomial in A a A_a A a , so A \mathcal{A} A is -closed, hence a C -algebra, and the structure theorem applies. Since words span A \mathcal{A} A on both sides, rank H f \operatorname{rank}H_f rank H f equals the rank of the bilinear form B W ( X , Y ) = Tr ( W X Y ) B_W(X,Y)=\operatorname{Tr}(WXY) B W ( X , Y ) = Tr ( W X Y ) on A × A \mathcal{A}\times\mathcal{A} A × A . At W = I W=I W = I this form is non-degenerate: if Tr ( X Y ) = 0 \operatorname{Tr}(XY)=0 Tr ( X Y ) = 0 for all Y ∈ A Y\in\mathcal{A} Y ∈ A , take Y = X ∗ Y=X^* Y = X ∗ to get X = 0 X=0 X = 0 . Its Gram determinant in a basis of A \mathcal{A} A is a polynomial in W W W that does not vanish at I I I , so it is non-zero for almost every W W W , and then rank H f = dim A \operatorname{rank}H_f=\dim\mathcal{A} rank H f = dim A . The lower bound follows from Proposition 10(ii). For the upper bound, choose a unitary V V V with V ∗ A w V = ⨁ k ( I m k ⊗ B w ( k ) ) V^*A_wV=\bigoplus_k(I_{m_k}\otimes B_w^{(k)}) V ∗ A w V = ⨁ k ( I m k ⊗ B w ( k ) ) . Then Tr ( W A w ) = ∑ k Tr ( W ~ k B w ( k ) ) \operatorname{Tr}(WA_w)=\sum_k\operatorname{Tr}(\widetilde{W}_kB_w^{(k)}) Tr ( W A w ) = ∑ k Tr ( W k B w ( k ) ) , where W ~ k \widetilde{W}_k W k is the partial trace over the multiplicity factor of the k k k -th diagonal block of V ∗ W V V^*WV V ∗ W V . The model Q a = ⨁ k B a ( k ) Q_a=\bigoplus_k B_a^{(k)} Q a = ⨁ k B a ( k ) with readout proportional to ⨁ k W ~ k \bigoplus_k\widetilde{W}_k ⨁ k W k has dimension ∑ k n k \sum_k n_k ∑ k n k and reproduces f f f exactly. Real orthogonal actions are covered by complexification.
E17b checks these statements on finite instances.
Proposition 12, with random choices between two amplitude-damping channels: the exact representation holds to 3.9 × 10 − 16 3.9\times10^{-16} 3.9 × 1 0 − 16 , and the certificate has 0/20 violations at β ∈ { 2 , 10 } \beta\in\{2,10\} β ∈ { 2 , 10 } .
Proposition 11, with ε = 0.05 \varepsilon=0.05 ε = 0.05 : the bound holds with margin 1.12.
Proposition 13, for a reducible N = 4 N=4 N = 4 representation with blocks n = ( 2 , 1 ) n=(2,1) n = ( 2 , 1 ) and multiplicities m = ( 1 , 2 ) m=(1,2) m = ( 1 , 2 ) : the Hankel rank is 5 ˉ = dim A \bar{5}=\dim\mathcal{A} 5 ˉ = dim A , and an explicit d = 3 d=3 d = 3 model reproduces all 243 words of length 5 to 1.8 × 10 − 15 1.8\times10^{-15} 1.8 × 1 0 − 15 , whereas a generic N = 3 N=3 N = 3 representation has Hankel rank 9.
Summary of All Experiments
Table 3 maps each theoretical claim to the experiment that tests it; Table 4 summarises the experiments.
Table 3. Theory–experiment map.
Additional Results
Finite-instance checks of the theory (E17, E7, E9, E12)
E17 uses a random OLDP with ∣ S ∣ = 2 |S|=2 ∣ S ∣ = 2 , K = N = 3 K=N=3 K = N = 3 , H = 4 H=4 H = 4 (Appendix O). Proposition 1 : the readout matches the exact expected return to 6.7 × 10 − 16 6.7 \times10^{-16} 6.7 × 1 0 − 16 (CP) and 3.6 × 10 − 16 3.6 \times10^{-16} 3.6 × 1 0 − 16 (MP). Theorem 1 : operator TD reduces max s , a ∥ Q k − Q π ∥ \max_{s,a}\lVert Q_k-Q^\pi\rVert max s , a ∥ Q k − Q π ∥ from 1.69 to 0.14 over 4 × 10 5 4 \times10^5 4 × 1 0 5 steps. Theorem 2 : for β ∈ { 1 , 5 , 20 , 50 } \beta\in\{1,5,20,50\} β ∈ { 1 , 5 , 20 , 50 } there are 0/30 violations, and λ min ( Q β − Q π ) > 1.7 \lambda_{\min}(Q^\beta-Q^\pi)>1.7 λ m i n ( Q β − Q π ) > 1.7 . The mean slack (1.2–1.9, against a mean ∣ q ∗ ∣ |q^*| ∣ q ∗ ∣ of 3.45) does not vanish as β \beta β grows, which isolates its non-commutative part. In the commuting sector the slack at pure eigenstates is 4.8 × 10 − 12 4.8 \times10^{-12} 4.8 × 1 0 − 12 at β = 200 \beta=200 β = 200 . Proposition 8 : a swapped prefix gives r ( a , b , c ) = − 1.143 r(a,b,c)=-1.143 r ( a , b , c ) = − 1.143 and r ( b , a , c ) = − 0.807 r(b,a,c)=-0.807 r ( b , a , c ) = − 0.807 , so any order-blind scalar errs by at least 0.168. Proposition 10 : the Hankel rank is 9 = N 2 9=N^2 9 = N 2 . E7: over 20,000 commuting configurations the largest operator-norm ratio is 1.000000 (Prop. 6a); the construction of Prop. 6(c) at K = N = 25 K=N=25 K = N = 25 , β = 5 \beta=5 β = 5 gives 4.304, exceeding 1 + β diam / 4 = 2.25 1+\beta\,\operatorname{diam}/4=2.25 1 + β diam /4 = 2.25 , with ℓ 2 \ell_2 ℓ 2 -aggregated ratio 0.861; in 80-digit arithmetic, non-commuting ratios reach 0.970, 1.171 and 1.477 at β = 1 , 5 , 10 \beta=1,5,10 β = 1 , 5 , 10 . E9: with commuting actions, the operator recursion and the sample updates coincide with N N N decoupled soft Q Q Q -learners to 1.6 × 10 − 14 1.6 \times10^{-14} 1.6 × 1 0 − 14 (Prop. 3). E12: monotonicity holds in all 2000 commuting trials but fails in 72/2000 generic ones, and continues to fail at perturbation scale 10 − 4 10^{-4} 1 0 − 4 (Prop. 7). The proof of the certificate does not require monotonicity.
Representation
Each benchmark fits the ordered-product readout of Proposition 10 to exact returns (3000 training and 1000 test words) by supervised regression, not by TD: it tests the representational capacity of the operator class, while E18–E23 test learning and control. The benchmarks are random orthogonal (N = 5 N=5 N = 5 , E8/E13), s o ( 3 ) \mathfrak{so}(3) so ( 3 ) (N = 3 N=3 N = 3 , E14), an s e ( 3 ) \mathfrak{se}(3) se ( 3 ) hinge chain (N = 4 N=4 N = 4 , E16) and truncated bosonic displacements (real dimension 12, E15). OpQ(d d d ) becomes exact at the predicted dimension and not below it: test MSE is ≤ 3 × 10 − 30 \le3 \times10^{-30} ≤ 3 × 1 0 − 30 in the first three benchmarks and 9.7 × 10 − 15 9.7 \times10^{-15} 9.7 × 1 0 − 15 for displacements, with 63–1008 parameters, against 4 6 4^6 4 6 –6 8 6^8 6 8 history-table entries. The best other models are recurrent (GRU or LSTM), with test MSE 0.003–0.09 (return variances 0.09–1.28). Attention, the 1D-CNN and the windowed table stay close to the order-blind baseline (Table 7 , Figure 4 ). E10 compares s o ( 3 ) \mathfrak{so}(3) so ( 3 ) with the Heisenberg algebra n 3 \mathfrak{n}_3 n 3 at matched generator norm. The per-depth commutator term is constant (0.221) for s o ( 3 ) \mathfrak{so}(3) so ( 3 ) and exactly zero beyond depth one for n 3 \mathfrak{n}_3 n 3 , the nilpotency step that makes exact history statistics polynomial (Proposition 9). The permutation-averaged deficit stays bounded for both algebras (Figure 5 ), as ∣ r ∣ ≤ ∥ W ∥ |r| \le\lVert W\rVert ∣ r ∣ ≤ ∥ W ∥ requires.
Table 7. Representation benchmark (E8, E13–E16): held-out test MSE. OpQ(d d d ) is exact at d = N d=N d = N (real form 2 N F = 12 2N_F=12 2 N F = 12 for displacements, to 10 − 14 10^{-14} 1 0 − 14 ), as Proposition 10 predicts.
Figure 4. E8, E13–E16. Test MSE against the number of parameters. OpQ ( d ) \operatorname{OpQ}(d) OpQ ( d ) (red, labelled by d d d ) against sequence-model and table baselines.
Figure 5. E10. (a) The nested-commutator depth profile has a constant per-depth contribution for s o ( 3 ) \mathfrak{so}(3) so ( 3 ) and is exactly zero beyond depth one for n 3 \mathfrak{n}_3 n 3 . (b) The permutation-averaged deficit, normalised by the spread of returns, is bounded for both algebras, as ∣ r ∣ ≤ ∥ W ∥ \lvert r\rvert\le\lVert W\rVert ∣ r ∣ ≤ ∥ W ∥ requires. Nilpotency controls the size of an exact history statistic (Prop. 9), not whether order matters.
E18: full control results
Table 5. E18: normalised return after 100 and 3000 training episodes (mean; ± \pm ± one standard deviation over 5 seeds at 3000).
Representation benchmark: full results
Table 8. E19, zero-shot transfer. Agents train for 3000 episodes at one fixed initial latent and are evaluated, without retraining, at that latent and on 8 held-out latents (normalised return, mean ± \pm ± s.d. over 5 seeds). Bold marks the best held-out score among the first four agents of the 2 × 2 2 \times2 2 × 2 comparison.
Table 9. E19, planners that know what OpQ knows. Each planner knows K a K_a K a and uses R ^ \hat{R} R ^ (least squares) and P ^ \hat{P} P ^ (counts) learned from uniformly random episodes at the fixed training latent; held-out latents are not used for learning. Exhaustive search is evaluated exactly, MCTS by Monte Carlo over mode paths. Means over 5 seeds. Horizons are H = 6 H = 6 H = 6 (C1) and H = 8 H = 8 H = 8 (C2, C3).
E19: Model-Matched Baselines and Planners
This appendix gives the full results and protocol of E19 (§ 6 ): the 2 × 2 2 \times2 2 × 2 comparison in both regimes with every control, zero-shot transfer, planners with the same knowledge as OpQ, longer horizons, and cost.
Further tables
All controls
Table 13 and Table 14 report every agent of the 2 × 2 2 \times2 2 × 2 study, including the soft and max backups of Linear-Q, the four-update variants of DQN and DQN + K a K_a K a data, the variant with the true R R R , and the variant restricted to reachable latents, in the fixed and random regimes.
Table 13. E19, all agents, fixed initial latent. Normalised return after 100 and 3000 episodes; mean ± s.d. over 5 seeds. Bold marks the best of the first four rows.
Table 10. E19, longer horizons, training latent. Score = ( V − V r a n d ) / ( V r e f − V r a n d ) = (V - V_{\mathrm{rand}})/(V_{\mathrm{ref}} - V_{\mathrm{rand}}) = ( V − V rand ) / ( V ref − V rand ) , with V r e f = V ∗ V_{\mathrm{ref}} = V^* V ref = V ∗ where the dynamic program fits in memory (C1 up to H = 10 H = 10 H = 10 , C2 at H = 8 H = 8 H = 8 ) or where V ∗ = 1 V^* = 1 V ∗ = 1 by construction (C3), and otherwise the best value found by any method, which lower-bounds V ∗ V^* V ∗ . OpQ-soft, Linear-Q, DQN and DQN + K a + K_a + K a train for 3000 episodes at the fixed latent (3 seeds). MCTS and exhaustive search use R ^ \hat{R} R ^ , P ^ \hat{P} P ^ from 400 random episodes. Policies are evaluated by Monte Carlo over 32 mode paths (12 for MCTS), so they differ from the exact evaluation of the base-horizon tables by a few hundredths. Bold marks the best score excluding exhaustive search, which attains 1 where it can run.
Protocol
The environments, regimes, seeds, evaluation and normalisation are those of the E18 protocol (Appendix § 26 ). New code: opq/planners.py, opq/agents_ext.py, the class DQNAug in opq/deep_agents.py, experiments/e19_planners.py, experiments/e19_horizon.py and run_e19.py, which runs every job in a separate process and can resume.
DQN + K a + K_a + K a data. The network, optimiser and replay buffer are those of DQN in E18. Each minibatch is half real and half synthetic. For a synthetic transition we take ( t , m , a , m ′ , d o n e ) (t, m, a, m', \mathrm{done}) ( t , m , a , m ′ , done ) from a stored real transition, draw a pure latent ρ = N v v ∗ \rho= Nvv^* ρ = N v v ∗ with v v v uniform on the unit sphere (complex for C3), set ρ ′ = K a ( ρ ) \rho' = K_a(\rho) ρ ′ = K a ( ρ ) with the true operator, and take the reward τ ( R ^ ( m , a ) ρ ′ ) \tau(\hat{R}(m, a)\rho') τ ( R ^ ( m , a ) ρ ′ ) from the least-squares estimate (the true R R R in the known-R R R control). The mode transition is therefore resampled from the real data, and only the latent is synthetic. The on-support control instead draws ρ t \rho_t ρ t by applying t t t uniformly random actions to the initial latent (to a random pure state in the random regime).
Linear-Q. The value is Q ( t , m , a ; ρ ) = θ t , m , a ⊤ ϕ ( ρ ) Q(t, m, a; \rho) = \theta_{t,m,a}^{\top}\phi(\rho) Q ( t , m , a ; ρ ) = θ t , m , a ⊤ ϕ ( ρ ) , with ϕ \phi ϕ the coordinates of ρ \rho ρ in an orthonormal Hermitian basis divided by N N N . The update is θ ← θ + α δ ϕ / ( ϕ ⊤ ϕ + 10 − 8 ) \theta\leftarrow\theta+ \alpha\delta\phi/(\phi^{\top}\phi+ 10^{-8}) θ ← θ + α δ ϕ / ( ϕ ⊤ ϕ + 1 0 − 8 ) with α = max ( 0.02 , n − 0.6 ) \alpha= \max(0.02, n^{-0.6}) α = max ( 0.02 , n − 0.6 ) , where δ \delta δ is the temporal-difference error of the soft backup with β = 5 \beta= 5 β = 5 (or of the max backup), evaluated at the next latent that the agent observes.
Linear-Q + K a + K_a + K a data. The linear class is trained like DQN + K a + K_a + K a data. Each environment step makes the real normalised-LMS update of Linear-Q, followed by 32 synthetic soft-backup updates. A synthetic update takes the action and mode from a stored real transition, draws a fresh pure latent ρ \rho ρ , forms ρ ′ = K a ( ρ ) \rho' = K_a(\rho) ρ ′ = K a ( ρ ) , and uses the reward τ ( R ^ ρ ′ ) \tau(\hat{R}\rho^{\prime}) τ ( R ^ ρ ′ ) from the same least-squares reward model as OpQ. The next mode is resampled from the real data. Features, step size and β = 5 \beta= 5 β = 5 are those of Linear-Q.
Table 11. E19, longer horizons, zero-shot transfer: score on the first two held-out latents for agents trained at the fixed latent. Normalisation as in Table 10.
Table 12. E19, cost and certificate by horizon. V r e f V_{\mathrm{ref}} V ref is the reference value at the training latent († \dagger † : best value found, a lower bound on V ∗ V^* V ∗ ). cert. is the operator log-sum-exp certificate (β = 5 \beta= 5 β = 5 ) of Theorem 2, an upper bound on V ∗ V^* V ∗ . Nodes is the number of node expansions of exhaustive search at t = 0 t = 0 t = 0 . Remaining columns give wall-clock time per decision in ms at t = 0 t = 0 t = 0 .
Planners. The model has the true K a K_a K a , R ^ \hat{R} R ^ by least squares and P ^ \hat{P} P ^ by counts from uniformly random episodes at the fixed training latent (the horizon study uses 400 episodes). Exhaustive search is a vectorised dynamic program over all K H − t K^{H-t} K H − t histories; with the true model it equals V ∗ V^* V ∗ . UCT uses exploration constant 1, uniformly random rollouts, returns normalised by their running minimum and maximum, and chance nodes over the pair (action, next mode). Policies of the exhaustive planner are evaluated exactly. Policies that include search are evaluated by Monte Carlo over sampled mode paths with common random numbers across methods (32 paths, 12 for UCT). Decision time is wall-clock time of the first decision with an empty cache, on one CPU core.
Longer horizons. We use H ∈ { 6 , 8 , 10 , 12 } H \in\{6, 8, 10, 12\} H ∈ { 6 , 8 , 10 , 12 } on C1, { 8 , 10 , 12 , 16 , 20 } \{8, 10, 12, 16, 20\} { 8 , 10 , 12 , 16 , 20 } on C2 and { 8 , 10 , 12 } \{8, 10, 12\} { 8 , 10 , 12 } on C3, with 3 seeds. On C3 the target is a word of length H H H , so V ∗ = 1 V^* = 1 V ∗ = 1 . Otherwise V r e f = V ∗ V_{\mathrm{ref}} = V^* V ref = V ∗ when the dynamic program fits in 4 × 10 8 4 \times10^8 4 × 1 0 8 bytes, and the best value found by any method when it does not; the latter lower-bounds V ∗ V^* V ∗ , so scores at those horizons can be slightly optimistic and can exceed 1 through sampling alone. The operator log-sum-exp certificate is computed at β ∈ { 2 , 5 } \beta\in\{2, 5\} β ∈ { 2 , 5 } and reported at β = 5 \beta= 5 β = 5 . As a conditioning diagnostic for ∑ i e β x i \sum_i e^{\beta x_i} ∑ i e β x i we record the product of β \beta β and the spectral spread of the operators; it stays below 25 in all runs, the threshold under which we treat double precision as reliable.
Linear class with operator data. With random latents, Linear-Q + K a K_a K a data scores 0.96/0.91/0.41 after 100 episodes and 0.97/0.97/0.69 after 3000 on C1/C2/C3 (OpQ-soft: 0.95/0.95/0.58 and 0.95/0.99/0.68). With a fixed latent it scores 0.88/0.93/0.17 and 0.86/0.91/0.73 (OpQ-soft: 0.77/0.94/0.38 and 0.84/0.98/0.83). At held-out latents it scores 0.97/0.97/0.71 (OpQ-soft 0.95/0.99/0.68; DQN + K a K_a K a data 0.99/0.98/0.84). Operator-generated data therefore closes most of the early gap between the linear class and OpQ on C1 and C2, and not on C3.
Figure 6. E19, learning curves with random initial latents: normalised return against training episodes (mean ± \pm ± s.d. over 5 seeds); and value against horizon, as the position between the random policy and the certificate (β = 5 \beta= 5 β = 5 ) at the training latents.
E20: Tightening the Single-Operator Certificate
E20 uses the exact model of each environment of E18 (opq/envs.py, seed 0, base horizons) and the same 8 held-out initial latents. No learning is involved, so every number is the exact value of a greedy policy, normalised as in E18. Code: experiments/e20_tightening.py; one CPU core, about six minutes in total.
Protocol. (a) The aggregators replace LSE β \operatorname{LSE}_{\beta} LSE β in the exact finite-horizon recursion (4) ; the SDP minimises τ ( Y ) \tau(Y) τ ( Y ) subject to Y ⪰ Q ( s ′ , a ′ ) Y \succeq Q(s',a') Y ⪰ Q ( s ′ , a ′ ) for all a ′ a' a ′ . (b) For each t t t we draw M M M latents by applying t t t uniformly random actions to the training latent (or to one of 64 random pure latents), back up one operator per point and mode by the operator analogue of a point-based Bellman backup, and act greedily on the one-step lookahead τ ( R ρ ′ ) + γ ∑ m ′ P max Γ τ ( ρ ′ Γ ) \tau(R\rho') + \gamma\sum_{m'} P\max_{\Gamma}\tau(\rho'\Gamma) τ ( R ρ ′ ) + γ ∑ m ′ P max Γ τ ( ρ ′ Γ ) . For finite horizons each backed-up operator is the value of a conditional plan, so the family is a lower bound that becomes exact once it contains the maximising plan at every reachable node. (c) q t ∗ q^*_t q t ∗ is computed by exhaustive search from every node reached by the greedy policy; the spread is weighted by the probability of reaching the node. (d) Exact evaluation (the environment is deterministic).
Table 15. E20(a): greedy control and certificate for three Löwner upper-bound aggregators, at the training latent / averaged over the 8 held-out latents. The first row reproduces Table 6. The SDP is solved with SCS (tolerance 10 − 9 10^{-9} 1 0 − 9 ); its largest constraint violation is below 4 × 10 − 9 4 \times10^{-9} 4 × 1 0 − 9 and is removed by a shift of the identity, so the certificate remains valid.
Scope of the Guarantees and of the Multi-Operator Extension
What is proved, and under which conditions
Table 19 separates the theoretical statements of the paper. In particular, the name “operator Q-learning” should be read with these qualifications: the sampled control update converges for a finite horizon (Theorem 3), but to the certificate Q β Q^\beta Q β rather than to Q ∗ Q^* Q ∗ , and no convergence is proved for an infinite horizon outside the contraction region.
Table 19. Theoretical statements, what each establishes, and its conditions.
One operator or several
When one operator suffices. On the commuting sector the soft recursion is soft Q Q Q -learning and its slack vanishes at pure eigenstates as $\beta \to \infty (Prop. 3). More generally, Proposition 4 shows that one operator gives near-optimal greedy control when its slack varies little across actions. This is the case on SO(3) pointing, where the mean spread is 2% of V ∗ V^* V ∗ and the single operator scores 0.99, better than point-based sets up to M = 64 M = 64 M = 64 (Table 16 ).
Table 16. E20(b): greedy score with M M M operators per ( t , m ) (t,m) ( t , m ) , obtained by point-based backups at M M M latents reachable from the training latent (training rows) or from 64 random pure latents (held-out rows); mean over 5 draws of the points. For comparison, one LSEβ _\beta β operator scores 0.86/0.95, 0.99/0.99 and 0.79/0.68 on C1, C2 and C3.
When several are needed. For a finite horizon, q t ∗ ( s , ⋅ , a ) q_t^*(s,\cdot,a) q t ∗ ( s , ⋅ , a ) is the maximum over conditional plans of functions linear in ρ \rho ρ , and one operator cannot represent a maximum whose maximiser changes with the latent. This is the situation on the random OLDP and on two-qubit preparation, where the slack spread is 8–15% of V ∗ V^\ast V ∗ and the single operator scores 0.86 and 0.79.
Table 17. E20(c): slack of the LSEβ _\beta β certificate (β = 5 \beta= 5 β = 5 ) on the nodes reached by its greedy policy. The bound of Proposition 4 holds in every case; the minimum slack is zero up to rounding, as Theorem 2 requires.
Table 18. E20(d): two-qubit preparation with the target a word of length H H H (the E19 protocol), true model. Expected terminal fidelity at ∣ 00 ⟩ |00\rangle ∣00 ⟩ / averaged over 4 held-out initial states. A depth-d d d search enumerates all K d K^d K d continuations and, at its frontier, uses either zero or the certificate max a τ ( Q t β ( s , a ) ) \max_a \tau(Q^\beta_t(s,a)) max a τ ( Q t β ( s , a )) (β = 5 \beta= 5 β = 5 ).
Relation to point-based methods. The M M M -operator family is point-based value iteration Pineau et al., [31 ] written with operators, and we do not claim it as new. What the operator setting changes is the upper side. Point-based POMDP solvers that bracket V ∗ V^\ast V ∗ , such as HSVI Smith and Simmons, [37 ] , initialise the upper bound from the fast-informed bound, a lattice join; no such join exists here (Remark 2), and Theorem 2 (or any aggregator of Corollary 2) supplies it instead.
Lower bound, and how to choose M M M . In the point-based backup of Appendix § 20 , every stored operator has the form Γ = K a t ( R ( m , a ) + γ ∑ m ′ P ( m ′ ∣ m , a ) Γ m ′ ) \Gamma= K_a^t\left(R(m,a) + \gamma\sum_{m'} P(m' \mid m,a)\Gamma_{m'}\right) Γ = K a t ( R ( m , a ) + γ ∑ m ′ P ( m ′ ∣ m , a ) Γ m ′ ) with each Γ m ′ \Gamma_{m'} Γ m ′ stored at the next step. By induction from Γ H = 0 \Gamma_H = 0 Γ H = 0 and Proposition 1, Γ \Gamma Γ is the value operator of the conditional plan “take a a a , then follow the plan of Γ m ′ \Gamma_{m'} Γ m ′ in the observed mode m ′ m' m ′ ”. Such a plan is a valid policy, so τ ( ρ Γ ) ≤ V t ∗ ( m , ρ ) \tau(\rho\Gamma) \le V^\ast_t(m,\rho) τ ( ρ Γ ) ≤ V t ∗ ( m , ρ ) for every ρ \rho ρ and every stored Γ \Gamma Γ , and the family gives a lower bound L M ( ρ ) = max Γ τ ( ρ Γ ) L_M(\rho) = \max_\Gamma\tau(\rho\Gamma) L M ( ρ ) = max Γ τ ( ρ Γ ) . With the certificate this gives a model-based sandwich
L M ( ρ ) ≤ V 0 ∗ ( ρ ) ≤ max a τ ( Q 0 β ( s 0 , a ) ) , L_M(\rho) \le V^\ast_0(\rho) \le\max_a \tau\left(Q^\beta_0(s_0,a)\right), L M ( ρ ) ≤ V 0 ∗ ( ρ ) ≤ a max τ ( Q 0 β ( s 0 , a ) ) ,
computable without V ∗ V^\ast V ∗ . We choose M M M by doubling it until L M L_M L M at the latents of interest stops increasing (Table 21). The upper side is loose (Table 15), so the sandwich certifies progress in M M M rather than closeness to V ∗ V^\ast V ∗ .
Cost. The construction backs up M M M points per ( t , m ) (t,m) ( t , m ) ; each backup reads out M M m o d e s M M_{\mathrm{modes}} M M modes stored operators per next mode and applies one dual map, for O ( H M m o d e s M K ( M m o d e s M N 2 + N 3 ) ) O(HM_{\mathrm{modes}}M K(M_{\mathrm{modes}}MN^2 + N^3)) O ( H M modes M K ( M modes M N 2 + N 3 )) time, quadratic in M M M , and H M m o d e s M N 2 H M_{\mathrm{modes}}MN^2 H M modes M N 2 stored numbers. A decision reads out O ( K M m o d e s M ) O(KM_{\mathrm{modes}}M) O ( K M modes M ) operators instead of K K K . Table 22 gives measured times.
Table 22. E21(b): cost of M M M operators per ( t , m ) (t,m) ( t , m ) on one CPU core: construction time, time of the first decision, and stored numbers. M = 1 M = 1 M = 1 is the cost of a point-based single operator; the LSE operator of OpQ has the same size.
E21: Miscalibrated Operators, and the Cost of M Operators
Protocol. The agent’s model replaces each action unitary by U ~ a = U a exp ( ε A a ) \widetilde{U}_a = U_a\exp(\varepsilon A_a) U a = U a exp ( ε A a ) , with A a A_a A a a random anti-Hermitian (real antisymmetric on C1, C2) matrix of unit Frobenius norm, 5 draws per ε \varepsilon ε ; P P P and R R R are exact. OpQ is the greedy readout of the exact soft recursion (4) on the model (β = 5 \beta= 5 β = 5 ), and the planner is exhaustive search on the model. Both are evaluated exactly on the true environment. In the observed case the agent sees the true latent; in the tracked case it reconstructs the latent from ρ 0 \rho_0 ρ 0 and its own actions with U ~ a \widetilde{U}_a U a , as an agent without access to the latent would. Code: experiments/e21_calibration.py.
Results. On SO(3) pointing OpQ is as robust as planning on the same model: with a tracked latent both keep ≥ 0.95 \ge0.95 ≥ 0.95 up to ε = 0.1 \varepsilon= 0.1 ε = 0.1 and fall together at ε = 0.3 \varepsilon= 0.3 ε = 0.3 (0.73 and 0.74), where the tracking error dominates. On the random OLDP and on two-qubit preparation the single-operator greedy policy is markedly less robust than planning at the training latent (C3: 0.79 to 0.49 at ε = 0.03 \varepsilon= 0.03 ε = 0.03 , while planning stays at 1.00), although its held-out scores are stable up to ε = 0.1 \varepsilon= 0.1 ε = 0.1 . This is consistent with Proposition 4: where the certificate’s slack varies across actions, greedy decisions are close to ties, and small model errors flip them. Uncertain gate sets are therefore a limitation of the single-operator method on such tasks.
E22: Sensitivity of the Sampled Soft Update to β \beta β
Theorem 3 gives convergence for Robbins–Monro steps but says nothing about how the limit depends on β \beta β , or about the step-size floor used in practice. E22 measures this: OpQ-soft with learned R R R , β ∈ { 0.5 , 1 , 2 , 5 , 10 , 20 } \beta\in\{0.5, 1, 2, 5, 10, 20\} β ∈ { 0.5 , 1 , 2 , 5 , 10 , 20 } , C1–C3 in both regimes, 3 seeds, 3000 episodes, otherwise as in E18. For each run we record the score, the score of the exact-model readout at the same β \beta β , the largest operator norm reached, the relative change of the whole table Q Q Q between episodes 2500 and 3000 (drift), and the fraction of 600 probe nodes ( t , m , ρ ) (t,m,\rho) ( t , m , ρ ) , drawn by random rollouts from the evaluation latents, whose greedy action changes between those checkpoints (switching). Code: experiments/e22_beta_sweep.py.
Table 20. E21(a): normalised return on the true environment of policies built from a miscalibrated model, at the training latent / averaged over 4 held-out latents (mean over 5 draws of the perturbation).
Table 21. E21(c): the sandwich of Appendix J. L M L_M L M is the lower bound from M M M operators per state (mean over 5 draws of the points; held-out values averaged over 4 latents), the certificate is the LSEβ _\beta β upper bound (β = 5 \beta= 5 β = 5 ). L M ≤ V ∗ L_M \le V^* L M ≤ V ∗ in every case.
Results. No run diverged: all 108 runs stayed finite, the largest operator norm was 25.2 and the largest drift 0.010. The learned score is within 0.03 of the exact-model score at the same β \beta β in 30 of 36 settings. The exceptions are two-qubit preparation from a fixed latent, where reward arrives only at the last step and some seeds stay on a plateau of 0.28 for β ∈ { 2 , 10 , 20 } \beta\in\{2, 10, 20\} β ∈ { 2 , 10 , 20 } , and SO(3) pointing from a fixed latent at β = 2 \beta= 2 β = 2 . Switching is at most 6% of probe nodes in 34 of 36 settings (7% and 14% for SO(3) fixed at β = 1 \beta= 1 β = 1 and 2), so the failure of Löwner monotonicity does not produce persistent policy chattering here. The score also depends on β \beta β through the exact recursion itself (e.g. C1 fixed: 0.86 at β = 0.5 \beta= 0.5 β = 0.5 , 0.76 at β = 1 \beta= 1 β = 1 –2, 0.87 at β ≥ 10 \beta\ge10 β ≥ 10 ), so β \beta β is a modelling choice as well as a learning parameter; β = 5 \beta= 5 β = 5 is within 0.02 of the best exact score on C1 and C2.
Table 23. E22: learned score after 3000 episodes / exact-model score at the same β \beta β / late-training switching, mean over 3 seeds.
E23: Control with a Hidden Initial Latent
Setting. The initial latent is drawn from a prior around the nominal state of each environment, v = ( v n o m + σ g ) / ∥ v n o m + σ g ∥ v = (v_{\mathrm{nom}} + \sigma g)/\lVert v_{\mathrm{nom}} + \sigma g\rVert v = ( v nom + σ g ) / ∥ v nom + σ g ∥ , ρ 0 = N v v ∗ \rho_0 = N_vv^* ρ 0 = N v v ∗ , g ∼ N ( 0 , I ) g \sim\mathcal{N}(0,I) g ∼ N ( 0 , I ) (complex on C3), σ = 0.5 \sigma= 0.5 σ = 0.5 , and is never observed : agents see the time, the mode and the rewards. They know the operators and the prior mean ρ ˉ 0 \bar{\rho}_0 ρ ˉ 0 (a calibration constant, estimated once from 20,000 prior draws), and track the belief mean ρ ˉ t + 1 = K a t ( ρ ˉ t ) \bar{\rho}_{t+1} = \mathcal{K}_{a_t}(\bar{\rho}_t) ρ ˉ t + 1 = K a t ( ρ ˉ t ) from their own actions. Because rewards are linear in ρ t \rho_t ρ t , the expected return over the prior of any policy of ( t , m ) (t,m) ( t , m ) and the history of actions and modes equals its value at ρ ˉ 0 \bar{\rho}_0 ρ ˉ 0 (Proposition 1); the optimal such policy (the blind optimum ) is therefore computed exactly by dynamic programming at ρ ˉ 0 \bar{\rho}_0 ρ ˉ 0 , and every agent is evaluated exactly at ρ ˉ 0 \bar{\rho}_0 ρ ˉ 0 . A Monte Carlo check over 400 hidden draws confirms this (Table 25). This policy class does not condition on past rewards. On C1 and C2 per-step rewards depend on ρ 0 \rho_0 ρ 0 , so a policy that infers ρ 0 \rho_0 ρ 0 from them by Bayesian filtering could exceed the blind optimum; the latent-aware oracle bounds what such inference could gain. On C3 the reward arrives only at the last step, so no reward is available for inference before the final action, as in the one-copy quantum setting. Plug-in agents are trained with the latent observed, under the same prior, and deployed on the belief mean; for operator values plugging in the mean is exact, E T ( ρ Q ) = T ( ρ ˉ Q ) \mathbb{E}\,\mathcal{T}(\rho Q) = \mathcal{T}(\bar{\rho}Q) E T ( ρQ ) = T ( ρ ˉ Q ) , while for a nonlinear Q Q Q -network it is not. Score = ( V − V r a n d ) / ( V b l i n d ∗ − V r a n d ) = (V - V_{\mathrm{rand}})/(V^*_{\mathrm{blind}} - V_{\mathrm{rand}}) = ( V − V rand ) / ( V blind ∗ − V rand ) ; 3 seeds, 3000 episodes. Code: experiments/e23_hidden_latent.py.
Results. (i) With the reward observable known (natural when the target state or orientation is given), OpQ learns fastest on C2 and C3 and is level on C1: after 100 episodes it scores 0.84/0.97/0.53 on C1/C2/C3, against 0.85/0.64/−0.06 for the DQN on the belief mean, and reaches 0.98 on SO(3) pointing. On two-qubit preparation it stays at its single-operator ceiling (0.79), and the belief-mean DQN reaches 1.00. (ii) With matched knowledge (OpQ learning R R R from rewards and the belief mean), the belief-mean
caption: tbl:24 : E23: score after 100 / 3000 episodes (± s.d. over 3 seeds) with the initial latent hidden. “Knows” lists model knowledge beyond the sampled episodes; all agents know the prior mean.
:::
Table 25. E23 references. Belief purity is τ ( ρ ˉ 20 ) / N \tau(\bar{\rho}_{20})/N τ ( ρ ˉ 20 ) / N (1 for a pure state, 1 / N 1/N 1/ N for complete ignorance). The oracle score is that of the latent-aware optimum, which no agent without the latent can reach. The MC column compares the exact value at ρ ˉ 0 \bar{\rho}_0 ρ ˉ 0 of a belief-tracking policy with its mean over 400 hidden draws (± s.e.).
DQN learns faster early on C1 and C2 (0.85/0.64 vs. 0.30/0.07 at 100 episodes); at 3000 episodes OpQ is ahead on C2 (0.97 vs. 0.91), level on C1 (0.96 vs. 0.97), and far behind on C3 (0.46 vs. 1.00): estimating R R R from belief means is harder than from observed latents. (iii) Plug-in transfer is exact for OpQ and not for DQN. OpQ trained with the latent and deployed on the belief mean scores exactly what blind training gives (0.96/0.98/0.79); a DQN trained the same way scores 0.85/0.95/0.45, against 0.97/0.91/1.00 when trained on the belief mean. (iv) Decision cost. OpQ decides in about 0.01 ms; exhaustive search for the blind optimum takes 940 and 740 ms per decision on C2 and C3. (v) The oracle scores (1.5–3.3) show how much the hidden latent costs; no method that lacks it can recover this gap.
What E23 does and does not show. The exactness in (iii) is a direct consequence of Proposition 1, so it holds by construction; the experiment shows that this costs OpQ nothing and that it fails for a nonlinear value function. E23 assumes known operators and a known prior mean, the setting of Proposition 1; it does not test learning the operators or the prior.
E24: Convergence of the Sampled Soft Update
E24 checks Theorem 3 numerically. OpQ-soft (β = 5 \beta= 5 β = 5 ) is trained on C1–C3 with random initial latents for 30,000 episodes, 3 seeds, with two step-size rules: α n = n − 0.6 \alpha_n = n^{-0.6} α n = n − 0.6 , which satisfies the theorem, and α n = max ( 0.02 , n − 0.6 ) \alpha_n = \max(0.02,n^{-0.6}) α n = max ( 0.02 , n − 0.6 ) , the rule of E18–E23, which does not. Exploration is ε \varepsilon ε -greedy with ε ≥ 0.05 \varepsilon\ge0.05 ε ≥ 0.05 , as in E18. At each checkpoint we compare every visited entry with the exact recursion Q t β Q^\beta_t Q t β of Theorem 2, computed by backward induction on the true model, and report the largest error max t , m , a ∣ Q t ( m , a ) − Q t β ( m , a ) ∣ o p \max_{t,m,a}|Q_t(m,a)-Q^\beta_t(m,a)|_{\mathrm{op}} max t , m , a ∣ Q t ( m , a ) − Q t β ( m , a ) ∣ op divided by max t , m , a ∣ Q t β ( m , a ) ∣ o p \max_{t,m,a}|Q^\beta_t(m,a)|_{\mathrm{op}} max t , m , a ∣ Q t β ( m , a ) ∣ op . Every reachable entry is visited (48, 90 and 40 entries; at least 317 updates each by the end), and unreachable entries never affect the read-out. Code: experiments/e24_convergence.py.
Results. (i) The iterates converge to Q β Q^\beta Q β , as Theorem 3 predicts. The largest relative error falls from 0.25–0.42 after 100 episodes to 0.010 (C1) and 0.003 (C2) after 30,000, and is still decreasing. On C3 the observable transitions are deterministic and the reward is noise-free, so the targets carry no sampling noise and the error falls to 1.5 × 10 − 9 1.5 \times10^{-9} 1.5 × 1 0 − 9 , the bias of the ridge term in the reward estimate (10 − 14 10^{-14} 1 0 − 14 with R R R known).
Table 26. E24: distance of the learned operators from the exact certificate Q t β Q^\beta_t Q t β (relative operator norm, mean over 3 seeds; learned R R R ; the known-R R R variant is within the same range). Floor: α n = max ( 0.02 , n − 0.6 ) \alpha_n = \max(0.02, n^{-0.6}) α n = max ( 0.02 , n − 0.6 ) . Score: normalised return of the greedy readout after 30,000 episodes, and of the exact Q β Q^\beta Q β .
Figure 7. E24: largest relative distance from the exact certificate Q t β Q^\beta_t Q t β against episodes (geometric mean over 3 seeds, learned R R R ).
(ii) The greedy policy reaches the certificate’s greedy policy. After 30,000 episodes the score equals that of the exact Q β Q^\beta Q β on all three environments (0.952, 0.986, 0.680), and already does so after 1000 episodes on C1 and C2. The remaining gap to the optimum on C1 and C3 is therefore the gap of the certificate itself (Proposition 4, E20), not a failure to converge. (iii) The step-size floor costs little here. The two rules coincide until an entry has been updated about 680 times; after 30,000 episodes the floor leaves a mean error of 0.0024 instead of 0.0018 on C1 and 0.0011 instead of 0.0008 on C2, with identical scores. The largest error, at rarely visited entries, differs little (0.0093 vs. 0.0098 on C1, 0.0036 vs. 0.0027 on C2).
Experimental Details
All code is in the anonymized repository at https://anonymous.4open.science/r/opq-RL-2027-0D23 ; run_e18.sh and run_rest.sh reproduce every number of E7–E18, run_e19.py those of E19 and run_rebuttal.sh those of E20–E24, and make_figures.py every figure and table. Everything runs on CPU: E7–E18 take about three hours on one core, E19 about seven CPU-hours, and E20–E24 about 100 minutes on two cores. Each script fixes its random seeds, and the raw outputs of every reported run are in results/.
E18: end-to-end control
Environments. All three are OLDPs in the conjugation picture with observable state s t = ( t , m t ) s_t=(t,m_t) s t = ( t , m t ) : a step counter and an observable mode whose transitions do not depend on the latent. C1 (random OLDP): N = 3 N=3 N = 3 , K = 4 K=4 K = 4 , two modes, H = 6 H=6 H = 6 , γ = 0.95 \gamma=0.95 γ = 0.95 ; U a = exp ( 0.8 ( G a − G a T ) ) U_a=\exp(0.8(G_a-G_a^{\mathsf{T}})) U a = exp ( 0.8 ( G a − G a T )) with G a G_a G a standard Gaussian; R ( m , a ) R(m,a) R ( m , a ) random symmetric; P ( ⋅ ∣ m , a ) P(\cdot\mid m,a) P ( ⋅ ∣ m , a ) flat Dirichlet; Gaussian reward noise of standard deviation 0.1. C2 (SO(3) pointing): the latent is the dyad ρ = 3 n n T \rho=3nn^{\mathsf{T}} ρ = 3 n n T of a body axis n n n (n 0 = e 3 n_0=e_3 n 0 = e 3 ); K = 6 K=6 K = 6 actions rotate by ± 0.6 \pm0.6 ± 0.6 rad about the three body axes; two modes with targets t 1 , t 2 t_1,t_2 t 1 , t 2 (random unit vectors), reward r t = ( t m t ⋅ n t + 1 ) 2 = τ ( t m t T ρ t + 1 ) r_t=(t_{m_t}\cdot n_{t+1})^2=\tau(t_{m_t}^{\mathsf{T}}\rho_{t+1}) r t = ( t m t ⋅ n t + 1 ) 2 = τ ( t m t T ρ t + 1 ) , mode transitions P ( m ′ ∣ 0 ) = ( 0.8 , 0.2 ) P(m'\mid0)=(0.8,0.2) P ( m ′ ∣ 0 ) = ( 0.8 , 0.2 ) and P ( m ′ ∣ 1 ) = ( 0.3 , 0.7 ) P(m'\mid1)=(0.3,0.7) P ( m ′ ∣ 1 ) = ( 0.3 , 0.7 ) for every action; H = 8 H=8 H = 8 , γ = 0.95 \gamma=0.95 γ = 0.95 . C3 (two-qubit preparation): N = 4 N=4 N = 4 , gates { H ⊗ I , I ⊗ H , T ⊗ I , I ⊗ T , C N O T } \{H\otimes I,I\otimes H,T\otimes I,I\otimes T,\mathrm{CNOT}\} { H ⊗ I , I ⊗ H , T ⊗ I , I ⊗ T , CNOT } , ρ 0 = 4 ∣ 00 ⟩ ⟨ 00 ∣ \rho_0=4|00\rangle\langle00| ρ 0 = 4∣00 ⟩ ⟨ 00∣ , H = 8 H=8 H = 8 , γ = 1 \gamma=1 γ = 1 ; the target ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ is the output of a random 8-gate word, redrawn until it is entangled (reduced purity < 0.9 <0.9 < 0.9 ) and far from ∣ 00 ⟩ |00\rangle ∣00 ⟩ (∣ ⟨ 00 ∣ ψ ⟩ ∣ 2 < 0.5 |\langle00|\psi\rangle|^2<0.5 ∣ ⟨ 00∣ ψ ⟩ ∣ 2 < 0.5 ), so the optimum is 1; the reward is the fidelity τ ( ∣ ψ ⟩ ⟨ ψ ∣ ρ H ) \tau(|\psi\rangle\langle\psi|\rho_H) τ ( ∣ ψ ⟩ ⟨ ψ ∣ ρ H ) at the last step and 0 before.
Regimes. Fixed: one initial latent (C1: a random density operator; C2: n 0 = e 3 n_0=e_3 n 0 = e 3 ; C3: ∣ 00 ⟩ |00\rangle ∣00 ⟩ ). Random: at every episode ρ 0 = N v v ∗ \rho_0=Nvv^* ρ 0 = N v v ∗ with v v v uniform on the real (C1, C2) or complex (C3) unit sphere; evaluation averages over 8 held-out draws. Transfer (Table 1 , last column per environment): agents are trained in the fixed regime and evaluated, without retraining, on the same 8 held-out initial latents.
Agents. All agents observe s t s_t s t and the rewards, and either ρ t \rho_t ρ t (OpQ, DQN), the action history with ρ 0 \rho_0 ρ 0 at step 0 (DRQN), or the action and mode history only (history table). The agents do not have the same knowledge: OpQ also uses the dual maps K a † K_a^\dagger K a † , the history-table key omits ρ 0 \rho_0 ρ 0 (so it is a sufficient statistic only in the fixed regime), and DRQN’s ρ 0 \rho_0 ρ 0 input is constant in fixed-regime training. E19 (Appendix § 19 ) gives the comparisons with matched knowledge. OpQ-soft: one N × N N\times N N × N operator per ( t , m , a ) (t,m,a) ( t , m , a ) , updated by the sample form of (4), Q ( s , a ) ← Q ( s , a ) + α ( K a † ( R ^ ( m , a ) + γ LSE β ( Q ( s ′ , ⋅ ) ) ) − Q ( s , a ) ) Q(s,a)\leftarrow Q(s,a)+\alpha\left(K_a^\dagger(\hat{R}(m,a)+\gamma\operatorname{LSE}_{\beta}(Q(s',\cdot)))-Q(s,a)\right) Q ( s , a ) ← Q ( s , a ) + α ( K a † ( R ^ ( m , a ) + γ LSE β ( Q ( s ′ , ⋅ ))) − Q ( s , a ) ) , with β = 5 \beta=5 β = 5 , and acting greedily on τ ( ρ t Q ( s t , a ) ) \tau(\rho_tQ(s_t,a)) τ ( ρ t Q ( s t , a )) . The update is unbiased for (4) because (4) is linear in P ( ⋅ ∣ s , a ) P(\cdot\mid s,a) P ( ⋅ ∣ s , a ) . The reward observable R ^ ( m , a ) \hat{R}(m,a) R ^ ( m , a ) is estimated online by least squares from the scalar rewards (ridge 10 − 6 10^{-6} 1 0 − 6 , orthonormal Hermitian basis), since r = τ ( R ρ ′ ) r=\tau(R\rho') r = τ ( R ρ ′ ) is linear in ρ ′ \rho' ρ ′ ; the known-R R R variant uses the true R R R . OpQ-PI: operator TD (3) evaluating the uniform policy (behaviour is uniform throughout), followed by the latent-aware greedy improvement of Prop. 2. Scalar Q Q Q on ( t , m ) (t,m) ( t , m ) and scalar Q Q Q , history table (keyed by ( t , m , a 1 m 1 … a t m t ) (t,m,a_1m_1\ldots a_tm_t) ( t , m , a 1 m 1 … a t m t ) ): tabular Q Q Q -learning. The step size of all tabular and operator agents is α = max ( 0.02 , n − 0.6 ) \alpha=\max(0.02,n^{-0.6}) α = max ( 0.02 , n − 0.6 ) , where n n n counts visits to the entry. DQN on ρ t \rho_t ρ t : MLP [one-hot t t t , one-hot m m m , coordinates of ρ t \rho_t ρ t ] → 64 → 64 → K \to64\to64\to K → 64 → 64 → K (ReLU), Adam (10 − 3 10^{-3} 1 0 − 3 ), batch 64, replay 5 × 10 4 5\times10^4 5 × 1 0 4 , target network every 250 steps, one update per step. DRQN: GRU with 64 hidden units on [previous action, previous reward, mode, one-hot t t t , ρ 0 \rho_0 ρ 0 at step 0], Adam (10 − 3 10^{-3} 1 0 − 3 ), 32 episodes per batch, 4 updates per episode, target network every 50 episodes, replay of 5000 episodes. Exploration is ϵ \epsilon ϵ -greedy, annealed linearly from 1 to 0.05 over the first 60% of 3000 episodes, for every agent except OpQ-PI.
Evaluation. The greedy policy of each agent is evaluated exactly : all mode branches are enumerated and mean rewards are used, so the reported curves contain no Monte-Carlo noise. V ∗ V^* V ∗ is computed by backward dynamic programming over all K H K^H K H action histories and modes; V r a n d V_{\mathrm{rand}} V rand comes from Proposition 1 applied to the uniform policy. Scores are ( V − V r a n d ) / ( V ∗ − V r a n d ) (V-V_{\mathrm{rand}})/(V^*-V_{\mathrm{rand}}) ( V − V rand ) / ( V ∗ − V rand ) , averaged over initial latents; we report the mean and standard deviation over 5 seeds. Code: opq/envs.py, opq/agents.py, opq/deep_agents.py, experiments/e18_control.py, experiments/e18_transfer.py.
E8, E13–E16: representation benchmark
The target is f ( w ) = 1 N Re Tr ( W A a 1 ⋯ A a T ) f(w)=\frac{1}{N}\operatorname{Re}\operatorname{Tr}(W A_{a_1}\cdots A_{a_T}) f ( w ) = N 1 Re Tr ( W A a 1 ⋯ A a T ) for uniformly random words (3000 training, 1000 test). Orthogonal (E8/E13): N = 5 N=5 N = 5 , K = 4 K=4 K = 4 , T = 6 T=6 T = 6 , A a = exp ( G a − G a T ) A_a=\exp(G_a-G_a^{\mathsf{T}}) A a = exp ( G a − G a T ) with G a G_a G a having i.i.d. N ( 0 , 0.6 2 ) \mathcal{N}(0,0.6^2) N ( 0 , 0. 6 2 ) entries, W W W random symmetric. s o ( 3 ) \mathfrak{so}(3) so ( 3 ) (E14): K = 6 K=6 K = 6 rotations by ± 0.6 \pm0.6 ± 0.6 rad about the coordinate axes, T = 8 T=8 T = 8 , W W W Gaussian. s e ( 3 ) \mathfrak{se}(3) se ( 3 ) hinge chain (E16): N = 4 N=4 N = 4 (homogeneous coordinates); each of K = 6 K=6 K = 6 creases is a revolute joint with a random unit axis n a n_a n a , a Gaussian hinge point p a p_a p a and an angle θ a ∼ U [ 0.5 , 1.5 ] \theta_a\sim U[0.5,1.5] θ a ∼ U [ 0.5 , 1.5 ] , with twist Ω a = ( θ a [ n a ] × − θ a [ n a ] × p a 0 0 ) \Omega_a=\begin{pmatrix}\theta_a[n_a]_\times&-\theta_a[n_a]_\times p_a\\0&0\end{pmatrix} Ω a = ( θ a [ n a ] × 0 − θ a [ n a ] × p a 0 ) ; T = 8 T=8 T = 8 , W W W Gaussian. Displacements (E15): Fock space truncated at N F = 6 N_F=6 N F = 6 , D ( α a ) = exp ( α a a † − α ˉ a a ) D(\alpha_a)=\exp(\alpha_a a^\dagger-\bar{\alpha}_a a) D ( α a ) = exp ( α a a † − α ˉ a a ) for K = 6 K=6 K = 6 random α a \alpha_a α a (∣ α a ∣ ≈ 0.5 |\alpha_a|\approx0.5 ∣ α a ∣ ≈ 0.5 ), T = 6 T=6 T = 6 , W W W random Hermitian; complex matrices are encoded in real form as X ↦ ( Re X − Im X Im X Re X ) X\mapsto\begin{pmatrix}\operatorname{Re}X&-\operatorname{Im}X\\\operatorname{Im}X&\operatorname{Re}X\end{pmatrix} X ↦ ( Re X Im X − Im X Re X ) , so the real operator dimension that suffices is 2 N F = 12 2N_F=12 2 N F = 12 . In the untruncated algebra ad Ω a 2 = 0 \operatorname{ad}_{\Omega_a}^2=0 ad Ω a 2 = 0 , but truncation breaks nilpotency. The depth profile S ( 10 ) S(10) S ( 10 ) is 3.0 × 10 4 3.0\times10^4 3.0 × 1 0 4 , 1.1 × 10 6 1.1\times10^6 1.1 × 1 0 6 and 2.4 × 10 7 2.4\times10^7 2.4 × 1 0 7 at N F = 6 , 12 , 24 N_F=6,12,24 N F = 6 , 12 , 24 , so it grows rather than vanishes. The order-dependent phase of one swapped pair, arg ⟨ 0 ∣ D ( α ) D ( β ) ∣ 0 ⟩ / ⟨ 0 ∣ D ( β ) D ( α ) ∣ 0 ⟩ = − 0.3596 \arg\langle0|D(\alpha)D(\beta)|0\rangle/\langle0|D(\beta)D(\alpha)|0\rangle=-0.3596 arg ⟨ 0∣ D ( α ) D ( β ) ∣0 ⟩ / ⟨ 0∣ D ( β ) D ( α ) ∣0 ⟩ = − 0.3596 rad, matches the untruncated value 2 Im ( α β ˉ ) 2\operatorname{Im}(\alpha\bar{\beta}) 2 Im ( α β ˉ ) to four digits. In the s e ( 3 ) \mathfrak{se}(3) se ( 3 ) chain the same two folds applied in opposite orders move the marked point ( 1 , 1 , 0 ) (1,1,0) ( 1 , 1 , 0 ) by up to 2.00.
Before any fitting, a planted-solution check evaluates the operator model with the true generators ; its test MSE is at floating-point level in every environment (Table 7 ). OpQ(d) : K K K learned d × d d\times d d × d operators and a readout, g ( w ) = Tr ( W d Q a 1 ⋯ Q a T ) g(w)=\operatorname{Tr}(W_dQ_{a_1}\cdots Q_{a_T}) g ( w ) = Tr ( W d Q a 1 ⋯ Q a T ) , initialised at Q a = exp ( random skew-symmetric, scale 0.3 ) Q_a=\exp(\text{random skew-symmetric, scale }0.3) Q a = exp ( random skew-symmetric, scale 0.3 ) ; full-batch Adam (0.02, cosine decay, 1500 epochs, gradient clipping at 1), best of 4 restarts by training loss, followed by at most 2000 L-BFGS iterations. Baselines : ordinary least squares on one-hot ( t , a t ) (t,a_t) ( t , a t ) (order-blind) and on one-hot ( t , a t − 1 , a t ) (t,a_{t-1},a_t) ( t , a t − 1 , a t ) (windowed table); GRUs with 4, 16, 64 hidden units and an LSTM with 64; a single-head self-attention block (width 32, learned positional embeddings, feed-forward block, mean pooling); and a 1D-CNN (learned 3-dimensional action embedding, two convolutions with kernel 3 and 16 channels, mean pooling). Neural baselines are trained with full-batch Adam (0.01; 0.005 for attention; cosine decay, 1000 epochs). For linear models the parameter count is the rank of the design matrix. Code: opq/rep_models.py, experiments/rep_benchmark.py.
E10: nilpotent versus non-nilpotent algebras
s o ( 3 ) \mathfrak{so}(3) so ( 3 ) (generators L x , L y , L z L_x,L_y,L_z L x , L y , L z ) and the Heisenberg algebra n 3 \mathfrak{n}_3 n 3 (strictly upper-triangular X , Y , Z X,Y,Z X , Y , Z with [ X , Y ] = Z [X,Y]=Z [ X , Y ] = Z ), both in dimension 3 with every generator rescaled to Frobenius norm 2 \sqrt{2} 2 , so that the nilpotency step is the only difference; W W W is a general Gaussian matrix (a symmetric W W W would annihilate every s o ( 3 ) \mathfrak{so}(3) so ( 3 ) bracket term). (a) S ( T ) = ∑ t = 2 T max a ≠ b ∣ Tr ( W a ad Ω a t − 1 Ω b ) ∣ / N S(T)=\sum_{t=2}^{T}\max_{a\ne b}|\operatorname{Tr}(W a\,\operatorname{ad}_{\Omega_a}^{t-1}\Omega_b)|/N S ( T ) = ∑ t = 2 T max a = b ∣ Tr ( W a ad Ω a t − 1 Ω b ) ∣/ N by exact iterated bracketing. (b) For T = 2 , … , 8 T=2,\ldots,8 T = 2 , … , 8 and 400 random words (100 for T ≥ 7 T\ge7 T ≥ 7 ), the return is averaged over all T ! T! T ! reorderings of the word; this average is the best predictor available from the action counts. We record the mean absolute deviation of the true return from it, normalised by the standard deviation of returns at that T T T . Code: experiments/e10_depth_profile.py.
E7, E9, E12: the operator log-sum-exp and the commutative reduction
E7. (i) 20,000 commuting configurations (N ∈ { 2 , … , 5 } N \in\{2,\ldots,5\} N ∈ { 2 , … , 5 } , K ∈ { 2 , 3 , 4 } K \in\{2,3,4\} K ∈ { 2 , 3 , 4 } , β \beta β cycling through { 0.05 , 0.1 , 0.25 , 0.5 , 1 , 2 , 5 , 10 } \{0.05,0.1,0.25,0.5,1,2,5,10\} { 0.05 , 0.1 , 0.25 , 0.5 , 1 , 2 , 5 , 10 } , shared random orthonormal eigenbasis, eigenvalues in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] ); half use local perturbations and half independent draws.
(ii) The construction of Prop. 6 (c) at K = N = 25 K=N=25 K = N = 25 , β = 5 \beta=5 β = 5 , ϵ = 10 − 6 \epsilon=10^{-6} ϵ = 1 0 − 6 .
(iii) 80 non-commuting configurations per β ∈ { 1 , 5 , 10 } \beta\in\{1,5,10\} β ∈ { 1 , 5 , 10 } (N , K ∈ { 2 , 3 } N,K \in\{2,3\} N , K ∈ { 2 , 3 } , perturbations at scale 10 − 12 10^{-12} 1 0 − 12 ), evaluated in 80-digit arithmetic with mpmath. In double precision, ∑ i e β x i \sum_i e^{\beta x_i} ∑ i e β x i loses its smallest eigenvalues once e 2 β M e^{2\beta M} e 2 β M approaches 10 16 10^{16} 1 0 16 , which produces spurious ratios in the thousands.
E9. Three observable states, K = 3 K=3 K = 3 , γ = 0.9 \gamma=0.9 γ = 0.9 , β = 3 \beta=3 β = 3 , diagonal unitaries U a = diag ( e i ϕ ) U_a=\operatorname{diag}(e^{i\phi}) U a = diag ( e i ϕ ) and diagonal R ( s , a ) R(s,a) R ( s , a ) , for N ∈ { 1 , 4 } N \in\{1,4\} N ∈ { 1 , 4 } . We compare (a) 200 iterations of the exact operator recursion against N N N independent scalar soft Bellman iterations, and (b) 20,000 sample-based updates fed to both the operator learner and N N N scalar soft Q Q Q -learners with the same samples and step sizes. E12. We apply the aggregation x ↦ R + γ LSE β ( x ) x \mapsto R+\gamma\operatorname{LSE}_{\beta}(x) x ↦ R + γ LSE β ( x ) to K = 4 K=4 K = 4 self-adjoint 5 × 5 5 \times5 5 × 5 inputs (γ = 0.95 \gamma=0.95 γ = 0.95 , β = 2 \beta=2 β = 2 ). We draw y i = x i + P i y_i=x_i+P_i y i = x i + P i with P i ⪰ 0 P_i \succeq0 P i ⪰ 0 at scale 0.5 (2000 trials each for commuting and generic inputs), then sweep the scale over { 0.5 , 0.1 , 0.01 , 10 − 3 , 10 − 4 } \{0.5,0.1,0.01,10^{-3},10^{-4}\} { 0.5 , 0.1 , 0.01 , 1 0 − 3 , 1 0 − 4 } with 1000 generic trials each. A trial counts as a violation when λ min \lambda_{\min} λ m i n of the output difference is below − 10 − 12 -10^{-12} − 1 0 − 12 . Code: experiments/e07_lse_lipschitz.py, e09_commutative_reduction.py, e12_monotonicity.py.
E17: exact checks of the compositional recursion
A random OLDP with ∣ S ∣ = 2 |S|=2 ∣ S ∣ = 2 , K = 3 K=3 K = 3 , N = 3 N=3 N = 3 , H = 4 H=4 H = 4 , γ = 0.9 \gamma=0.9 γ = 0.9 , P P P flat Dirichlet, U a = exp ( 0.8 ( G − G T ) ) U_a=\exp(0.8(G-G^{\mathsf T})) U a = exp ( 0.8 ( G − G T )) , R R R random symmetric. Proposition 1: Q 0 π Q^\pi_0 Q 0 π from the backward recursion is compared with the exact expected return, obtained by enumerating every branch, at 20 random ( s , a , ρ ) (s,a,\rho) ( s , a , ρ ) , for ρ \rho ρ a density operator (CP) and a rotation (MP). Theorem 1: the infinite-horizon Q π Q^\pi Q π is computed by 400 Bellman iterations; operator TD uses i.i.d. uniform ( s , a ) (s,a) ( s , a ) and α k = ( 1 + k / 200 ) − 0.7 \alpha_k=(1+k/200)^{-0.7} α k = ( 1 + k /200 ) − 0.7 . Theorem 2: Q 0 β Q^\beta_0 Q 0 β for β ∈ { 1 , 5 , 20 , 50 } \beta\in\{1,5,20,50\} β ∈ { 1 , 5 , 20 , 50 } , with LSE β \operatorname{LSE}_{\beta} LSE β evaluated in 120-digit arithmetic, is compared with q ∗ q^* q ∗ from exhaustive latent-aware dynamic programming at 30 random ( s , a , ρ ) (s,a,\rho) ( s , a , ρ ) , and λ min ( Q 0 β − Q 0 π ) \lambda_{\min}(Q^\beta_0-Q^\pi_0) λ m i n ( Q 0 β − Q 0 π ) is taken over 5 random latent-blind policies. The commuting check uses diagonal sign matrices and diagonal R R R at β = 200 \beta=200 β = 200 and pure eigenstates. Proposition 8: three generators at scale 0.6, Gaussian W , T = 3 W,T=3 W , T = 3 . Proposition 10 : a Hankel block over the 40 words of length ≤ 3 \leq3 ≤ 3 , with numerical rank taken at relative threshold 10 − 9 10^{-9} 1 0 − 9 . Code: experiments/e17_exact_checks.py.
Computational requirements
Python 3.12 with NumPy, SciPy, mpmath, Matplotlib, JAX (CPU) and Optax. On one CPU core: E18 learning curves ≈ 70 \approx70 ≈ 70 minutes; E18 transfer ≈ 25 \approx25 ≈ 25 minutes; E17 ≈ 1 \approx1 ≈ 1 minute; E7 ≈ 10 \approx10 ≈ 10 minutes (dominated by 80-digit arithmetic); E9, E10, E12 under 2 minutes each; representation benchmark ≈ \approx ≈ 15 minutes per environment. E19 runs every job in a separate process and can resume; E20 takes about six minutes and E21 about twenty.