MEKAWIRE
ExpertarXiv

Qubit-to-Motion: Traceable Action Provenance in Hybrid QRL for Robotic Bin-Packing Sequencing

Hassen Nigatu, Howard Li
From the abstract

Hybrid quantum reinforcement learning has been explored for robotic decision-making, but evaluations often emphasize task success, return, or convergence, leaving unresolved whether quantum circuit outputs influence constrained actions and remain traceable through robot execution. We present \texttt{Qubit-to-Motion}, an evidence-centered framework for support-constrained sequencing and simulated robotic placement.

From the abstract. Our summary is in progress.

Full paper

Qubit-to-Motion: Traceable Action Provenance in Hybrid QRL for Robotic Bin-Packing Sequencing

Hassen Nigatu, Howard Li

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.11580 (PDF).

Abstract

Hybrid quantum reinforcement learning has been explored for robotic decision-making, but evaluations often emphasize task success, return, or convergence, leaving unresolved whether quantum circuit outputs influence constrained actions and remain traceable through robot execution. We present Qubit-to-Motion, an evidence-centered framework for support-constrained sequencing and simulated robotic placement. Four Pauli-Z readouts provide the sole learned input to the actor and critic, while a support mask enforces admissible object selection. Each decision is recorded and linked via step indices and SHA-256 fingerprints to a sealed route, deterministic Cartesian and inverse-kinematics waypoints, prescribed joint motion, and MuJoCo contact replay. A frozen checkpoint is evaluated across five deterministic 30-object scene variants. All 150 placements satisfy support, containment, and settling criteria. A fixed-state zero-readout intervention changes 90.0\pm 0.0\% of decisions, demonstrating dependence on the joint circuit representation. Mean macro travel is 34.537\pm 0.206 m, inference requires 8.60\pm 1.27 ms per route, and replay achieves 8.764\pm 0.220~\mum mean final position error with 0.356 mm maximum interpenetration. These results establish reproducible decision-to-contact traceability. The implementation is available at the anonymous repository.

Index Terms:

Hybrid quantum reinforcement learning, action provenance, variational quantum circuits, support-constrained sequencing, robotic placement, MuJoCo simulation.

I Introduction

Successful robotic execution can conceal how learned computation shapes the decisions that produce it. In support-constrained packing, each object selection is made from a state-dependent admissible set and then propagated through route construction, robot motion, and contact execution. Two questions therefore remain: which learned representation influenced the selected action, and can that action be identified unambiguously throughout the downstream execution record? Existing robotic packing methods primarily evaluate geometric feasibility, stability, sequence quality, or task completion [1, 2, 3, 8, 9], while hybrid quantum reinforcement-learning (QRL) studies commonly report return, success, or runtime [4, 5, 6, 7]. These metrics are necessary, but they do not isolate decision-level dependence or establish continuity from learned representation to action and physical outcome.

Hybrid QRL makes the first question nontrivial because a classical encoder, a variational quantum circuit (VQC), a classical actor, and an invalid-action mask jointly determine the choice. The mask may force an action or alter the competition among actor logits [22]; aggregate success therefore cannot show whether the circuit-derived readout affected a particular decision. A valid diagnostic must hold the logged observation, admissible set, actor, and tie-breaking rule fixed while changing only the readout vector. This tests readout sensitivity, not quantum advantage. The second question arises when the selected object is serialized into a route, expanded into waypoints, converted through inverse kinematics (IK) into joint motion, released into contact simulation, and recorded in logs, states, and visualizations. Persistent identifiers, route sealing, manifest references, and file-specific digests are needed to prevent this decision-to-contact link from being lost [25, 26, 32].

Fig. 1: Decision-to-contact traceability in Qubit-to-Motion. Fixed-state substitutions probe the support-masked action at the original logged state. The validated route is then sealed, and common planning-step and object identifiers connect the action to waypoint generation, prescribed motion, free-body settling, and the resulting execution records.

We address these coupled problems in the deliberately bounded setting of support-constrained sequencing for prescribed placements. Each object has a fixed source pose, target pose and yaw, dimensions, grasp offset, and set of support predecessors; the learned policy chooses only which currently admissible object to place next. We present Qubit-to-Motion, in which a trainable classical encoder drives a simulated two-layer, four-qubit VQC, and the four Pauli-Z expectation values are the only features received by the actor and critic. A support mask enforces precedence, and behavior cloning followed by proximal policy optimization trains the policy [11]. Fixed-state readout substitutions probe each logged action without changing the observation, mask, actor, or deterministic tie-breaking rule. After route validation and sealing, shared planning-step and object identifiers carry the action through seven-key waypoint generation, IK, prescribed Panda motion, MuJoCo free-body settling, placement records, saved states, and renderings [10]. Figure 1 summarizes the workflow.

The contributions of this work are threefold:

  • Fixed-state diagnosis of a support-masked hybrid policy. We intervene at the four-readout actor interface while preserving the original observation, mask, actor parameters, and tie-breaking rule. We quantify masked action changes and L_{1} probability shifts for all decisions and for states with multiple admissible actions.
  • Decision-to-contact action provenance. A decision ledger, route validation and sealing, persistent step and object identifiers, manifest references, and file-specific SHA-256 checks link policy inference to route entries, waypoints, placements, state histories, and visualizations, with forward and reverse trace queries.
  • End-to-end evaluation under controlled simulation. For one checkpoint and five geometry-perturbed 30-object variants with a fixed support topology, we evaluate support validity, readout sensitivity, macro-travel, IK residuals, contact outcomes, and record continuity across 150 decisions, 1,050 waypoints, and 150 placements.

The remainder of this paper is organized as follows. Section II reviews hybrid quantum policies, decision diagnostics and provenance, and packing sequence selection. Section III presents the support-constrained MDP, actor–critic, training procedure, interventions, provenance records, motion pipeline, and computational analysis. Section IV describes the scenes, baselines, simulation setup, and aggregation protocol. Section V reports the sequencing, intervention, kinematic, contact, and continuity results. Section VI presents trace queries and staged reproduction, and Section VII concludes the paper.

II Related Work

II-A Hybrid Quantum Policies and Robotic Applications

Parameterized quantum circuits have been used as trainable value functions and policies [4, 5, 6], including hybrid compression of high-dimensional observations [12]. Robotic applications include navigation [7, 13], autonomous driving [14], and manipulator optimization [15]; quantum learning and planning in robotics are also surveyed in [16]. Trainability, measurement, noise, and quantum–classical computation are established considerations in variational methods [17, 18]. We use a four-qubit analytic state-vector model and examine how its readouts affect constrained object selection.

II-B Decision Diagnostics and Provenance

Explainable reinforcement learning and quantum-machine-learning methods attribute outputs to inputs, events, or circuit components [19, 20, 21]. Invalid-action masking defines the admissible support of a policy distribution [22]. We therefore preserve the logged mask when comparing the original and intervened readouts. Reproducibility studies address experimental seeds, statistical reporting, and computational records [23, 24, 25], while PROV-O represents provenance through entities and their derivation relations [26]. Our framework joins a local policy diagnostic to explicit action identities across motion and contact records.

II-C Packing and Placement Sequencing

Classical three-dimensional bin packing considers object positions and orientations [27, 28]. Robotic packing further incorporates stability and execution [29], and demonstrations can guide the selection of packing sequences [30]. We focus on the support-valid topological order of prescribed placements. Fixed target geometry and a shared motion template let us compare sequencing decisions and follow each selected object through a consistent execution process.

III Methodology

III-A Finite-Horizon MDP and Support Constraints

We represent a fixed scene by \Xi and its support relations by the directed acyclic graph G=(\mathcal{V},\mathcal{E}), where \mathcal{V}=\{0,\ldots,N-1\} and N=30. Before decision k, the committed prefix is P_{k}=(a_{0},\ldots,a_{k-1}) and its selected-object set is C_{k}. Our state is s_{k}=(P_{k},C_{k},\Xi). With \operatorname{pred}(i)=\{j:(j,i)\in\mathcal{E}\}, we define

\displaystyle\mathcal{A}(s_{k}) \\ \displaystyle=\{i\in\mathcal{V}\setminus C_{k}:\operatorname{pred}(i)\subseteq C_{k}\}, \\ \displaystyle m_{k,i} \\ \displaystyle=\mathbf{1}[i\notin C_{k}\wedge\operatorname{pred}(i)\subseteq C_{k}], \\ \displaystyle T(s_{k},i) \\ \displaystyle=(P_{k}\|i,C_{k}\cup\{i\},\Xi).
(1) (2) (3)

We terminate after all N objects have been selected. The prefix length supplies the decision index, giving the finite-horizon MDP \mathcal{M}_{\Xi}=(\mathcal{S},\mathcal{V},T,r,\gamma,N) with the state-dependent admissible sets in (1).

We measure order-level geometry using the source center \mathbf{s}_{i} and target center \mathbf{x}_{i} of object i. Let \mathbf{c}_{0} be the home tool position and \mathbf{c}_{k}=\mathbf{x}_{a_{k-1}} for k>0. Our incremental macro-travel cost and complete-route surrogate are

\displaystyle d_{k}(i) \\ \displaystyle=\|\mathbf{c}_{k}-\mathbf{s}_{i}\|_{2}+\|\mathbf{s}_{i}-\mathbf{x}_{i}\|_{2}, \\ \displaystyle J(P) \\ \displaystyle=\sum_{k=0}^{N-1}d_{k}(a_{k}).
(4)

Every complete route includes the same source-to-target distance sum, \sum_{i\in\mathcal{V}}\|\mathbf{s}_{i}-\mathbf{x}_{i}\|_{2}. Consequently, route-to-route differences in J arise from the transitions from the preceding target, or the initial home position, to the next source. We use J to compare object orders; the seven-key motion template in Section III-F specifies the executed trajectory.

Our shaped reward, with distances expressed in metres, is

r_{k}=1-0.65d_{k}(a_{k})+0.12\,\mathbf{1}[a_{k}=a_{k}^{\mathrm{g}}]+5\,\mathbf{1}[k=N-1],
(5)

where a_{k}^{\mathrm{g}} is the support-admissible action minimizing d_{k}(i). We train for discounted return, whose value satisfies

\displaystyle V^{\pi}(s_{k}) \\ \displaystyle=\sum_{i\in\mathcal{A}(s_{k})}\pi(i\mid s_{k})\bigl[r(s_{k},i)+\gamma V^{\pi}(T(s_{k},i))\bigr], \\ \displaystyle V^{\pi}(s_{N}) \\ \displaystyle=0.
(6)

The per-step constant and terminal bonus contribute the same discounted amount to every complete valid route. Travel cost and greedy-action agreement determine the route-dependent training signal. Our reported J is an undiscounted geometric summary, whereas the training objective weights the shaped rewards by \gamma^{k}.

III-B Hybrid Quantum Actor–Critic

We construct \mathbf{o}_{k}\in[-1,1]^{750} by concatenating 30\times 12 object features, 30\times 8 placement/support features, a 14\times 10 committed-height map, and ten global features. Our trainable 750–96–4 encoder f_{\eta} produces \mathbf{e}_{k}\in[-1,1]^{4}, from which we form \bm{\alpha}_{k}=(\pi/2)\mathbf{e}_{k}.

We evaluate a two-layer, four-qubit variational quantum circuit (VQC) using analytic state-vector simulation. The circuit uses data R_{y} rotations, trainable R_{x}R_{y}R_{z} rotations, and the CNOT ring (0,1)(1,2)(2,3)(3,0). For circuit parameters \omega and the resulting state \rho_{k}, our readout vector is

\mathbf{z}_{k}=[z_{k,0},\ldots,z_{k,3}]^{\top},\qquad z_{k,q}=\operatorname{Tr}(\rho_{k}Z_{q}).
(7)

Each Z_{q} denotes the Pauli-Z observable on qubit q, and each z_{k,q} is its real-valued expectation. We feed \mathbf{z}_{k} to both the 4–64–30 actor g_{\phi} and the 4–64–1 critic v_{\psi}. Thus, the circuit readouts are the sole learned features received by the two heads; the support mask separately encodes the discrete precedence constraints.

Fig. 2: Our hybrid actor–critic and parameter counts. We pass the same four circuit readouts to both neural heads and apply the support mask to the actor’s logits. The encoder, circuit, actor, and critic contain 75,163 trainable parameters in total.

Writing \bm{\ell}_{k}=g_{\phi}(\mathbf{z}_{k}) and \theta=(\eta,\omega,\phi,\psi), we form

\pi_{\theta}(i\mid\mathbf{o}_{k},\mathbf{m}_{k})=\frac{m_{k,i}\exp(\ell_{k,i})}{\sum_{j=0}^{N-1}m_{k,j}\exp(\ell_{k,j})}.
(8)

We implement masking with a large negative sentinel for invalid logits. During evaluation, we select

a_{k}=\min\operatorname*{arg\,max}_{i\in\mathcal{A}(s_{k})}\ell_{k,i},
(9)

so an exact tie is resolved by the smallest admissible index. Our four-qubit bottleneck provides four logged features per decision, while two circuit layers give 24 trainable rotation parameters. Figure 2 details the associated neural-network counts.

III-C Training

We use 540 support-valid demonstration decisions from 18 generated scenes and initialize our hybrid policy by BC against the greedy action labels a_{k}^{\mathrm{g}}. We then apply two PPO updates, each containing 120 planning decisions and three optimization passes. Table I collects our training settings.

TABLE I: Our training configuration.
  • Training seed
    Value
    2025
  • Demonstration scenes / decisions
    Value
    18 / 540
  • BC epochs / learning rate
    Value
    15 / 2\times 10^{-3}
  • PPO updates / decisions per update
    Value
    2 / 120
  • Optimization passes per PPO update
    Value
    3
  • Configured PPO batch size
    Value
    128
  • PPO learning rate
    Value
    3\times 10^{-4}
  • Discount \gamma / GAE parameter \lambda
    Value
    0.985 / 0.95
  • PPO clip ratio
    Value
    0.2
  • Entropy / value coefficients
    Value
    0.01 / 0.5
  • Gradient-norm limit
    Value
    0.7

We minimize masked cross-entropy during BC. For PPO, we evaluate the critic as \widehat{V}_{k}=v_{\psi}(\mathbf{z}_{k}) and set the terminal bootstrap value to \widehat{V}_{N}=0. Our temporal-difference residuals and generalized advantage estimates (GAE) [31] are

\displaystyle\epsilon_{k} \\ \displaystyle=r_{k}+\gamma\widehat{V}_{k+1}-\widehat{V}_{k}, \\ \displaystyle\widehat{A}_{k} \\ \displaystyle=\sum_{j=0}^{N-k-1}(\gamma\lambda)^{j}\epsilon_{k+j}.
(10) (11)

The PPO probability ratio compares the updated and rollout policies on the same recorded observation, mask, and action. We use the clipped policy objective with \widehat{A}_{k}, fit the critic to the corresponding return targets, and regularize the masked policy with entropy. The greedy demonstrations and agreement term in (5) provide a common reference throughout training.

III-D Fixed-State Readout Interventions

We evaluate representation sensitivity at the actor input. Let \bar{\pi}_{\phi}(\cdot\mid\mathbf{z},\mathbf{m}) denote the distribution obtained by passing \mathbf{z} through the actor and applying mask \mathbf{m}. For a readout transformation \iota:\mathbb{R}^{4}\to\mathbb{R}^{4}, we compute

\displaystyle a_{k}^{(\iota)} \\ \displaystyle=\min\operatorname*{arg\,max}_{i\in\mathcal{A}(s_{k})}\bar{\pi}_{\phi}(i\mid\iota(\mathbf{z}_{k}),\mathbf{m}_{k}), \\ \displaystyle\Delta_{k}^{(\iota)} \\ \displaystyle=\mathbf{1}[a_{k}^{(\iota)}\neq a_{k}].
(12)

We preserve the original observation, mask, actor parameters, and tie-breaking rule at every comparison. For each evaluated route, we summarize

\displaystyle D_{\mathrm{all}}^{(\iota)} \\ \displaystyle=\frac{1}{N}\sum_{k=0}^{N-1}\Delta_{k}^{(\iota)}, \\ \displaystyle D_{\mathrm{choice}}^{(\iota)} \\ \displaystyle=\frac{\sum_{k\in\mathcal{K}}\Delta_{k}^{(\iota)}}{|\mathcal{K}|},\qquad\mathcal{K}=\{k:|\mathcal{A}(s_{k})|>1\}.
(13)

All evaluated routes have a nonempty \mathcal{K}. A one-action mask makes the selected action invariant to the readout substitution.

We replace the entire readout vector with zero, set each component z_{k,q} individually to zero, reverse the component order, and negate the vector. The zero-vector input yields a fixed actor-logit vector, which each logged mask restricts to its admissible entries. We report action-change rates together with the mean L_{1} probability shifts. At an individual state, this shift is

\Delta_{1,k}^{(\iota)}=\bigl\|\bar{\pi}_{\phi}(\cdot\mid\iota(\mathbf{z}_{k}),\mathbf{m}_{k})-\bar{\pi}_{\phi}(\cdot\mid\mathbf{z}_{k},\mathbf{m}_{k})\bigr\|_{1}.
(14)

Our pointwise statistics use the original logged states. We also generate a separately identified recursive zero-readout visualization in which altered selections update subsequent states.

III-E Decision Ledger and Route Identity

We record each planning decision as

L_{k}=(k,\mathbf{o}_{k},\mathbf{m}_{k},\mathbf{e}_{k},\mathbf{z}_{k},\bm{\pi}_{k},\widehat{V}_{k},a_{k},d_{k}(a_{k}),t_{k}),
(15)

where t_{k} is the measured inference duration. The stored encoder output determines the circuit angles through \bm{\alpha}_{k}=(\pi/2)\mathbf{e}_{k}. After planning, we validate route length, object uniqueness, support precedence, and ledger indices, then seal the route for execution.

We assign a SHA-256 digest to each file and compare its recomputed digest with the recorded reference for that same file [32]. Manifest references express the dependencies between different files. We match the planning-step and object identifiers across the ledger, route, waypoint records, and placement records. In symbolic form, our identity check at placement index k is

a_{k}^{\mathrm{ledger}}=a_{k}^{\mathrm{route}}=a_{k}^{\mathrm{motion}}=a_{k}^{\mathrm{placement}}.
(16)

We complete the ledger and route validation before execution. Our motion and simulator stages then consume the sealed object order, while the manifest connects their outputs to the corresponding input digests. Together, these checks associate the simulated placement with the action selected at the same planning index.

III-F Deterministic Motion and MuJoCo Settling

We expand each selected object into seven Cartesian keys: home, pregrasp, grasp, lift, preplace, place, and retreat. We solve damped position IK for the seven Panda joints and enforce joint limits. Between successive joint configurations, we use quintic time scaling

\sigma(\tau)=10\tau^{3}-15\tau^{4}+6\tau^{5},\qquad 0\leq\tau\leq 1,
(17)

with normalized segment time \tau. Each route produces 210 waypoint records.

We prescribe Panda joint motion kinematically and attach the selected object deterministically during transport. We disable robot collision geometries and selected-object contacts during that phase. We detach the object 1.5 mm above its prescribed target pose, restore its free-body contact state, and simulate contact and settling in MuJoCo 3.11.0. These stages retain the object identifier from the sealed route.

Algorithm 1 Our Sealed Sequencing and Placement Procedure

We terminate the settling interval after 60 consecutive quiet samples or a maximum of 500 simulation steps. A quiet sample requires linear speed below 5 mm/s and angular speed below 0.05 rad/s. We assess each placement using bin containment, contact with the prescribed support, position error below 5 mm, and final linear speed below 8 mm/s. Thus, the quiet-sample rule specifies the settling duration, while the placement gates specify the recorded outcome. Algorithm 1 summarizes the processing order.

III-G Computational Cost

For a constructed observation, we express the forward-decision cost in terms of observation dimension D, encoder width H, qubit count Q, circuit depth L, head width H_{h}, and mean predecessor count \bar{s}=|\mathcal{E}|/N. With predecessor lists and direct selected-set membership checks, we obtain

\displaystyle T_{\mathrm{dec}}=\mathcal{O}\bigl( \\ \displaystyle DH+HQ+LQ2^{Q} \\ \displaystyle+QH_{h}+NH_{h}+N+|\mathcal{E}|\bigr), \\ \displaystyle S_{\mathrm{dec}}=\mathcal{O}\bigl( \\ \displaystyle P_{\mathrm{par}}+D+N+|\mathcal{E}|+2^{Q}\bigr),
(18) (19)

where P_{\mathrm{par}} is the stored parameter count. We include the N-object scan and predecessor checks in the mask cost. The state-vector term follows from applying \mathcal{O}(LQ) one- and two-qubit gates to 2^{Q} amplitudes. A route contains N forward decisions. Retaining all observation, mask, distribution, and readout entries adds \mathcal{O}(N(D+N+Q)) ledger storage, separate from the per-decision working memory and simulator-state histories.

IV Experimental Configuration

IV-A Scenes and Baselines

We evaluate one checkpoint trained with seed 2025 on scene seeds 41, 73, 109, 151, and 197. Each scene has 15 floor objects, indexed 0–14, and 15 upper objects; object 15+i depends on floor object i. We permute the source order and perturb the geometry using source-coordinate jitter bounded by \pm 3 mm, target-center jitter bounded by \pm 2 mm, half-size changes of up to 0.8 mm in-plane and 0.7 mm vertically, and yaw within \pm 0.12 rad. The checkpoint and support topology remain fixed across these five seeded variants.

We compare our hybrid routes with three sequencing baselines under the same scene geometry. Our nearest-greedy baseline selects the admissible object minimizing d_{k}(i). Our canonical baseline selects the lowest-index admissible object. For the random-valid baseline, we sample uniformly from the current admissible set, commit the sampled action, and recompute the set. We generate 200 routes per scene using an independent pseudorandom stream and summarize them by their scene-level median. This sequential sampling procedure defines the random-route distribution used in our comparison.

IV-B Simulation and Recording

We use MuJoCo 3.11.0 with CPython 3.13. Our simulator uses the implicit-fast integrator, a 2 ms time step, an elliptic friction cone, 80 solver iterations, and 30 line-search iterations. Each box has mass 85 g and high-friction contacts. With our time step, the 60-sample quiet window spans 0.120 s and the 500-step settling limit spans 1.000 s.

For every placement, we record contact samples, penetration derived from negative contact distance, peak normal contact force, settling time, final linear and angular speed, position and yaw error, support identity, containment, and gate status. We save simulator-state histories and render them through EGL at 640\times 360 pixels. We apply Lanczos resampling to produce 1920\times 1080 H.264 video at 30 frames/s, and associate each video with its state-history and model references.

IV-C Evaluation and Aggregation

We evaluate route validity, fixed-state decision sensitivity, macro travel, IK key-position residuals, and placement outcomes. Our continuous summaries use the mean and scene-level standard deviation across the five evaluated variants. Position-error summaries first aggregate the 30 placements within each scene; waypoint summaries refer to the 210 Cartesian IK keys per scene. For the random-valid baseline, the across-scene summary aggregates the five scene-level medians. Decision-change rates use all 150 recorded decisions or the 145 observed non-forced decisions, as appropriate.

We check route cardinality, uniqueness, precedence, and ledger indices before sealing. We check waypoint cardinality and IK tolerances before replay, and assign placement status from the contact and state records. Each execution stage uses the sealed route and retains its step and object identifiers. A failed validation stops the affected stage and records its status. We assess video encoding and sampled-frame content separately from the placement gates.

V Results

V-A Support-Valid Sequencing and Macro Travel

We obtain five complete routes, each containing all 30 objects exactly once and satisfying the support graph. Table II reports the scene-level route and placement values. Our hybrid macro-travel surrogate is 34.537\pm 0.206 m. The corresponding summaries are 34.437\pm 0.119 m for nearest greedy, 34.523\pm 0.186 m for canonical order, and 34.661\pm 0.140 m for the random-valid medians. The hybrid mean is 0.100 m above greedy, 0.014 m above canonical, and 0.124 m below the random-valid median summary.

TABLE II: Our scene-level sequence and placement results. J_{\mathrm{H}} and J_{\mathrm{G}} denote hybrid and nearest-greedy macro travel. D_{\mathrm{all}} and D_{\mathrm{choice}} refer to the fixed-state all-zero intervention.
  • 41
    J_{\mathrm{H}} (m)
    34.499
    J_{\mathrm{G}} (m)
    34.348
    D_{\mathrm{all}} (%)
    90.0
    D_{\mathrm{choice}} (%)
    93.1
    Position mean (\mum)
    8.883
    Position max. (\mum)
    16.170
    Passed / total
    30 / 30
  • 73
    J_{\mathrm{H}} (m)
    34.804
    J_{\mathrm{G}} (m)
    34.536
    D_{\mathrm{all}} (%)
    90.0
    D_{\mathrm{choice}} (%)
    93.1
    Position mean (\mum)
    8.544
    Position max. (\mum)
    16.158
    Passed / total
    30 / 30
  • 109
    J_{\mathrm{H}} (m)
    34.678
    J_{\mathrm{G}} (m)
    34.572
    D_{\mathrm{all}} (%)
    90.0
    D_{\mathrm{choice}} (%)
    93.1
    Position mean (\mum)
    9.050
    Position max. (\mum)
    16.174
    Passed / total
    30 / 30
  • 151
    J_{\mathrm{H}} (m)
    34.283
    J_{\mathrm{G}} (m)
    34.437
    D_{\mathrm{all}} (%)
    90.0
    D_{\mathrm{choice}} (%)
    93.1
    Position mean (\mum)
    8.544
    Position max. (\mum)
    16.156
    Passed / total
    30 / 30
  • 197
    J_{\mathrm{H}} (m)
    34.421
    J_{\mathrm{G}} (m)
    34.293
    D_{\mathrm{all}} (%)
    90.0
    D_{\mathrm{choice}} (%)
    93.1
    Position mean (\mum)
    8.796
    Position max. (\mum)
    16.165
    Passed / total
    30 / 30

In scene 151, our hybrid route has 0.154 m lower macro travel than nearest greedy. In the other four scenes, its macro travel is higher by 0.106–0.268 m. These comparisons describe the orders produced by our greedy-initialized, reward-shaped policy under the fixed scene geometry. Figure 3(a) visualizes the hybrid and greedy values in Table II.

We can describe the support-mask evolution exactly for our paired, two-layer graph. If f_{k} floor objects and u_{k} upper objects have been committed, then 15-f_{k} floor objects and f_{k}-u_{k} upper objects are admissible. Hence,

|\mathcal{A}(s_{k})|=(15-f_{k})+(f_{k}-u_{k})=15-u_{k}.
(20)

Selecting a floor object preserves this cardinality by making its upper object available; selecting an upper object reduces it by one. In each of our five evaluated routes, we observe 29 non-forced decisions and one forced final decision. We interpret the selected-action probability relative to this changing admissible set.

V-B Fixed-State Decision Dependence

Our all-zero intervention changes 27 of 30 decisions in every scene. Across the five routes, this gives 135/150=90.0\% of all decisions and 135/145\approx 93.1\% of non-forced decisions. Table III and Fig. 3(b) summarize the expanded interventions.

TABLE III: Our fixed-state readout interventions. We use 150 decisions for D_{\mathrm{all}} and 145 non-forced decisions for D_{\mathrm{choice}}. Each z_{q} denotes a readout component.
  • \mathbf{z}\leftarrow\mathbf{0}
    D_{\mathrm{all}} (%)
    90.0
    D_{\mathrm{choice}} (%)
    93.1
    Mean L_{1}
    0.102
  • z_{0}\leftarrow 0
    D_{\mathrm{all}} (%)
    57.3
    D_{\mathrm{choice}} (%)
    59.3
    Mean L_{1}
    0.136
  • z_{1}\leftarrow 0
    D_{\mathrm{all}} (%)
    50.7
    D_{\mathrm{choice}} (%)
    52.4
    Mean L_{1}
    0.109
  • z_{2}\leftarrow 0
    D_{\mathrm{all}} (%)
    69.3
    D_{\mathrm{choice}} (%)
    71.7
    Mean L_{1}
    0.135
  • z_{3}\leftarrow 0
    D_{\mathrm{all}} (%)
    36.0
    D_{\mathrm{choice}} (%)
    37.2
    Mean L_{1}
    0.081
  • Reverse component order
    D_{\mathrm{all}} (%)
    45.3
    D_{\mathrm{choice}} (%)
    46.9
    Mean L_{1}
    0.070
  • \mathbf{z}\leftarrow-\mathbf{z}
    D_{\mathrm{all}} (%)
    94.0
    D_{\mathrm{choice}} (%)
    97.2
    Mean L_{1}
    0.198

Negating the vector changes 94.0% of all decisions and gives the largest mean L_{1} shift, 0.198, among our tested interventions. Individual-component zeroing changes 36.0–69.3% of decisions. The action-change rate measures a crossing of the masked argmax boundary, while the L_{1} shift measures redistribution of probability. Their relationship depends on the action margins and the actor’s joint response to the four readouts. We therefore interpret these results as state-specific sensitivity of our implemented actor to its circuit-derived representation.

Fig. 3: Our tabulated sequencing and intervention results. Panel (a) uses the scene-level values in Table II; panel (b) uses the percentages in Table III. The intervention comparisons retain each original state and support mask.

V-C Kinematics and Contact Outcomes

We generate 210 key waypoints per route and 1,050 across the five scenes. Our mean end-effector key-position IK residual is 0.166\pm 0.002 mm, and the largest residual is 0.300 mm. Analytic state-vector policy inference takes 8.60\pm 1.27 ms per complete 30-decision route.

All 150 simulated placements pass the prescribed-support, containment, position, and final-speed gates. Our mean final object-position error is 8.764\pm 0.220~\mum, and the largest recorded error is 16.174~\mum. The maximum yaw error is 0.000232^{\circ}. These object-state measurements follow detachment 1.5 mm above the prescribed target and subsequent free-body settling. They quantify a different stage of the pipeline from the IK key-position residuals.

We record a maximum object–support penetration of 0.356 mm, a peak normal contact force of 1.79 N, and a mean settling time of 0.162 s. The scene-level standard deviation of settling time rounds to 0.000 s at the reported precision. Figure 5 shows the scene-level contact summaries. We illustrate the simulated manipulation progression in Fig. 4.

Fig. 4: We visualize the five scene configurations in columns (a)–(e) at matched simulation times. From top to bottom, the rows correspond to t=1.0, 7.5, 14.0, and 23.5 s. The views show our prescribed robot motion and the evolving source and target object configurations.
Fig. 5: Our per-scene contact measurements: maximum object–support penetration, peak normal contact force, and mean settling time. We obtain these quantities from the free-body contact interval after detachment.

V-D Action-to-Contact Continuity

We preserve each route’s object order through its 210 waypoint records and 30 placement records. The manifest associates every placement with the same planning-step and object identifiers as the decision ledger. File-specific digest checks connect the checkpoint, scene, route, ledger, trajectory, state history, and rendering metadata through their recorded references.

We render five original-route videos and one recursive zero-readout video, and assemble a side-by-side comparison and a five-scene montage. All eight videos use H.264 High Profile at 1920\times 1080 pixels and 30 frames/s, and satisfy our sampled-frame nonblank check. Direct renderings reference their saved simulator states and model; composite videos reference their source videos. We use the contact and state records to determine placement outcomes and the videos to visualize the corresponding simulations.

VI Traceability and Reproducible Execution

VI-A Forward and Reverse Trace Queries

We support inspection in both directions. Starting from L_{k}, we follow the selected object to the same route index, its seven waypoint records, the detachment and contact records, and the saved state history. The video metadata identify the state history used for rendering. Starting from a placement record, we recover the originating action, support mask, actor distribution, and four circuit readouts. This bidirectional organization gives each reported placement a defined computational antecedent.

Our stage-specific checks localize processing failures. We validate the scene and checkpoint references at planning, route cardinality and precedence at sealing, and waypoint counts and IK tolerances before replay. We record simulator outcomes at placement and encoding outcomes at rendering. Each completed stage retains its inputs, outputs, and status, so we can inspect a later-stage failure alongside the records already produced.

VI-B Staged Reproduction

We organize reproduction into environment, policy, execution, and validation stages. We pin CPython and MuJoCo versions, compile a smoke-test model, exercise contact dynamics, and check EGL rendering. We regenerate the demonstration data, training records, checkpoint, scene specifications, routes, ledgers, and interventions in the policy stage. For each scene, we then construct its model, generate the 210-waypoint trajectory, execute 30 placements, and save the placement and state-history records.

We maintain the simulator distribution, Panda MJCF model and meshes, source code and dependency sources, checkpoint, scene specifications, decision records, waypoint records, placement logs, compressed state histories, and manifests. Our validation stage recomputes file digests, checks cardinalities and outcomes, and inspects video properties. The resulting record structure supports repeatable examination of the same checkpoint, five scene variants, prescribed transport procedure, and free-body settling configuration.

VII Conclusion

We introduced Qubit-to-Motion to connect readout-dependent hybrid-QRL decisions with support-constrained simulated placement. Our framework combines a four-readout actor–critic, fixed-state interventions, a decision ledger, sealed object orders, deterministic Panda motion, and MuJoCo free-body settling. Across five 30-object scenes, we connect 150 decisions to 1,050 waypoints and 150 placements that satisfy our recorded outcome criteria. The all-zero intervention changes 135 of 150 actions, demonstrating decision dependence on the circuit-derived representation for the evaluated checkpoint. Through shared step and object identifiers and file-specific digest checks, we retain the connection from each selected action to its trajectory, contact record, and visualization. Our results establish an integrated procedure for examining hybrid-policy decisions and tracing their execution in simulation.

References

  1. [1] F. Wang and K. Hauser, “Stable bin packing of non-convex 3D objects with a robot manipulator,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 2019, pp. 8698–8704.
  2. [2] H. Zhao, Q. She, C. Zhu, Y. Yang, and K. Xu, “Online 3D bin packing with constrained deep reinforcement learning,” in Proc. AAAI Conf. Artificial Intelligence, vol. 35, no. 1, 2021, pp. 741–749.
  3. [3] S. Huang, Z. Wang, J. Zhou, and J. Lu, “Planning irregular object packing via hierarchical reinforcement learning,” arXiv:2211.09382, 2022.
  4. [4] S. Y.-C. Chen, C.-H. H. Yang, J. Qi, P.-Y. Chen, X. Ma, and H.-S. Goan, “Variational quantum circuits for deep reinforcement learning,” IEEE Access, vol. 8, pp. 141007–141024, 2020.
  5. [5] S. Jerbi, C. Gyurik, S. C. Marshall, H. J. Briegel, and V. Dunjko, “Parametrized quantum policies for reinforcement learning,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 28362–28375.
  6. [6] A. Skolik, S. Jerbi, and V. Dunjko, “Quantum agents in the Gym: A variational quantum algorithm for deep Q-learning,” Quantum, vol. 6, Art. 720, May 2022.
  7. [7] H. Hohenfeld, D. Heimann, F. Wiebe, and F. Kirchner, “Quantum deep reinforcement learning for robot navigation tasks,” IEEE Access, vol. 12, pp. 87217–87236, 2024.
  8. [8] H. Zhao, C. Zhu, X. Xu, H. Huang, and K. Xu, “Learning practically feasible policies for online 3D bin packing,” Science China Information Sciences, vol. 65, Art. 112105, 2022.
  9. [9] T. Zhang, Z. Wu, Y. Chen, Y. Wang, B. Liang, S. Moura, M. Tomizuka, M. Ding, and W. Zhan, “Physics-aware robotic palletization with online masking inference,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 2025, pp. 6139–6145.
  10. [10] E. Todorov, T. Erez, and Y. Tassa, “MuJoCo: A physics engine for model-based control,” in Proc. IEEE/RSJ Int. Conf. Intelligent Robots and Systems (IROS), 2012, pp. 5026–5033.
  11. [11] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, “Proximal policy optimization algorithms,” arXiv:1707.06347, 2017.
  12. [12] O. Lockwood and M. Si, “Playing Atari with hybrid quantum-classical reinforcement learning,” in NeurIPS 2020 Workshop on Pre-registration in Machine Learning, PMLR, vol. 148, 2021, pp. 285–301.
  13. [13] T.-A. Drăgan, A. Künzner, R. Wille, and J. M. Lorenz, “Continuous quantum reinforcement learning for robot navigation,” in Proc. Int. Conf. Agents and Artificial Intelligence (ICAART), vol. 1, 2025, pp. 807–814.
  14. [14] A. Sinha, A. Macaluso, and M. Klusch, “Nav-Q: Quantum deep reinforcement learning for collision-free navigation of self-driving cars,” Quantum Machine Intelligence, vol. 7, no. 1, Art. 19, 2025.
  15. [15] H. Nigatu, G. Shi, J. Li, J. Wang, G. Lu, and H. Li, “Quantum machine learning and Grover’s algorithm for quantum optimization of robotic manipulators,” IEEE Robotics and Automation Letters, vol. 10, no. 12, pp. 13090–13097, Dec. 2025.
  16. [16] H. Nigatu, G. Shi, J. Li, G. Lu, and H. Li, “Quantum machine learning for robotics: A comprehensive review of algorithms, applications, and future directions,” Journal of Intelligent Unmanned Systems, vol. 1, no. 1, 2026.
  17. [17] J. Preskill, “Quantum computing in the NISQ era and beyond,” Quantum, vol. 2, Art. 79, 2018.
  18. [18] M. Cerezo, A. Arrasmith, R. Babbush, S. C. Benjamin, S. Endo, K. Fujii, J. R. McClean, K. Mitarai, X. Yuan, L. Cincio, and P. J. Coles, “Variational quantum algorithms,” Nature Reviews Physics, vol. 3, pp. 625–644, 2021.
  19. [19] D. Beechey, T. M. S. Smith, and Ö. Şimşek, “Explaining reinforcement learning with Shapley values,” in Proc. Int. Conf. Machine Learning, PMLR, vol. 202, 2023, pp. 2003–2014.
  20. [20] N. Brindise, A. P. Moreno, C. Langbort, and S. Trimpe, “Pointwise-in-time diagnostics for reinforcement learning during training and runtime,” in Proc. Learning for Dynamics and Control Conf., PMLR, vol. 242, 2024, pp. 694–706.
  21. [21] R. Heese, T. Gerlach, S. Mücke, S. Müller, M. Jakobs, and N. Piatkowski, “Explaining quantum circuits with Shapley values: Towards explainable quantum machine learning,” Quantum Machine Intelligence, vol. 7, no. 1, Art. 27, 2025.
  22. [22] S. Huang and S. Ontañón, “A closer look at invalid action masking in policy gradient algorithms,” in Proc. Int. Florida Artificial Intelligence Research Society Conf., vol. 35, 2022, doi: 10.32473/flairs.v35i.130584.
  23. [23] P. Henderson, R. Islam, P. Bachman, J. Pineau, D. Precup, and D. Meger, “Deep reinforcement learning that matters,” in Proc. AAAI Conf. Artificial Intelligence, vol. 32, no. 1, 2018.
  24. [24] R. Agarwal, M. Schwarzer, P. S. Castro, A. C. Courville, and M. G. Bellemare, “Deep reinforcement learning at the edge of the statistical precipice,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 29304–29320.
  25. [25] J. Pineau, P. Vincent-Lamarre, K. Sinha, V. Larivière, A. Beygelzimer, F. d’Alché-Buc, E. Fox, and H. Larochelle, “Improving reproducibility in machine learning research: A report from the NeurIPS 2019 reproducibility program,” Journal of Machine Learning Research, vol. 22, no. 164, pp. 1–20, 2021.
  26. [26] T. Lebo, S. Sahoo, and D. McGuinness, Eds., “PROV-O: The PROV ontology,” W3C Recommendation, Apr. 2013. [Online]. Available: https://www.w3.org/TR/prov-o/
  27. [27] S. Martello, D. Pisinger, and D. Vigo, “The three-dimensional bin packing problem,” Operations Research, vol. 48, no. 2, pp. 256–267, 2000.
  28. [28] T. G. Crainic, G. Perboli, and R. Tadei, “Extreme point-based heuristics for three-dimensional bin packing,” INFORMS Journal on Computing, vol. 20, no. 3, pp. 368–384, 2008.
  29. [29] F. Wang and K. Hauser, “Dense robotic packing of irregular and novel 3D objects,” IEEE Transactions on Robotics, vol. 38, no. 2, pp. 1160–1173, 2022.
  30. [30] A. Santos, N. F. Duarte, A. Dehban, and J. Santos-Victor, “Learning the sequence of packing irregular objects from human demonstrations: Towards autonomous packing robots,” in Proc. IEEE RAS/EMBS Int. Conf. Biomedical Robotics and Biomechatronics (BioRob), 2024, pp. 951–957.
  31. [31] J. Schulman, P. Moritz, S. Levine, M. Jordan, and P. Abbeel, “High-dimensional continuous control using generalized advantage estimation,” in Proc. Int. Conf. Learning Representations (ICLR), 2016.
  32. [32] National Institute of Standards and Technology, “Secure hash standard (SHS),” FIPS PUB 180-4, Aug. 2015, doi: 10.6028/NIST.FIPS.180-4.