betaFeedback

WorksPhysics and Astronomy

High-Fidelity Remote Graph State Preparation for Blind Quantum Computation

Abstract

Measurement-based quantum computation (MBQC) relies on entangled graph states, yet existing remote state preparation (RSP) protocols prepare only separable states, requiring subsequent entangling gates on the remote server. Here, we introduce Remote Graph State Preparation (RGSP), a framework that prepares arbitrary graph states directly from a single high-dimensional photonic qudit. By encoding multiple qubits and their graph connectivity into the photon's structured phase profile, RGSP can reduce or, for small computations, completely eliminate the need for server-side entangling operations among qubits. We show that under a reasonable noise model the resulting state fidelity is independent of the graph topology. Under cumulative fiber phase drift, we demonstrate that this fidelity is significantly enhanced by a ``highest-weight-first'' mode reordering strategy. Finally, we show that RGSP enables reduced-SWAP universal blind quantum computing on arbitrary topologies, reducing qubit overhead e.g., for a six-qubit Quantum Fourier Transform from 420420 RSP qubits with a standard brickwork topology to 4848 RSP qubits. These results establish RGSP as a resource-efficient, topology-invariant primitive for quantum-secured cloud computing.

Introduction

Large-scale fault-tolerant quantum computers are expected to be accessed primarily through the cloud, as building and maintaining quantum hardware remains technologically demanding and prohibitively expensive [1, 2, 3, 4, 5]. In this delegated computing model, a client delegates a quantum computation to a remote quantum server and, if they possess the ability to remotely prepare qubit states on the server, may keep their input, algorithm, and output private i.e., blind quantum computation (BQC) [6, 7]. Measurement-based quantum computation (MBQC) is particularly suited to implementing BQC because once clients prepare randomly rotated single-qubit states and send classical measurement instructions, while the server entangles and measures the universal graph-state resource [8, 9]. Efficient remote preparation of many qubit product and graph states is therefore a fundamental challenge for secure quantum networks.

To address this, remote state preparation (RSP) protocols have been developed to quickly and reliably generate target states on a remote quantum processor using quantum links and classical communication [10, 11]. Many RSP implementations prepare individual qubits [12, 13, 14, 15, 16, 17]: in the absence of quantum error correction, sequential register preparation exposes early qubits to memory decoherence while the remaining qubits are prepared [18, 19, 20]. High-dimensional photonic encoding [21, 22] addresses this waiting-time overhead by encoding nn qubits across 2n2^n coherent optical modes of one photon and heralding their preparation jointly [23]. Reflection-based entanglement generation has also been investigated previously [24, 25, 26].

In this Letter, we develop a protocol for Remote Graph State Preparation (RGSP), allowing the preparation of arbitrary graphs on a remote quantum cloud using a single high-dimensional photon1. Extending product-state preparation ⨂i=1n∣+θi⟩\bigotimes_{i=1}^{n} \lvert+_{\theta_i}\rangle to graph states provides the entangled resources required for graph-based universal MBQC [12, 29]. Within a blind protocol, this allows client-programmed connectivity without disclosing the graph topology, rather than requiring a fixed brickwork or cluster resource [8, 30, 31, 32]. Directly preparing the required connectivity can reduce the SWAP routing overhead associated with nonlocal interactions on nearest-neighbour architectures [33], thereby reducing graph size, circuit depth, and opportunities for error.

RGSP also reduces (or, for small computations, eliminates) the need for direct entangling gates on the server side, shifting the computational complexity from server-side graph-state preparation to client-side photonic engineering. We show that the preparation fidelity is independent of graph topology, depends only on optical phase noise, and naturally enables highly efficient, reduced-SWAP universal blind quantum computation on arbitrary topologies. Beyond BQC, we also discuss quantum position verification [34, 35] and multi-party delegated computation [36], highlighting RGSP as a general resource-generation primitive for remote quantum computation.

Theory. We consider single photon distributed coherently over d=2nd=2^n temporal modes encodes an nn-qubit basis through x⃗∈{0,1}n\vec{x}\in\{0,1\}^n [23]:

∣ψc⟩=∑x⃗∈{0,1}ncx⃗eiϕx⃗∣1⟩x⃗,(1)\lvert\psi_{\mathsf{c}}\rangle= \sum_{\vec{x}\in\{0,1\}^n} c_{\vec{x}}e^{i\phi_{\vec{x}}}\lvert1\rangle_{\vec{x}}, \tag*{(1)}

where ∣1⟩x=ax†∣vac⟩\lvert1\rangle_x = a_x^\dagger\lvert\mathrm{vac}\rangle and ∑x∣cx∣2=1\sum_x \lvert c_x\rvert^2 = 1. The amplitudes can compensate for mode-dependent loss (Appendix D). For a target graph state ∣G⟩\lvert G\rangle with adjacency matrix AA and local rotation angles θ⃗\vec{\theta}, the client programs:

ϕx=∑iθixi+π∑i<jAijxixj(mod2π).(2)\phi_x = \sum_i \theta_i x_i + \pi\sum_{i<j} A_{ij}x_i x_j \pmod{2\pi}. \tag*{(2)}

The linear and quadratic terms specify local rotations and graph connectivity, respectively. As this qudit propagates through the server’s quantum register (Figure 1), the phase pattern is transferred to the matter qubits via a fixed light–matter interaction sequence [23]. Erasing the which-time-bin information via a quantum Fourier transform (QFT) or a time lens subsequently projects the atomic register into the target entangled state ∣G⟩\lvert G\rangle without requiring physical two-qubit gates on the server side. Consequently, changing AA therefore selects arbitrary graph connectivity within the same interaction sequence (Figure 2); see Appendices A and B.

Figure 1. Overview of Remote Graph State Preparation (RGSP) for measurement-based blind quantum computation. (a) The client encodes both the local phases and the graph connectivity into the phase function of a single high-dimensional photon. Photon–matter interactions and which-mode erasure herald the remote graph state, up to known local corrections. (b) Adaptive single-qubit measurements consume the prepared resource for MBQC. See Appendix B.

Figure 2. Representative graph states illustrating that RGSP directly prepares arbitrary target graph states by changing only the adjacency matrix AijA_{ij} in Eq. (2).

Topology-independent fidelity. An immediate consequence in Eq. (2) is that the preparation fidelity is independent of the encoded graph topology. For an ideal normalized state with basis weights wxw_x under fiber phase noise, stochastic phase errors ϵx\epsilon_x give:

F=∣∑xwxeiϵx∣2,wx=∣cx∣2.(3)F = \left|\sum_x w_x e^{i\epsilon_x}\right|^2,\qquad w_x = \lvert c_x\rvert^2. \tag*{(3)}

The programmed phases ϕx\phi_x cancel in the ideal–noisy overlap ⟨ψideal∣ψnoisy⟩\langle\psi_{\mathrm{ideal}}\vert\psi_{\mathrm{noisy}}\rangle (Appendix C). Under identical experimental conditions, a highly connected graph (such as a QFT resource state) can be prepared with the exact same fidelity as a simple one-dimensional chain, and without revealing to the server any information about the topology of the graph prepared except for its size. This topological invariance shifts the scalability limit of secure delegated quantum computing from the complexity of the target algorithm to the phase stability of the optical link.

Furthermore, because the fidelity in Eq. (3) is invariant under ϵx↦ϵx+ϵ0\epsilon_x \mapsto\epsilon_x+\epsilon_0, so common-mode phase drift does not affect this fidelity. As in dual-rail photonic encoding [37], the relevant quantity is relative phase. RGSP therefore requires relative phase stability between the temporal modes of a single photon, over the relevant pulse-train duration, rather than stabilization of a shared absolute optical phase between distant nodes as required in interferometric single-click schemes [14, 38].

Noise models. Having established that the fidelity is independent of the encoded graph topology, the remaining limitation of RGSP arises from phase noise during transmission. We consider two experimentally relevant fiber phase-noise models that capture different stabilization regimes.

  1. Independent and identically distributed (IID) phase noise: This model assumes independent Gaussian phase fluctuations ϵx∼N(0,σ2)\epsilon_x \sim\mathcal{N}(0,\sigma^2) between temporal modes. This approximation is appropriate when active phase stabilization suppresses long-term drift, which describes uncorrelated residual errors.

  1. Cumulative phase noise: This model describes a discretized Wiener process (Brownian motion), where cumulative drift with independent Gaussian increments between successive temporal modes, capturing the gradual phase evolution expected in passively stabilized optical fibers.

Because the mode-dependent transmission losses scale exponentially with the Hamming weight H(x)H(x), compensation requires assigning exponentially larger weights wxw_x to high-Hamming-weight modes to equalize their conditional contributions at the server register (see Figure 8 in the Supplemental Material). Under cumulative Wiener phase noise, the phase variance of the kk-th temporal mode scales as ⟨δϕk2⟩=kσϕ2\langle\delta\phi_k^2\rangle= k\sigma_{\phi}^{2}, meaning later modes suffer from larger phase drift. Since the overall fidelity in Eq. (3) is dominated by a weighted sum, any dephasing in the heavily weighted modes rapidly degrades the fidelity.

Figure 8. Average loss-compensated mode weight wx=∣cx∣2w_x = |c_x|^2 as a function of the normalized Hamming weight H(x)/nH(x)/n for n=3n = 3 to n=8n = 8. The weight grows rapidly with Hamming weight, reflecting the stronger attenuation of high-weight modes. This effect becomes more pronounced for larger systems because the range of accessible Hamming weights expands with nn, leading to a broader distribution of transmission efficiencies.

To mitigate this, we propose a highest-weight-first (High-H First) mode-ordering strategy. By reordering the pulse sequence to transmit high-Hamming-weight modes first, we ensure that the most critical, heavily weighted components are transmitted at the beginning of the pulse train, before the Wiener process accumulates significant drift. As showed in Figure 3, this simple mode-ordering strategy improves the prepared graph-state fidelity without modifying either the optical hardware or the RGSP protocol, with the performance gain becoming increasingly pronounced for larger system sizes.

Figure 3. Output graph-state fidelity as a function of fiber transmission distance for n=6n = 6 (left) and n=12n = 12 (right). Blue curves assume independent Gaussian phase fluctuations between temporal modes, while green curves correspond to cumulative phase drift modeled as a Wiener process. Orange curves show the cumulative-noise model with the proposed highest-weight-first pulse ordering. The model uses σϕ2(L)=2DϕL\sigma_{\phi}^{2}(L) = 2D_{\phi}L, with Dϕ=4×10−4 rad2/kmD_{\phi} = 4 \times10^{-4}\,\mathrm{rad}^{2}/\mathrm{km}. The interpretation of the ordering gain depends on the mode weights used in Eq. (3).

Graph-to-graph transformations. The phase-function representation also provides a unified description of transformations between graph states e.g., by an intermediate client that can modify the phase of each pulse. Let Δ\Delta be a symmetric binary matrix with zero diagonal, specifying an edge-toggle pattern: Δij=1\Delta_{ij} = 1 removes edge (i,j)(i,j) if present and adds it if absent. Applying the quadratic phase update:

ϕA⊕Δ(x)=ϕA(x)+π∑i<jΔijxixj(mod2π)(4)\phi_{A\oplus\Delta}(x) = \phi_A(x) + \pi\sum_{i<j}\Delta_{ij}x_i x_j \pmod{2\pi} \tag*{(4)}

therefore maps the encoded adjacency matrix from AA to A⊕ΔA \oplus\Delta, while leaving the local phases θ⃗\vec{\theta} unchanged. Here, ⊕\oplus denotes element-wise addition modulo two.

For a specified initial graph AA and target graph A′A', the required toggle pattern is:

Δ=A⊕A′.(5)\Delta= A \oplus A'. \tag*{(5)}

Determining this pattern requires sufficient information to identify the adjacency difference. Once Δ\Delta is specified, however, implementing its phase update requires no knowledge of AA or θ⃗\vec{\theta} (Figure 4).

Graph-to-graph transformation through phase-function updates

Figure 4. Graph-to-graph transformation through phase-function updates. A prescribed edge-toggle pattern Δ\Delta adds the quadratic phase π∑i<jΔijxixj\pi\sum_{i<j}\Delta_{ij}x_i x_j, mapping the encoded graph AA to A′=A⊕ΔA' = A \oplus\Delta while preserving the local phases. Implementing this update requires only Δ\Delta, whereas determining the pattern for a specified target A′A' requires the adjacency difference A⊕A′A \oplus A'. Sequential client contributions compose by addition modulo two. See Appendix § 1.6 for details.

Application: Reduced-SWAP Universal Blind Quantum Computation. — Direct preparation of arbitrary graph states fundamentally changes how universal blind quantum computation (UBQC) is implemented [6]. We propose a three-dimensional tube-graph model to illustrate the architectural advantage of RGSP-assisted UBQC (Figure 5). In this model, each cross-sectional slice corresponds to one complete graph state prepared from a single optical pulse, while the longitudinal direction represents the logical measurement depth of the computation. Long-range interactions within each qudit slice are generated via phase encoding, completely eliminating the need for SWAP operations within the slice. While communication between separate temporal qudit still requires SWAP gates across the longitudinal communication backbone, the number of SWAP operations is substantially reduced.

Figure 5. Conceptual tube-graph representation of RGSP-assisted UBQC. Each cross-sectional slice represents one complete graph state prepared from a single optical pulse, while the longitudinal direction corresponds to the logical measurement depth with server-generated entanglement between slices within each tube. The central tube acts as an entanglement backbone, so that SWAP operations (or CZ gates) are required only to generate entanglement across tubes.

To quantify this resource advantage, we compare the qubit resources required to implement the NN-qubit QFT [39], which is a building block for blind quantum machine learning [40]. For a brickwork topology:

NRSP=(brickwork depth)×4×(circuit width),(6)N_{\mathrm{RSP}} = (\text{brickwork depth}) \times4 \times(\text{circuit width}), \tag*{(6)}

with much of the brickwork depth coming from SWAP gates across non-adjacent qubits. For a six-qubit QFT (QFT6_6), we use the MasonQ transpiler to find a minimal brickwork state of 420 remotely prepared qubits due to the heavy SWAP overhead. Using 6-qubit RGSP to remove SWAP gates, the same QFT is executed using only 48 remotely prepared qubits. This small example illustrates a dramatic saving of nearly 90% of the relevant quantum resource (Table I and Figure 10).

QFT SizeRGSP (no SWAPs)Standard RSP (with SWAPs)Resource Advantage
QFT36×4=246 \times4 = 2426×4=10426 \times4 = 10476.9%
QFT48×4=328 \times4 = 3245×4=18045 \times4 = 18079.1%
QFT510×4=4010 \times4 = 4070×4=28070 \times4 = 28081.4%
QFT612×4=4812 \times4 = 48105×4=420105 \times4 = 42088.6%

Table I. Remotely prepared qubit resources for QFT implementations using RGSP and standard sequential RSP. RGSP directly prepares the target graph without SWAP operations, whereas standard RSP uses a fixed universal resource with SWAP-based routing. The resource advantage denotes the relative reduction in remotely prepared qubits, 1−NRGSP/NRSP1 - N_{\mathrm{RGSP}}/N_{\mathrm{RSP}}.

Figure 10. Number of qubits required for QFT resource-state preparation. The curves correspond to the data in Table I. The blue curve shows RGSP, while the orange curve shows conventional RSP with SWAP overhead. The resource savings provided by RGSP become more significant as the QFT size increases.

Trap-based verification [41, 42]. Traditional UBQC uses dummy qubits to isolate selected trap locations from the computational resource to verify that the server faithfully implements the protocol. Since RGSP allows the client to directly prepare arbitrary graph states, trap qubits can be incorporated directly into the target graph. To isolate a trap qubit i∈{1,…,n}i \in\{1,\ldots,n\} at a secret angle θi\theta_i, the client simply sets the adjacency matrix elements to Aij=Aji=0A_{ij}=A_{ji}=0 for all j≠ij \ne i. This decouples the trap vertex from the rest of the graph, causing the multi-qubit phase function to factorize as:

ϕx=ϕxrest(comp)+θixi(mod2π),(7)\phi_x = \phi^{(\mathrm{comp})}_{x_{\mathrm{rest}}} + \theta_i x_i \pmod{2\pi}, \tag*{(7)}

where xrestx_{\mathrm{rest}} denotes the remaining bits. Consequently, the prepared state on the server factorizes into a product state:

∣ΨG⟩=∣Ψcomp⟩⊗∣+θi⟩i.(8)|\Psi_G\rangle= |\Psi_{\mathrm{comp}}\rangle\otimes|+\theta_i\rangle_i. \tag*{(8)}

The server remains completely blind to the trap’s presence because all temporal modes propagate through the same physical setup [6, 41] (Figure 6), with performance agnostic to the graph topology. The client can then instruct the server to measure the trap in the Bθi={∣+θi⟩,∣−θi⟩}B_{\theta_i}=\{|+\theta_i\rangle,|-\theta_i\rangle\} basis. For an honest server, the decoded outcome si=bi⊕ris_i=b_i\oplus r_i is deterministically 0, providing a simple verification witness.

Figure 6. Direct preparation of a graph state containing an isolated trap qubit. Qubit 6 remains in the state ∣+θ6⟩|+\theta_6\rangle while the remaining qubits form the computational graph.

Applications beyond blind quantum computation. Beyond UBQC, the ability to directly prepare arbitrary graph states may also benefit distributed graph-state protocols, including quantum position verification (QPV) and multi-party delegated quantum computation.

For QPV, encoding many logical qubits into a single transmitted photon is particularly attractive for protocols requiring multiple qubits to arrive within a relativistic time window, such as in parallel QPV [34] or moving-prover scenarios like the Quantum Boat protocol [35]. Whereas independent transmission succeeds with probability ηtn\eta_t^n, RGSP distributes all logical qubits within one photon, giving an overall transmission probability proportional to ηt\eta_t. This substantially improves the transmission success probability of many-qubit graph-state resources while remaining compatible with relativistic timing constraints (Appendix § 1.8).

RGSP also provides a graph-state preparation primitive for multi-party delegated quantum computation. A multi-client QLine architecture has already been demonstrated experimentally, with proposed applications such as federated quantum machine learning [36, 43]. RGSP provides a complementary approach by enabling sequential phase accumulation on a single propagating qudit within such a QLine architecture, with amenability to near-term all-optical implementation as the technology for many-qubit quantum servers matures [36] (Figure 12).

Using RGSP in a multi-party architecture

Figure 12. Using RGSP in a multi-party architecture in the style of QLine [36]. A single photon is distributed across 2n2^n optical modes and sequentially acquires secret phase contributions from multiple clients. The accumulated phase pattern encodes both the local computational angles and the graph-state correlations. For a near term implementation in the absence of a quantum server that holds a memory register, a 2n2^n-mode interferometer implementing H⊗nH^{\otimes n} mixes all optical modes coherently, and the detector samples the output probability distribution corresponding to the delegated computation.

Conclusions.— RGSP offers a scalable and noise-robust route toward near-term delegated quantum processors to perform quantum-secured delegated tasks, freeing UBQC protocols from the brickwork topology and easing implementation of traps for verification. While simultaneous preparation of an entire graph (or hypergraph [44]) for a large computation is prohibited by the exponential scaling in temporal modes (emphatically, there is no free lunch), sub-graphs can be glued together in the tube-graph framework we propose. For small computations, the removal of server-side multi-qubit gates eases the implementation of near-term UBQC experiments. Furthermore, the native client operations (including single qubit rotations and graph-to-graph transformations) provide a framework both for multi-client protocols for distributed computation in the style of QLine as well as QPV, and possibly more protocols waiting to be discovered. We hope that RGSP, by enabling a new method of delegated computation, accelerates the development of quantum-network protocols and applications.

Acknowledgements.— We are grateful to Florian Wiesner for helpful conversations about this project. TzBP gratefully acknowledges support from the Quantum Software Consortium Ada Lovelace Fellowship. This work was funded by the European Union’s Horizon Europe research and innovation programme under grant agreement No. 101102140 – QIA Phase 1. BT acknowledge the support of Danmarks Grundforskningsfond (DNRF Grant No. 139, Hy-Q Center for Hybrid Quantum Networks).

References

Derivation of the graph-state phase-function representation

A graph state ∣G⟩|G\rangle associated with an undirected, simple graph G=(V,E)G=(V,E) on nn vertices is conventionally defined by applying controlled-phase (CZCZ) gates to a uniform product state superposition of all qubits initialized in the ∣+⟩|+\rangle state [29, 45]:

∣G⟩=∏(i,j)∈ECZij∣+⟩⊗n,(9)|G\rangle= \prod_{(i,j)\in E} CZ_{ij}|+\rangle^{\otimes n}, \tag*{(9)}

where ∣+⟩=∣0⟩+∣1⟩2|+\rangle= \frac{|0\rangle+|1\rangle}{\sqrt{2}}. The initial unentangled state ∣+⟩⊗n|+\rangle^{\otimes n} can be expanded in the computational basis as:

∣+⟩⊗n=12n/2∑x⃗∈{0,1}n∣x⃗⟩,(10)|+\rangle^{\otimes n} = \frac{1}{2^{n/2}}\sum_{\vec{x}\in\{0,1\}^{n}}|\vec{x}\rangle, \tag*{(10)}

where ∣x⃗⟩=∣x1x2…xn⟩|\vec{x}\rangle=|x_1x_2\ldots x_n\rangle is the computational basis state corresponding to the nn-bit string x⃗\vec{x}.

Since the CZijCZ_{ij} gate acts on the computational basis as CZij∣xixj⟩=(−1)xixj∣xixj⟩CZ_{ij}|x_ix_j\rangle=(-1)^{x_ix_j}|x_ix_j\rangle, the application of all gates corresponding to the edge set EE yields:

∣G⟩=12n/2∑x⃗∈{0,1}n(−1)∑(i,j)∈Exixj∣x⃗⟩(11)|G\rangle= \frac{1}{2^{n/2}}\sum_{\vec{x}\in\{0,1\}^{n}}(-1)^{\sum_{(i,j)\in E}x_ix_j}|\vec{x}\rangle \tag*{(11)}
=12n/2∑x⃗∈{0,1}neiπ∑i<jAijxixj∣x⃗⟩,(12)= \frac{1}{2^{n/2}}\sum_{\vec{x}\in\{0,1\}^{n}}e^{i\pi\sum_{i<j}A_{ij}x_ix_j}|\vec{x}\rangle, \tag*{(12)}

where AA is the symmetric n×nn\times n binary adjacency matrix of the graph GG, with Aij=1A_{ij}=1 if (i,j)∈E(i,j)\in E and Aij=0A_{ij}=0 otherwise.

To prepare graph states for MBQC, the phases θ⃗=(θ1,…,θn)\vec{\theta}=(\theta_1,\ldots,\theta_n) are assigned to each qubit, introducing the linear phase contribution exp⁡(i∑i=1nθixi)\exp(i\sum_{i=1}^{n}\theta_i x_i). Combining the local phases with the graph-dependent quadratic phase yields [23]:

∣G(θ⃗)⟩=12n/2∑x⃗∈{0,1}neiϕx⃗∣x⃗⟩,(13)|G(\vec{\theta})\rangle= \frac{1}{2^{n/2}}\sum_{\vec{x}\in\{0,1\}^{n}}e^{i\phi_{\vec{x}}}|\vec{x}\rangle, \tag*{(13)}

where

ϕx⃗:=∑i=1nθixi+π∑i<jAijxixj.(14)\phi_{\vec{x}} := \sum_{i=1}^{n}\theta_i x_i+\pi\sum_{i<j}A_{ij}x_ix_j. \tag*{(14)}

Here, the linear term specifies the local single-qubit rotations and the quadratic term determines the graph topology through the adjacency matrix. Eq. (A6) is identical to the phase function introduced in Eq. (2).

RGSP protocol

We describe the physical implementation of RGSP, which realizes the phase-function representation derived in Appendix Appendix § 1.2 using a single high-dimensional photonic qudit. The overall protocol is illustrated in Figure 1.

Encoded photonic state The client specifies the target graph G=(V,E)G=(V,E) and the local preparation angles θ⃗=(θ1,…,θn)\vec{\theta}=(\theta_1,\ldots,\theta_n). In a BQC application, these preparation angles are combined with the computation angles, classical randomization, and adaptive corrections when determining the subsequent measurement instructions. The client computes the complete phase function ϕx⃗\phi_{\vec{x}} according to Eq. (2) and prepares a single photon in a coherent superposition over d=2nd=2^n temporal (or spatial) modes [46, 47, 48, 49]:

∣ψc⟩=∑x⃗∈{0,1}ncx⃗eiϕx⃗ax⃗†∣vac⟩,(15)|\psi_c\rangle=\sum_{\vec{x}\in\{0,1\}^n}c_{\vec{x}}e^{i\phi_{\vec{x}}}a_{\vec{x}}^\dagger|\mathrm{vac}\rangle, \tag*{(15)}

Here, ax⃗†a_{\vec{x}}^\dagger creates a single photon in mode xx, and ∑x⃗∣cx⃗∣2=1\sum_{\vec{x}}|c_{\vec{x}}|^2=1. For ideal lossless preparation, cx⃗=2−n/2c_{\vec{x}}=2^{-n/2}. If mode-dependent attenuation is present, the input amplitudes can instead be chosen to compensate for the corresponding transmission amplitudes, so that the successfully transmitted state has equal mode amplitudes.

Light-matter interaction The server initializes its nn memory qubits (such as trapped ions or solid-state spins) in ∣+⟩⊗n|+\rangle^{\otimes n}. Conditioned on the photonic mode label x⃗\vec{x}, the light–matter interaction applies ⨂i=1nZixi\bigotimes_{i=1}^{n}Z_i^{x_i} to the register. Applying H⊗nH^{\otimes n} to the memories then maps:

H⊗n(⨂i=1nZixi)∣+⟩⊗n=∣x⃗⟩s.(16)H^{\otimes n}\left(\bigotimes_{i=1}^{n}Z_i^{x_i}\right)|+\rangle^{\otimes n}=|\vec{x}\rangle_s. \tag*{(16)}

Thus, the joint state [23]:

∣Φ⟩=∑x⃗∈{0,1}ncx⃗eiϕx⃗ax⃗†∣vac⟩⊗∣x⃗⟩s,(17)|\Phi\rangle=\sum_{\vec{x}\in\{0,1\}^n}c_{\vec{x}}e^{i\phi_{\vec{x}}}a_{\vec{x}}^\dagger|\mathrm{vac}\rangle\otimes|\vec{x}\rangle_s, \tag*{(17)}

where ∣x⃗⟩s|\vec{x}\rangle_s denotes the computational basis state of the server’s memory register.

Which-mode erasure & heralded projection To project the memory register into the target entangled graph state, the photonic modes are mixed in a multi-port interferometric network (e.g., a time-lens or a spectral QFT network) implementing H⊗nH^{\otimes n} to erase the path and time-bin information. Conditioned on a single-photon detection click at the output, the which-mode information is completely erased, projecting the remote memories into the state:

∣Ψ⟩=12n/2∑x⃗∈{0,1}nexp⁡[i(∑i=1nθixi+π∑i<jAijxixj)]∣x⃗⟩s.(18)|\Psi\rangle=\frac{1}{2^{n/2}}\sum_{\vec{x}\in\{0,1\}^n}\exp\left[i\left(\sum_{i=1}^{n}\theta_i x_i+\pi\sum_{i<j}A_{ij}x_i x_j\right)\right]|\vec{x}\rangle_s. \tag*{(18)}

Since eiπxixj=(−1)xixje^{i\pi x_i x_j}=(-1)^{x_i x_j}, this state is mathematically equivalent to ∣G(θ⃗)⟩|G(\vec{\theta})\rangle, which is the desired entangled graph state on the server.

Integration with MBQC After successful heralding, the prepared graph state is consumed as the computational resource for MBQC. The server performs the prescribed single-qubit measurements and returns the measurement outcomes bk∈{0,1}b_k\in\{0,1\}. The client uses these outcomes together with the classical description of the computation to determine the adaptive measurement angles for subsequent qubits.

Example: Two-Qubit State Preparation with One Photon

To illustrate the phase-encoding mechanism of RGSP, we analyze the explicit preparation of a two-qubit graph state (n=2n=2) using a single photon distributed across d=22=4d=2^2=4 optical modes.

The client prepares a single photon in a coherent superposition over modes labelled by bitstrings x⃗=(x1,x2)∈{0,1}2\vec{x}=(x_1,x_2)\in\{0,1\}^2,

∣ψc⟩=∑x⃗∈{0,1}2cx⃗eiϕx⃗ax⃗†∣vac⟩,(19)|\psi_c\rangle=\sum_{\vec{x}\in\{0,1\}^2}c_{\vec{x}}e^{i\phi_{\vec{x}}}a_{\vec{x}}^\dagger|\mathrm{vac}\rangle, \tag*{(19)}

where ax⃗†a_{\vec{x}}^\dagger creates a photon in mode xx. For equal mode amplitudes (cx⃗=1/2c_{\vec{x}}=1/2), the state expands as:

∣ψc⟩=12(eiϕ00∣100⟩+eiϕ01∣101⟩+eiϕ10∣110⟩+eiϕ11∣111⟩).(20)|\psi_c\rangle=\frac{1}{2}\left(e^{i\phi_{00}}|100\rangle+e^{i\phi_{01}}|101\rangle+e^{i\phi_{10}}|110\rangle+e^{i\phi_{11}}|111\rangle\right). \tag*{(20)}

The server initializes two memory qubits in ∣+⟩⊗2|+\rangle^{\otimes2}. Conditioned on the photonic mode label x⃗=(x1,x2)\vec{x}=(x_1,x_2), the photon induces phase flips on the corresponding memory qubits:

∣1⟩x⃗∣+⟩⊗2⟶∣1⟩x⃗Z1x1Z2x2∣+⟩⊗2.(21)|1\rangle_{\vec{x}}|+\rangle^{\otimes2}\longrightarrow|1\rangle_{\vec{x}}Z_1^{x_1}Z_2^{x_2}|+\rangle^{\otimes2}. \tag*{(21)}

Since Z∣+⟩=∣−⟩Z|+\rangle=|-\rangle, the joint photon–memory state becomes:

∣Ψ⟩=12(eiϕ00∣100⟩∣+ +⟩+eiϕ01∣101⟩∣+ −⟩+eiϕ10∣110⟩∣− +⟩+eiϕ11∣111⟩∣− −⟩).(22)|\Psi\rangle=\frac{1}{2}\left(e^{i\phi_{00}}|100\rangle|+\,+\rangle+e^{i\phi_{01}}|101\rangle|+\,-\rangle+e^{i\phi_{10}}|110\rangle|-\,+\rangle+e^{i\phi_{11}}|111\rangle|-\, -\rangle\right). \tag*{(22)}

Applying Hadamard gates to the memory qubits maps H∣+⟩=∣0⟩H|+\rangle=|0\rangle and H∣−⟩=∣1⟩H|-\rangle=|1\rangle. Hence, the joint photon–matter state becomes:

∣Ψ⟩=12(eiϕ00∣100⟩∣00⟩+eiϕ01∣101⟩∣01⟩+eiϕ10∣110⟩∣10⟩+eiϕ11∣111⟩∣11⟩).(23)|\Psi\rangle=\frac{1}{2}\left(e^{i\phi_{00}}|100\rangle|00\rangle+e^{i\phi_{01}}|101\rangle|01\rangle+e^{i\phi_{10}}|110\rangle|10\rangle+e^{i\phi_{11}}|111\rangle|11\rangle\right). \tag*{(23)}

Applying the erasure operator ⟨χ∣=12∑x⃗∈{0,1}2⟨1∣x⃗\langle\chi|=\frac{1}{2}\sum_{\vec{x}\in\{0,1\}^2}\langle1|_{\vec{x}} projects the optical modes onto a uniform superposition, leaving the remote memories in the unnormalized state:

⟨χ∣Ψ⟩=14(eiϕ00∣00⟩+eiϕ01∣01⟩+eiϕ10∣10⟩+eiϕ11∣11⟩).(24)\langle\chi|\Psi\rangle=\frac{1}{4}\left(e^{i\phi_{00}}|00\rangle+e^{i\phi_{01}}|01\rangle+e^{i\phi_{10}}|10\rangle+e^{i\phi_{11}}|11\rangle\right). \tag*{(24)}

Normalizing the register state gives:

∣Ψs⟩=12(eiϕ00∣00⟩+eiϕ01∣01⟩+eiϕ10∣10⟩+eiϕ11∣11⟩).(25)|\Psi_s\rangle=\frac{1}{2}\left(e^{i\phi_{00}}|00\rangle+e^{i\phi_{01}}|01\rangle+e^{i\phi_{10}}|10\rangle+e^{i\phi_{11}}|11\rangle\right). \tag*{(25)}

To prepare the entangled target state ∣G⟩=CZ12∣+θ1⟩∣+θ2⟩|G\rangle= CZ_{12}|+_{\theta_1}\rangle|+_{\theta_2}\rangle, we program the phase function using the quadratic rule of Eq. (2):

ϕx⃗=θ1x1+θ2x2+πx1x2.(26)\phi_{\vec{x}} = \theta_1 x_1 + \theta_2 x_2 + \pi x_1 x_2. \tag*{(26)}

This prescribes the optical phases:

ϕ00=0,ϕ01=θ2,ϕ10=θ1,ϕ11=θ1+θ2+π.(27)\phi_{00}=0,\quad\phi_{01}=\theta_2,\quad\phi_{10}=\theta_1,\quad\phi_{11}=\theta_1+\theta_2+\pi. \tag*{(27)}

Substituting these phases back into Eq. (25) yields:

∣Ψs⟩=12(∣00⟩+eiθ2∣01⟩+eiθ1∣10⟩−ei(θ1+θ2)∣11⟩),(28)|\Psi_s\rangle= \frac{1}{2}\left(|00\rangle+ e^{i\theta_2}|01\rangle+ e^{i\theta_1}|10\rangle- e^{i(\theta_1+\theta_2)}|11\rangle\right), \tag*{(28)}

which is exactly the target state CZ12∣+θ1⟩∣+θ2⟩CZ_{12}|+_{\theta_1}\rangle|+_{\theta_2}\rangle. The preparation therefore requires no direct entangling gates between the server’s memory qubits; entanglement is generated through the photon–memory interactions and the subsequent photonic measurement.

Reflection-based protocols have previously been investigated for entanglement generation [24, 25, 26]. Building on this line of work, the present construction uses the quadratic phase π∑i<jAijxixj\pi\sum_{i<j} A_{ij}x_i x_j to specify the graph edges, while the linear phase terms specify the local rotations. The example above illustrates how this programmed phase structure is transferred to the remote memory register.

Proof of the topology-independent fidelity

We evaluate the impact of channel phase errors on the state prepared at the server register. The ideal target state prepared by the client is:

∣ψideal⟩=∑x⃗∈{0,1}ncx⃗eiϕx⃗∣x⃗⟩,(29)|\psi_{\mathrm{ideal}}\rangle= \sum_{\vec{x}\in\{0,1\}^n} c_{\vec{x}}e^{i\phi_{\vec{x}}}|\vec{x}\rangle, \tag*{(29)}

Optical phase noise in the fiber channel introduces a stochastic phase error ϵx⃗\epsilon_{\vec{x}} on each temporal mode x⃗\vec{x} during transmission, so that the actual state generated on the server is:

∣ψnoisy⟩=∑x⃗∈{0,1}ncx⃗ei(ϕx⃗+ϵx⃗)∣x⃗⟩.(30)|\psi_{\mathrm{noisy}}\rangle= \sum_{\vec{x}\in\{0,1\}^n} c_{\vec{x}}e^{i(\phi_{\vec{x}}+\epsilon_{\vec{x}})}|\vec{x}\rangle. \tag*{(30)}

The fidelity of the prepared state relative to the ideal state is defined by the overlap F=∣⟨ψideal∣ψnoisy⟩∣2F = |\langle\psi_{\mathrm{ideal}}|\psi_{\mathrm{noisy}}\rangle|^2:

⟨ψideal∣ψnoisy⟩=∑x⃗∈{0,1}n∣cx⃗∣2e−iϕx⃗ei(ϕx⃗+ϵx⃗)=∑x⃗∈{0,1}nwx⃗eiϵx⃗.(31)\begin{aligned} \langle\psi_{\mathrm{ideal}}|\psi_{\mathrm{noisy}}\rangle &= \sum_{\vec{x}\in\{0,1\}^n}|c_{\vec{x}}|^2e^{-i\phi_{\vec{x}}}e^{i(\phi_{\vec{x}}+\epsilon_{\vec{x}})}\\ &= \sum_{\vec{x}\in\{0,1\}^n}w_{\vec{x}}e^{i\epsilon_{\vec{x}}}. \tag*{(31)} \end{aligned}

where wx⃗=cx⃗2=∣cx⃗∣2w_{\vec{x}}=c_{\vec{x}}^2=|c_{\vec{x}}|^2 represents the normalized mode weights.

Details on the noise models

The fidelity FF is therefore:

F=∣∑x⃗∈{0,1}nwx⃗eiϵx⃗∣2.(32)F=\left|\sum_{\vec{x}\in\{0,1\}^n}w_{\vec{x}}e^{i\epsilon_{\vec{x}}}\right|^2. \tag*{(32)}

A fundamental physical insight is that the graph-dependent phase function ϕx⃗\phi_{\vec{x}} of Eq. (2) cancels out completely in the overlap derivation in Eq. (31). Consequently, the state fidelity depends strictly on the channel phase noise ϵx⃗\epsilon_{\vec{x}} and is fundamentally independent of the graph topology.

Furthermore, because Eq. (32) depends only on the relative phase differences between temporal modes, the protocol is immune to common-mode phase fluctuations. If a global phase drift ϵ0\epsilon_0 is added to all modes (ϵx⃗→ϵx⃗+ϵ0\epsilon_{\vec{x}}\to\epsilon_{\vec{x}}+\epsilon_0), the global phase factor eiϵ0e^{i\epsilon_0} factors out of the sum and is eliminated by the absolute value square, so that:

F=∣eiϵ0∑x⃗wx⃗eiϵx⃗∣2=∣∑x⃗wx⃗eiϵx⃗∣2.(33)F=\left|e^{i\epsilon_0}\sum_{\vec{x}}w_{\vec{x}}e^{i\epsilon_{\vec{x}}}\right|^2=\left|\sum_{\vec{x}}w_{\vec{x}}e^{i\epsilon_{\vec{x}}}\right|^2. \tag*{(33)}

Thus differential phase sensitivity demands only relative phase stability within a single qudit pulse train, rather than sub-wavelength absolute phase stabilization between remote nodes.

The fidelity analysis in the main text assumes that the dominant imperfections arise from optical phase fluctuations accumulated during the preparation and transmission of the encoded photonic pulse train. In this appendix we define the phase-noise models used throughout the numerical simulations and discuss the corresponding pulse-ordering strategy. Throughout this work we assume that amplitude loss is compensated independently through the mode amplitudes cx⃗c_{\vec{x}}, while all decoherence enters through the stochastic phase variables ϵx⃗\epsilon_{\vec{x}}.

Independent phase-noise model

The first model assumes that every temporal mode experiences an independent Gaussian phase error, the phase is:

ϕx⃗⟶ϕx⃗+ϵx⃗(L),(34)\phi_{\vec{x}}\longrightarrow\phi_{\vec{x}}+\epsilon_{\vec{x}}(L), \tag*{(34)}

where ϵx⃗(L)\epsilon_{\vec{x}}(L) denotes the fibre-induced phase noise,

ϵx⃗(L)=2πλ∫0Lδnx⃗(z) dz,(35)\epsilon_{\vec{x}}(L)=\frac{2\pi}{\lambda}\int_0^L\delta n_{\vec{x}}(z)\,dz, \tag*{(35)}

with δnx⃗(z)\delta n_{\vec{x}}(z) being the local refractive-index fluctuation along the fibre, which means the phase arises directly from an accumulated path integral of refractive-index variations.

In practice, the fibre is subject to a large number of independent perturbations e.g., thermal fluctuations, mechanical vibrations, and air currents. By the Central Limit Theorem, the integrated effect in Eq. (35) can be approximated as a normal distribution:

ϵx(L)∼N(0,σϕ2(L)),(36)\epsilon_x(L) \sim\mathcal{N}\left(0,\sigma_{\phi}^{2}(L)\right), \tag*{(36)}

where σϕ2(L)\sigma_{\phi}^{2}(L) is the phase variance and LL is the fibre distance.

The expected fidelity is:

Fiid=∣1N∑xeiϵx∣2.(37)F_{\mathrm{iid}}=\left|\frac{1}{N}\sum_x e^{i\epsilon_x}\right|^2. \tag*{(37)}

After averaging,

E[Fiid]=1N+(1−1N)e−σϕ2(L).(38)\mathbb{E}[F_{\mathrm{iid}}]=\frac{1}{N}+\left(1-\frac{1}{N}\right)e^{-\sigma_{\phi}^{2}(L)}. \tag*{(38)}

Take the Gaussian phase diffusion model proposed by Minář [50], which is σϕ2(L)=2DϕL\sigma_{\phi}^{2}(L)=2D_{\phi}L, where DϕD_{\phi} is the phase diffusion coefficient. Consequently, the fidelity as a function of distance is:

E[Fiid]=1N+(1−1N)e−2DϕL.(39)\mathbb{E}[F_{\mathrm{iid}}]=\frac{1}{N}+\left(1-\frac{1}{N}\right)e^{-2D_{\phi}L}. \tag*{(39)}

This model describes situations in which active phase stabilization suppresses long-time correlations, so that different temporal modes accumulate statistically independent phase errors.

Cumulative phase-noise model

To describe slow environmental drifts in long optical fibers, we additionally consider a cumulative phase-noise model, equivalently as a Wiener process (Brownian motion), where the phase error of the kk-th temporal mode accumulates all preceding fluctuations. Ordering modes chronologically as x1,x2,…,xNx_1,x_2,\ldots,x_N (N=2nN=2^n), the phase error on the kk-th mode is:

ϵxk=∑ℓ≤kξℓ,ξℓ∼N(0,σϕ2(L)).(40)\epsilon_{x_k}=\sum_{\ell\leq k}\xi_{\ell},\qquad\xi_{\ell}\sim\mathcal{N}\left(0,\sigma_{\phi}^{2}(L)\right). \tag*{(40)}

with independent increments ξℓ\xi_{\ell}. The fidelity then becomes:

Fcum=∣∑k=1Nwxkeiϵxk∣2,(41)F_{\mathrm{cum}}=\left|\sum_{k=1}^{N}w_{x_k}e^{i\epsilon_{x_k}}\right|^2, \tag*{(41)}

so that

Fcum=∑k,lwxkwxlei(ϵxk−ϵxl).(42)F_{\mathrm{cum}}=\sum_{k,l}w_{x_k}w_{x_l}e^{i(\epsilon_{x_k}-\epsilon_{x_l})}. \tag*{(42)}

For a random walk, the phase difference satisfies:

ϵxk−ϵxl∼N(0,∣k−l∣σϕ2(L)),(43)\epsilon_{x_k}-\epsilon_{x_l}\sim\mathcal{N}\left(0,|k-l|\sigma_{\phi}^{2}(L)\right), \tag*{(43)}

Taking the expectation,

E[ei(ϵxk−ϵxl)]=e−12∣k−l∣σϕ2(L).(44)\mathbb{E}\left[e^{i(\epsilon_{x_k}-\epsilon_{x_l})}\right]=e^{-\frac{1}{2}|k-l|\sigma_{\phi}^{2}(L)}. \tag*{(44)}

Thus, the expected fidelity is:

E[Fcum]=∑k,lwxkwxle−12∣k−l∣σϕ2(L).(45)\mathbb{E}[F_{\mathrm{cum}}]=\sum_{k,l}w_{x_k}w_{x_l}e^{-\frac{1}{2}|k-l|\sigma_{\phi}^{2}(L)}. \tag*{(45)}

Unlike the independent model, neighboring temporal modes are therefore correlated, and the accumulated phase uncertainty increases monotonically along the pulse train, as illustrated in Figure 7.

Figure 7. Output qubit graph-state fidelity for brickwork states with uniform temporal-mode amplitudes. Left: Independent phase noise, where fidelity decays weakly with nn, as each mode experiences the same variance independently. Right: Cumulative phase noise, where later modes accumulate drift from all previous steps. This induces strong correlations and rapid fidelity decay with both ϵx\epsilon_x and nn. Since the number of temporal modes scales as 2n2^n, larger graph states are highly sensitive to cumulative fiber phase drift.

Mode-dependent amplitudes

During transmission through the light-matter interface, a mode xx undergoes interactions with the element of the matter register if and only if the corresponding binary digit xi=1x_i=1. The transmission efficiency for mode xx depends exponentially on its Hamming weight H(x)H(x), which counts the number of active light-matter gate interactions [51]:

ηx=ηtηdη1H(x)η0n−H(x).(46)\eta_x=\eta_t\eta_d\eta_1^{H(x)}\eta_0^{n-H(x)}. \tag*{(46)}

where ηt\eta_t and ηd\eta_d are the baseline transmission and detector efficiencies, and η1\eta_1 (η0\eta_0) represents the mode efficiency for interacting (non-interacting) modes.

To prepare a state with uniform target amplitudes ctarget=1/2n/2c_{\mathrm{target}} = 1/2^{n/2}, the client must pre-compensate the mode-dependent attenuation at preparation by shaping the initial amplitudes as [23]:

cx∝1ηx.(47)c_x \propto\frac{1}{\sqrt{\eta_x}}. \tag*{(47)}

This pre-compensation concentrates the normalized mode weights wx=∣cx∣2w_x = |c_x|^2 onto high-Hamming-weight modes (as illustrated in Figure 8).

These weights enter directly into the fidelity expression Eqs. (38) and (45). Because loss compensation assigns exponentially larger weights wxw_x to high-Hamming-weight modes, these modes contribute most dominantly to the overall state fidelity in Eq. (32). To minimize their phase drift, the client can employ a mode reordering strategy wherein high-Hamming-weight modes (i.e. those that contribute most to the final state fidelity as they interact with the most qubits) are placed first in the pulse sequence ("High-H First"). This reordering minimizes the cumulative phase drift for the most heavily weighted modes, significantly improving the overall state fidelity (as shown in Figure 9).

Figure 9. Fidelity as a function of distance for different graph sizes and noise models. Ordering comparison for loss-compensated brickwork states with n=3n = 3 to n=8n = 8. The blue curves show the independent-noise baseline, the orange curves show cumulative phase noise with natural ordering, and the green curves show cumulative phase noise with high-Hamming-weight-first ordering. The dashed curves show the corresponding analytical predictions. The benefit of reordering becomes more pronounced as nn increases, because loss compensation concentrates more weight on high-Hamming-weight modes. Placing these modes earlier in the temporal sequence reduces the accumulated phase drift affecting the most important components of the state.

Details on graph-to-graph transformations

Let Gn\mathcal{G}_n be the set of simple undirected graphs on nn labelled vertices, identified with symmetric n×nn \times n binary adjacency matrices with vanishing diagonal. An edge-toggle pattern is specified by a matrix Δ\Delta with the same symmetry and diagonal constraints. It defines the map:

TΔ:Gn→Gn,TΔ(A)=A⊕Δ,(48)T_{\Delta}: \mathcal{G}_n \to\mathcal{G}_n,\qquad T_{\Delta}(A) = A \oplus\Delta, \tag*{(48)}

where ⊕\oplus denotes element-wise addition modulo two. For each pair of vertices,

(A⊕Δ)ij={1−Aij,Δij=1,Aij,Δij=0.(49)(A \oplus\Delta)_{ij} = \begin{cases} 1-A_{ij}, & \Delta_{ij}=1,\\ A_{ij}, & \Delta_{ij}=0. \end{cases} \tag*{(49)}

Thus, a toggle removes a present edge or adds an absent edge, while entries with Δij=0\Delta_{ij}=0 leave the graph unchanged.

Implementation through phase updates

For fixed local phases θ⃗\vec{\theta}, the phase function encoding a graph AA is:

ϕA(x⃗)=θ⃗Tx⃗+π∑i<jAijxixj,x⃗∈{0,1}n.(50)\phi_A(\vec{x}) = \vec{\theta}^{T}\vec{x} + \pi\sum_{i<j} A_{ij}x_i x_j,\qquad\vec{x} \in\{0,1\}^{n}. \tag*{(50)}

Writing A′=A⊕ΔA' = A \oplus\Delta, the target phase function is:

ϕA′(x⃗)=θ⃗Tx⃗+π∑i<jAij′xixj.(51)\phi_{A'}(\vec{x}) = \vec{\theta}^{T}\vec{x} + \pi\sum_{i<j} A'_{ij}x_i x_j. \tag*{(51)}

For binary entries,

Aij⊕Δij=Aij+Δij−2AijΔij.(52)A_{ij} \oplus\Delta_{ij} = A_{ij} + \Delta_{ij} - 2A_{ij}\Delta_{ij}. \tag*{(52)}

The last term contributes only integer multiples of 2π2\pi to the phase, so

ϕA′(x⃗)=ϕA(x⃗)+π∑i<jΔijxixj(mod2π).(53)\phi_{A'}(\vec{x}) = \phi_A(\vec{x}) + \pi\sum_{i<j}\Delta_{ij}x_i x_j \pmod{2\pi}. \tag*{(53)}

This update is implemented on the photonic qudit by the diagonal operation:

UΔ=∑x⃗∈{0,1}nexp⁡(iπ∑i<jΔijxixj)∣x⃗⟩⟨x⃗∣.(54)U_{\Delta} = \sum_{\vec{x}\in\{0,1\}^{n}} \exp\left(i\pi\sum_{i<j}\Delta_{ij}x_i x_j\right)|\vec{x}\rangle\langle\vec{x}|. \tag*{(54)}

The operation changes the encoded adjacency matrix while preserving the local phases θ⃗\vec{\theta}. For a specified initial graph AA and target graph A′A', the required pattern is Δ=A⊕A′\Delta= A \oplus A'. Determining this pattern requires sufficient information to identify their adjacency difference. Once Δ\Delta is specified, however, implementing UΔU_{\Delta} requires no knowledge of AA or θ⃗\vec{\theta}. In particular, applying a prescribed toggle pattern to an unknown graph does not require reconstructing that graph.

Composition of multiple clients’ contributions

In the multi-client setting, client kk contributes its own edge-toggle pattern Δ(k)\Delta^{(k)} and applies UΔ(k)U_{\Delta^{(k)}} to the same photonic qudit. The toggle operations satisfy:

UΔ(2)UΔ(1)=UΔ(1)⊕Δ(2).(55)U_{\Delta^{(2)}}U_{\Delta^{(1)}}=U_{\Delta^{(1)}\oplus\Delta^{(2)}}. \tag*{(55)}

Consequently, after MM clients have acted,

Utot=UΔ(M)⋯UΔ(1)=UΔtot,Δtot=⨁k=1MΔ(k),(56)U_{\mathrm{tot}}=U_{\Delta^{(M)}}\cdots U_{\Delta^{(1)}}=U_{\Delta_{\mathrm{tot}}},\qquad\Delta_{\mathrm{tot}}=\bigoplus_{k=1}^{M}\Delta^{(k)}, \tag*{(56)}

and the resulting graph is:

Aout=Ain⊕⨁k=1MΔ(k).(57)A_{\mathrm{out}}=A_{\mathrm{in}}\oplus\bigoplus_{k=1}^{M}\Delta^{(k)}. \tag*{(57)}

Thus, the final graph is determined jointly by the initial graph and the clients’ contributions and it need not be specified as a common target before the clients act.

To implement its update, each client needs only its own pattern and the shared convention relating bit strings to photonic modes. Knowledge of the intermediate graph, the other clients’ patterns, or the final graph is unnecessary. No classical aggregation of these patterns is required for the graph update itself since their contributions accumulate directly through the sequential phase operations. Classical communication for subsequent measurement instructions and outcome processing is a separate part of the computation protocol.

For example, if two clients both toggle edge (i,j)(i,j), their contributions cancel because 1⊕1=01\oplus1=0, irrespective of whether the edge was initially present. More generally, the toggle operations commute, the zero pattern gives the identity, and every operation is its own inverse. They therefore form an Abelian group isomorphic to Z2(n2)\mathbb{Z}_{2}^{\binom{n}{2}}, providing a mechanism for combining distributed graph inputs within the RGSP setup. This composition property alone does not establish blindness or security against colluding participants; those properties depend on the surrounding protocol and its security assumptions.

Example: adding a single edge

Consider the three-qubit path with edges (1,2)(1,2) and (2,3)(2,3) (Figure 4), whose adjacency matrix is:

A=(010101010).(58)A=\begin{pmatrix}0&1&0\\1&0&1\\0&1&0\end{pmatrix}. \tag*{(58)}

To remove edge (1,2)(1,2), add edge (1,3)(1,3), and preserve edge (2,3)(2,3), choose

Δ=(011100100).(59)\Delta=\begin{pmatrix}0&1&1\\1&0&0\\1&0&0\end{pmatrix}. \tag*{(59)}

The corresponding phase update is:

ϕA′(x⃗)−ϕA(x⃗)=π(x1x2+x1x3)(mod2π),(60)\phi_{A'}(\vec{x})-\phi_A(\vec{x})=\pi(x_1x_2+x_1x_3)\pmod{2\pi}, \tag*{(60)}

and the transformed adjacency matrix is

A′=A⊕Δ=(001001110).(61)A'=A\oplus\Delta=\begin{pmatrix}0&0&1\\0&0&1\\1&1&0\end{pmatrix}. \tag*{(61)}

The resulting edges are (1,3)(1,3) and (2,3)(2,3), confirming the intended removal, addition, and preservation.

The same transformation can be distributed between two clients: the first toggles only (1,2)(1,2) and the second toggles only (1,3)(1,3). Their patterns satisfy Δ(1)⊕Δ(2)=Δ\Delta^{(1)}\oplus\Delta^{(2)}=\Delta, and each operation can be implemented without knowledge of the other client’s pattern or the intermediate graph.

Resource analysis for reduced-SWAP UBQC

We analyze the resource advantage enabled by RGSP-assisted blind quantum computation for the Quantum Fourier Transform (QFT) circuit [39].

In standard BQC, the computation must be compiled onto a nearest-neighbor resource state (e.g., a 2D brickwork state [8]). Because the brickwork state lacks long-range connectivity, non-local logical gates in the QFT require a dense arrangement of SWAP operations, which increases the circuit depth and the number of remotely prepared qubits.

Using the MasonQ compiler, the number of remotely prepared qubits required for a brickwork-state pattern is Eq. (6). In contrast, RGSP directly prepares the target graph topology, including long-range connections. The target graph size is determined strictly by the logical depth of the QFT circuit, completely eliminating the SWAP overhead within the state preparation phase. The resource requirements for QFT sizes n=3n=3 to n=6n=6 are compared in Table I.

As shown in Figure 10, the resource advantage grows rapidly with system size, demonstrating that RGSP-assisted BQC offers an exceptionally scalable path for executing algorithms with high long-range connectivity.

RGSP for Quantum Position Verification (QPV)

Quantum Position Verification (QPV) exploits relativistic timing constraints and the no-cloning theorem to authenticate a prover’s location [52, 53, 54, 55]. Traditional QPV protocols (e.g., QPVf−BB84_{\mathrm{f-BB84}}) prepare and transmit qubits sequentially [56]. This sequential approach, however, faces a rate bottleneck due to channel losses in optical fibers. If a protocol requires nn logical qubits to be received and processed simultaneously, such as in parallel QPV [34] or moving-prover scenarios like the Quantum Boat protocol [35], the success probability of the sequential qubit-by-qubit transmission scales as ηtn\eta_t^n, where ηt\eta_t is the single-photon transmission efficiency. This exponential suppression makes long-distance verification practically infeasible even for small nn.

RGSP provides a window-constrained rate advantage by distributing the complete nn-qubit logical state within a single high-dimensional photon. Because the nn logical qubits are encoded across 2n2^n temporal modes of a single qudit, the success probability of the protocol depends only on the transmission and detection of a single photon:

PRGSP∝ηt,(62)P_{\mathrm{RGSP}} \propto\eta_t, \tag*{(62)}

which scales linearly with the transmission efficiency (Figure 11). This linear scaling bypasses the exponential loss bottleneck, increasing the multi-qubit verification rate by several orders of magnitude over long-distance fibers.

Figure 11. Success probability PsuccP_{\mathrm{succ}} versus transmission efficiency ηt\eta_t for a fixed acceptance window. Sequential transmission of nn qubits scales as Pseq=ηtnP_{\mathrm{seq}} = \eta_t^n, while RGSP, encoding all nn qubits in a single photon, scales as PRGSP=ηtP_{\mathrm{RGSP}} = \eta_t when internal routing and detection efficiencies are set to unity. Curves are shown for n=2,4,6n = 2, 4, 6.

Second, we propose a QPV protocol based on graph-to-graph transformations introduced in Appendix § 1.6. In this scheme, the verifier V0V_0 prepares a single-photon state with a linear phase function ϕx(θ⃗0)=θ⃗0⋅x⃗\phi_x(\vec{\theta}_0) = \vec{\theta}_0 \cdot\vec{x}, while V1V_1 sends a classical phase shift ϕ1,x=θ⃗1⋅x⃗\phi_{1,x} = \vec{\theta}_1 \cdot\vec{x}. The prover PP at pos∗pos^* is challenged to perform a non-local transformation TΔT_{\Delta} corresponding to a toggle matrix Δ=A⊕A′\Delta= A \oplus A'. By applying the quadratic phase shift π∑Δijxixj\pi\sum\Delta_{ij}x_i x_j to the propagating qudit in a single-shot, the prover implements a graph-to-graph transformation that updates the state to the target graph state:

∣Ψ(θ⃗0+θ⃗1)⟩=12n/2∑x⃗ei(θ⃗0+θ⃗1)⋅x⃗+iπ∑Δijxixj∣1⟩x(63)\left|\Psi(\vec{\theta}_0+\vec{\theta}_1)\right\rangle= \frac{1}{2^{n/2}}\sum_{\vec{x}} e^{i(\vec{\theta}_0+\vec{\theta}_1)\cdot\vec{x}+i\pi\sum\Delta_{ij}x_ix_j}\left|1\right\rangle_x \tag*{(63)}

and returns it immediately. The verifiers check the timing consistency and perform a projection measurement onto the target graph state. Because the transformation TΔT_{\Delta} belongs to an Abelian group, it cannot be performed by spatially separated adversaries (Alice and Bob) without violating relativistic timing constraints. Proving the ability to execute this multi-qubit graph-to-graph transformation in a single shot therefore provides robust, loss-tolerant position authentication.

Multi-party delegated computation

This appendix shows how the computational layer of the QLine architecture can be reformulated within the phase-function framework developed in Figure 12. A single photon is initially prepared in an equal superposition of 2n2^n temporal modes. As the photon propagates sequentially along the QLine through NN clients, each client kk applies its secret local phase rotation αi(k)\alpha_i^{(k)} and one-time-pad bit zi(k)z_i^{(k)} to the corresponding temporal modes. The accumulated phase pattern becomes:

Φx⃗=∑i=1nΘixi+π∑i<j,kAij(k)xixj(mod2π)(64)\Phi_{\vec{x}} = \sum_{i=1}^{n}\Theta_i x_i + \pi\sum_{i<j,k} A_{ij}^{(k)}x_ix_j \pmod{2\pi} \tag*{(64)}

where Θi=∑k(αi(k)+πzi(k))\Theta_i = \sum_k \left(\alpha_i^{(k)} + \pi z_i^{(k)}\right) represents the joint computational angles.

This accumulated phase function has the exact same binary quadratic structure as the RGSP phase-encoding rule Eq. (2), meaning that both the local computational rotations and the collaborative graph entanglement are encoded directly into the photon’s phase profile. At the end of the line, the server performs a 2n2^n-mode interferometer (implementing a multi-dimensional Hadamard transform H⊗nH^{\otimes n}) to coherently mix all temporal modes. The detector click statistics then sample the encrypted probability distribution P(y⃗)P(\vec{y}) corresponding to the delegated multi-party computation.

By classically combining their private OTP keys and correction parameters, the clients can jointly decode the server’s measurement statistics to recover the final outcome, while keeping the computation perfectly blind to the server. Because the entanglement is entirely intraparticle and no multi-photon coincidence is required, this framework allows secure multi-party quantum computation for more than two clients on near-term NISQ networks without the overhead of QEC or the losses of multi-photon states.

Two-Qubit Case

We first consider a two-qubit fragment of the QLine computation. The corresponding circuit can be written as:

(MX⊗MX)(Rz(α1)⊗Rz(α2))CZ12(Zz1⊗Zz2)∣+⟩∣+⟩.(65)(M_X \otimes M_X)(R_z(\alpha_1) \otimes R_z(\alpha_2))CZ_{12}(Z^{z_1} \otimes Z^{z_2})|+\rangle|+\rangle. \tag*{(65)}

The initial two-qubit state is:

∣+⟩∣+⟩=12∑x1,x2∈{0,1}∣x1x2⟩.(66)|+\rangle|+\rangle= \frac{1}{2}\sum_{x_1,x_2\in\{0,1\}}|x_1x_2\rangle. \tag*{(66)}

Encoding the Classical Bit-Flip Data We first encode the classical bit-flip data through the local ZZ operations. Applying (Zz1⊗Zz2)(Z^{z_1} \otimes Z^{z_2}), we obtain:

(Zz1⊗Zz2)∣x1x2⟩=eiπz1x1eiπz2x2∣x1x2⟩=eiπ(z1x1+z2x2)∣x1x2⟩.(67)(Z^{z_1} \otimes Z^{z_2})|x_1x_2\rangle= e^{i\pi z_1x_1}e^{i\pi z_2x_2}|x_1x_2\rangle= e^{i\pi(z_1x_1+z_2x_2)}|x_1x_2\rangle. \tag*{(67)}

Thus,

∣Ψ1⟩=12∑x1,x2eiπ(z1x1+z2x2)∣x1x2⟩.(68)|\Psi_1\rangle= \frac{1}{2}\sum_{x_1,x_2}e^{i\pi(z_1x_1+z_2x_2)}|x_1x_2\rangle. \tag*{(68)}

Multi-party blind quantum computation

Input:

  • Client kk has classical data zi(k)z_i^{(k)} and effective angles αi(k)\alpha_i^{(k)}.

  • The nn clients collectively specify a graph G=(V,E)G=(V,E).

  • The server has no private input.

Protocol:

  1. A single-photon source creates an equal superposition over 2n2^n optical modes.

  2. The nn clients sequentially apply their inputs.

  3. After all clients have acted, the phase-encoded state ∣Ψ⟩\lvert\Psi\rangle is sent to the server.

  4. The server applies a 2n2^n-mode interferometer implementing H⊗nH^{\otimes n}.

  5. The interferometer produces output amplitudes A(y⃗)A(\vec{y}) and probabilities P(y⃗)P(\vec{y}).

  6. The detector click statistics reproduce the output distribution of the original QLine computation.

Encoding the Rotation Angles Next, we encode the local rotation angles. Using the phase convention (Rz(α)∣x⟩=eiαx∣x⟩)(R_z(\alpha)\lvert x\rangle=e^{i\alpha x}\lvert x\rangle), we have:

(Rz(α1)⊗Rz(α2))∣x1x2⟩=eiα1x1eiα2x2∣x1x2⟩=ei(α1x1+α2x2)∣x1x2⟩.(69)\left(R_z(\alpha_1)\otimes R_z(\alpha_2)\right)\lvert x_1x_2\rangle=e^{i\alpha_1x_1}e^{i\alpha_2x_2}\lvert x_1x_2\rangle=e^{i(\alpha_1x_1+\alpha_2x_2)}\lvert x_1x_2\rangle. \tag*{(69)}

Therefore,

∣Ψ2⟩=12∑x1,x2ei[π(z1x1+z2x2)+α1x1+α2x2]∣x1x2⟩.(70)\lvert\Psi_2\rangle=\frac{1}{2}\sum_{x_1,x_2}e^{i[\pi(z_1x_1+z_2x_2)+\alpha_1x_1+\alpha_2x_2]}\lvert x_1x_2\rangle. \tag*{(70)}

Encoding the Graph Connectivity For two qubits, the graph contains one edge (1,2)(1,2). Applying CZ12CZ_{12}, we obtain:

CZ12∣x1x2⟩=eiπx1x2∣x1x2⟩.(71)CZ_{12}\lvert x_1x_2\rangle=e^{i\pi x_1x_2}\lvert x_1x_2\rangle. \tag*{(71)}

The resulting phase-encoded state is:

∣Ψ⟩=12∑x1,x2∈{0,1}eiΦ(x1,x2)∣x1x2⟩,(72)\lvert\Psi\rangle=\frac{1}{2}\sum_{x_1,x_2\in\{0,1\}}e^{i\Phi(x_1,x_2)}\lvert x_1x_2\rangle, \tag*{(72)}

with

Φ(x1,x2)=(πz1+α1)x1+(πz2+α2)x2+πx1x2.(73)\Phi(x_1,x_2)=(\pi z_1+\alpha_1)x_1+(\pi z_2+\alpha_2)x_2+\pi x_1x_2. \tag*{(73)}

The phase function contains three distinct contributions:

  • πzixi\pi z_i x_i from the classical bit-flip ZziZ^{z_i},

  • αixi\alpha_i x_i from the local rotation Rz(αi)R_z(\alpha_i),

  • πx1x2\pi x_1x_2 from the graph entanglement CZ12CZ_{12}.

This decomposition makes explicit that the local computational parameters and the graph connectivity enter the state through additive phase contributions.

Explicit Expansion Evaluating Φ(x1,x2)\Phi(x_1,x_2) on all computational-basis strings gives:

Φ(00)=0,Φ(01)=πz2+α2,Φ(10)=πz1+α1,Φ(11)=π(z1+z2)+α1+α2+π.(74)\Phi(00)=0,\quad\Phi(01)=\pi z_2+\alpha_2,\quad\Phi(10)=\pi z_1+\alpha_1,\quad\Phi(11)=\pi(z_1+z_2)+\alpha_1+\alpha_2+\pi. \tag*{(74)}

Hence,

∣Ψ⟩=12(∣00⟩+ei(πz2+α2)∣01⟩+ei(πz1+α1)∣10⟩+ei[π(z1+z2)+α1+α2+π]∣11⟩).(75)\lvert\Psi\rangle=\frac{1}{2}\left(\lvert00\rangle+e^{i(\pi z_2+\alpha_2)}\lvert01\rangle+e^{i(\pi z_1+\alpha_1)}\lvert10\rangle+e^{i[\pi(z_1+z_2)+\alpha_1+\alpha_2+\pi]}\lvert11\rangle\right). \tag*{(75)}

Two-Qubit State as a Four-Mode Qudit The two-qubit computational basis can be mapped to a four-dimensional photonic qudit according to:

∣00⟩↔∣0⟩,∣01⟩↔∣1⟩,∣10⟩↔∣2⟩,∣11⟩↔∣3⟩,(76)\lvert00\rangle\leftrightarrow\lvert0\rangle,\quad\lvert01\rangle\leftrightarrow\lvert1\rangle,\quad\lvert10\rangle\leftrightarrow\lvert2\rangle,\quad\lvert11\rangle\leftrightarrow\lvert3\rangle, \tag*{(76)}

so that the state becomes a single-photon state distributed over four interferometer modes:

∣Ψ⟩=12∑x⃗∈{0,1}2eiΦ(x⃗)∣x⃗⟩qudit.(77)\lvert\Psi\rangle= \frac{1}{2}\sum_{\vec{x}\in\{0,1\}^{2}} e^{i\Phi(\vec{x})}\lvert\vec{x}\rangle_{\mathrm{qudit}}. \tag*{(77)}

Thus, the classical QLine data, local rotation angles, and graph connectivity are encoded in the phases of the interferometer modes.

Two-Qubit Output Statistics The measurement of both qubits in the XX-basis is equivalent to applying H⊗HH\otimes H followed by computational-basis measurement. For one qubit,

H∣xi⟩=12∑yi∈{0,1}(−1)yixi∣yi⟩.(78)H\lvert x_i\rangle= \frac{1}{\sqrt{2}}\sum_{y_i\in\{0,1\}}(-1)^{y_i x_i}\lvert y_i\rangle. \tag*{(78)}

Therefore,

(H⊗H)∣x1x2⟩=12∑y1,y2(−1)y1x1+y2x2∣y1y2⟩.(79)(H\otimes H)\lvert x_1x_2\rangle= \frac{1}{2}\sum_{y_1,y_2}(-1)^{y_1x_1+y_2x_2}\lvert y_1y_2\rangle. \tag*{(79)}

Applying this transformation to ∣Ψ⟩\lvert\Psi\rangle, we obtain:

(H⊗H)∣Ψ⟩=12∑x1,x2eiΦ(x1,x2)(H⊗H)∣x1x2⟩=14∑x1,x2∑y1,y2(−1)y1x1+y2x2eiΦ(x1,x2)∣y1y2⟩.(80)(H\otimes H)\lvert\Psi\rangle= \frac{1}{2}\sum_{x_1,x_2}e^{i\Phi(x_1,x_2)}(H\otimes H)\lvert x_1x_2\rangle= \frac{1}{4}\sum_{x_1,x_2}\sum_{y_1,y_2}(-1)^{y_1x_1+y_2x_2}e^{i\Phi(x_1,x_2)}\lvert y_1y_2\rangle. \tag*{(80)}

The output amplitude for y=(y1,y2)y=(y_1,y_2) is:

A(y1,y2)=14∑x1,x2∈{0,1}(−1)y1x1+y2x2eiΦ(x1,x2).(81)A(y_1,y_2)=\frac{1}{4}\sum_{x_1,x_2\in\{0,1\}}(-1)^{y_1x_1+y_2x_2}e^{i\Phi(x_1,x_2)}. \tag*{(81)}

with probability (P(y1,y2)=∣A(y1,y2)∣2)(P(y_1,y_2)=\lvert A(y_1,y_2)\rvert^2). Writing Φab≡Φ(a,b)\Phi_{ab}\equiv\Phi(a,b), the four amplitudes are:

A(00)=14(eiΦ00+eiΦ01+eiΦ10+eiΦ11),A(01)=14(eiΦ00−eiΦ01+eiΦ10−eiΦ11),A(10)=14(eiΦ00+eiΦ01−eiΦ10−eiΦ11),A(11)=14(eiΦ00−eiΦ01−eiΦ10+eiΦ11).(82)\begin{aligned} A(00)&=\frac{1}{4}\left(e^{i\Phi_{00}}+e^{i\Phi_{01}}+e^{i\Phi_{10}}+e^{i\Phi_{11}}\right),\\ A(01)&=\frac{1}{4}\left(e^{i\Phi_{00}}-e^{i\Phi_{01}}+e^{i\Phi_{10}}-e^{i\Phi_{11}}\right),\\ A(10)&=\frac{1}{4}\left(e^{i\Phi_{00}}+e^{i\Phi_{01}}-e^{i\Phi_{10}}-e^{i\Phi_{11}}\right),\\ A(11)&=\frac{1}{4}\left(e^{i\Phi_{00}}-e^{i\Phi_{01}}-e^{i\Phi_{10}}+e^{i\Phi_{11}}\right). \tag*{(82)} \end{aligned}

Each output amplitude is therefore determined by the coherent interference of the four phase-encoded input modes, and the corresponding output probability is obtained from its squared modulus.

Example: Three-Qubit Case

As an explicit three-qubit example, consider a linear graph with edges E=(1,2),(2,3)E=(1,2),(2,3). The corresponding QLine computation can be represented by an eight-mode photonic interferometer with mode-dependent phase shifts. The initial state is:

∣+⟩⊗3=18∑x1,x2,x3∈{0,1}∣x1x2x3⟩.(83)\lvert+\rangle^{\otimes3}=\frac{1}{\sqrt{8}}\sum_{x_1,x_2,x_3\in\{0,1\}}\lvert x_1x_2x_3\rangle. \tag*{(83)}

Encoding the Classical Bit-Flip Data Applying Zz1⊗Zz2⊗Zz3Z^{z_1}\otimes Z^{z_2}\otimes Z^{z_3}, we obtain:

(Zz1⊗Zz2⊗Zz3)∣x1x2x3⟩=eiπ(z1x1+z2x2+z3x3)∣x1x2x3⟩.(84)(Z^{z_1}\otimes Z^{z_2}\otimes Z^{z_3})\lvert x_1x_2x_3\rangle=e^{i\pi(z_1x_1+z_2x_2+z_3x_3)}\lvert x_1x_2x_3\rangle. \tag*{(84)}

Thus,

∣Ψ1⟩=18∑x⃗∈{0,1}3eiπ(z1x1+z2x2+z3x3)∣x1x2x3⟩.(85)\lvert\Psi_1\rangle=\frac{1}{\sqrt{8}}\sum_{\vec{x}\in\{0,1\}^{3}}e^{i\pi(z_1x_1+z_2x_2+z_3x_3)}\lvert x_1x_2x_3\rangle. \tag*{(85)}

Encoding the Rotation Angles We next encode the local rotation angles. Applying Rz(α1)⊗Rz(α2)⊗Rz(α3)R_z(\alpha_1) \otimes R_z(\alpha_2) \otimes R_z(\alpha_3), we have:

(Rz(α1)⊗Rz(α2)⊗Rz(α3))∣x1x2x3⟩=ei(α1x1+α2x2+α3x3)∣x1x2x3⟩.(86)\left(R_z(\alpha_1) \otimes R_z(\alpha_2) \otimes R_z(\alpha_3)\right)|x_1x_2x_3\rangle= e^{i(\alpha_1x_1+\alpha_2x_2+\alpha_3x_3)}|x_1x_2x_3\rangle. \tag*{(86)}

Therefore,

∣Ψ2⟩=18∑x⃗∈{0,1}3ei[π(z1x1+z2x2+z3x3)+α1x1+α2x2+α3x3]∣x1x2x3⟩.(87)|\Psi_2\rangle= \frac{1}{\sqrt{8}} \sum_{\vec{x}\in\{0,1\}^3} e^{i[\pi(z_1x_1+z_2x_2+z_3x_3)+\alpha_1x_1+\alpha_2x_2+\alpha_3x_3]}|x_1x_2x_3\rangle. \tag*{(87)}

Encoding the Graph Connectivity For the linear graph 1−2−31-2-3 with edges E=(1,2),(2,3)E=(1,2),(2,3), the graph-entangling operation is CZ12CZ23CZ_{12}CZ_{23}:

CZ12⇒eiπx1x2,CZ23⇒eiπx2x3.(88)CZ_{12} \Rightarrow e^{i\pi x_1x_2}, \qquad CZ_{23} \Rightarrow e^{i\pi x_2x_3}. \tag*{(88)}

The resulting three-qubit phase state is:

∣Ψ⟩=18∑x⃗∈{0,1}3eiΦ(x⃗)∣x1x2x3⟩,(89)|\Psi\rangle= \frac{1}{\sqrt{8}} \sum_{\vec{x}\in\{0,1\}^3} e^{i\Phi(\vec{x})}|x_1x_2x_3\rangle, \tag*{(89)}

with

Φ(x1,x2,x3)=∑i=13(πzi+αi)xi+πx1x2+πx2x3.(90)\Phi(x_1,x_2,x_3)=\sum_{i=1}^{3}(\pi z_i+\alpha_i)x_i+\pi x_1x_2+\pi x_2x_3. \tag*{(90)}

Equivalently,

Φ(x1,x2,x3)=(πz1+α1)x1+(πz2+α2)x2+(πz3+α3)x3+πx1x2+πx2x3.(91)\Phi(x_1,x_2,x_3)=(\pi z_1+\alpha_1)x_1+(\pi z_2+\alpha_2)x_2+(\pi z_3+\alpha_3)x_3+\pi x_1x_2+\pi x_2x_3. \tag*{(91)}

The phase function therefore contains the three local contributions and the two quadratic terms associated with the edges of the linear graph.

Explicit Expansion Evaluating Φ\Phi on all eight basis strings yields:

Φ(000)=0,Φ(001)=πz3+α3,Φ(010)=πz2+α2,Φ(011)=π(z2+z3)+α2+α3+π,Φ(100)=πz1+α1,Φ(101)=π(z1+z3)+α1+α3,Φ(110)=π(z1+z2)+α1+α2+π,Φ(111)=π(z1+z2+z3)+α1+α2+α3+2π.(92)\begin{aligned} \Phi(000)&=0,\\ \Phi(001)&=\pi z_3+\alpha_3,\\ \Phi(010)&=\pi z_2+\alpha_2,\\ \Phi(011)&=\pi(z_2+z_3)+\alpha_2+\alpha_3+\pi,\\ \Phi(100)&=\pi z_1+\alpha_1,\\ \Phi(101)&=\pi(z_1+z_3)+\alpha_1+\alpha_3,\\ \Phi(110)&=\pi(z_1+z_2)+\alpha_1+\alpha_2+\pi,\\ \Phi(111)&=\pi(z_1+z_2+z_3)+\alpha_1+\alpha_2+\alpha_3+2\pi. \tag*{(92)} \end{aligned}

Since ei2π=1e^{i2\pi}=1, we have Φ(111)≡π(z1+z2+z3)+α1+α2+α3(mod2π)\Phi(111)\equiv\pi(z_1+z_2+z_3)+\alpha_1+\alpha_2+\alpha_3\pmod{2\pi}. Therefore,

∣Ψ⟩=18(∣000⟩+ei(πz3+α3)∣001⟩+ei(πz2+α2)∣010⟩+ei[π(z2+z3)+α2+α3+π]∣011⟩+ei(πz1+α1)∣100⟩+ei[π(z1+z3)+α1+α3]∣101⟩+ei[π(z1+z2)+α1+α2+π]∣110⟩+ei[π(z1+z2+z3)+α1+α2+α3]∣111⟩).(93)\begin{aligned} |\Psi\rangle=\frac{1}{\sqrt{8}}\big(&|000\rangle+e^{i(\pi z_3+\alpha_3)}|001\rangle+e^{i(\pi z_2+\alpha_2)}|010\rangle\\ &+e^{i[\pi(z_2+z_3)+\alpha_2+\alpha_3+\pi]}|011\rangle+e^{i(\pi z_1+\alpha_1)}|100\rangle\\ &+e^{i[\pi(z_1+z_3)+\alpha_1+\alpha_3]}|101\rangle+e^{i[\pi(z_1+z_2)+\alpha_1+\alpha_2+\pi]}|110\rangle\\ &+e^{i[\pi(z_1+z_2+z_3)+\alpha_1+\alpha_2+\alpha_3]}|111\rangle\big). \tag*{(93)} \end{aligned}

Three-Qubit State as an Eight-Mode Qudit The three-qubit computational basis can be mapped to an eight-dimensional qudit according to:

∣000⟩↔∣0⟩,∣001⟩↔∣1⟩,∣010⟩↔∣2⟩,∣011⟩↔∣3⟩,∣100⟩↔∣4⟩,∣101⟩↔∣5⟩,∣110⟩↔∣6⟩,∣111⟩↔∣7⟩.(94)|000\rangle\leftrightarrow|0\rangle,\quad|001\rangle\leftrightarrow|1\rangle,\quad|010\rangle\leftrightarrow|2\rangle,\quad|011\rangle\leftrightarrow|3\rangle,\quad|100\rangle\leftrightarrow|4\rangle,\quad|101\rangle\leftrightarrow|5\rangle,\quad|110\rangle\leftrightarrow|6\rangle,\quad|111\rangle\leftrightarrow|7\rangle. \tag*{(94)}

Thus,

∣Ψ⟩=18∑x⃗∈{0,1}3eiΦ(x⃗)∣x⃗⟩qudit.(95)|\Psi\rangle=\frac{1}{\sqrt{8}}\sum_{\vec{x}\in\{0,1\}^3}e^{i\Phi(\vec{x})}|\vec{x}\rangle_{\mathrm{qudit}}. \tag*{(95)}

This representation corresponds to a single photon distributed over eight optical modes, with each mode carrying a phase determined by the QLine classical data, the local rotation angles, and the graph connectivity.

a. Three-Qubit Output Statistics Measurement of all three qubits in the (X)-basis is equivalent to applying H⊗3H^{\otimes3} followed by computational-basis measurement. For a single qubit,

H∣xi⟩=12∑yi∈{0,1}(−1)yixi∣yi⟩.(96)H|x_i\rangle= \frac{1}{\sqrt{2}} \sum_{y_i \in\{0,1\}} (-1)^{y_i x_i}|y_i\rangle. \tag*{(96)}

Therefore,

H⊗3∣x1x2x3⟩=18∑y1,y2,y3(−1)y1x1+y2x2+y3x3∣y1y2y3⟩.(97)H^{\otimes3}|x_1x_2x_3\rangle= \frac{1}{\sqrt{8}} \sum_{y_1,y_2,y_3} (-1)^{y_1x_1+y_2x_2+y_3x_3}|y_1y_2y_3\rangle. \tag*{(97)}

With binary inner product y⋅x=y1x1+y2x2+y3x3\boldsymbol{y} \cdot\boldsymbol{x} = y_1x_1 + y_2x_2 + y_3x_3, we have:

H⊗3∣x⃗⟩=18∑y⃗∈{0,1}3(−1)y⃗⋅x⃗∣y⃗⟩.(98)H^{\otimes3}|\vec{x}\rangle= \frac{1}{\sqrt{8}} \sum_{\vec{y}\in\{0,1\}^3} (-1)^{\vec{y}\cdot\vec{x}}|\vec{y}\rangle. \tag*{(98)}

Applying this transformation to ∣Ψ⟩|\Psi\rangle, we obtain:

H⊗3∣Ψ⟩=18∑x⃗eiΦ(x⃗)H⊗3∣x⃗⟩,=18∑x⃗eiΦ(x⃗)[18∑y⃗(−1)y⃗⋅x⃗∣y⃗⟩],=18∑y⃗(∑x⃗(−1)y⃗⋅x⃗eiΦ(x⃗))∣y⃗⟩.(99)H^{\otimes3}|\Psi\rangle= \frac{1}{\sqrt{8}}\sum_{\vec{x}}e^{i\Phi(\vec{x})}H^{\otimes3}|\vec{x}\rangle,\quad= \frac{1}{\sqrt{8}}\sum_{\vec{x}}e^{i\Phi(\vec{x})}\left[\frac{1}{\sqrt{8}}\sum_{\vec{y}}(-1)^{\vec{y}\cdot\vec{x}}|\vec{y}\rangle\right],\quad= \frac{1}{8}\sum_{\vec{y}}\left(\sum_{\vec{x}}(-1)^{\vec{y}\cdot\vec{x}}e^{i\Phi(\vec{x})}\right)|\vec{y}\rangle. \tag*{(99)}

Hence the output amplitude for y⃗=(y1,y2,y3)\vec{y}=(y_1,y_2,y_3) is:

A(y⃗)=18∑x⃗∈{0,1}3(−1)y⃗⋅x⃗eiΦ(x⃗).(100)A(\vec{y}) = \frac{1}{8}\sum_{\vec{x}\in\{0,1\}^3}(-1)^{\vec{y}\cdot\vec{x}}e^{i\Phi(\vec{x})}. \tag*{(100)}

with probability P(y⃗)=∣A(y⃗)∣2P(\vec{y})=|A(\vec{y})|^2.

Explicit Amplitudes Writing Φabc≡Φ(a,b,c)\Phi_{abc}\equiv\Phi(a,b,c), the eight output amplitudes are:

A(000)=18(eiΦ000+eiΦ001+eiΦ010+eiΦ011+eiΦ100+eiΦ101+eiΦ110+eiΦ111),A(001)=18(eiΦ000−eiΦ001+eiΦ010−eiΦ011+eiΦ100−eiΦ101+eiΦ110−eiΦ111),A(010)=18(eiΦ000+eiΦ001−eiΦ010−eiΦ011+eiΦ100+eiΦ101−eiΦ110−eiΦ111),A(011)=18(eiΦ000−eiΦ001−eiΦ010+eiΦ011+eiΦ100−eiΦ101−eiΦ110+eiΦ111),A(100)=18(eiΦ000+eiΦ001+eiΦ010+eiΦ011−eiΦ100−eiΦ101−eiΦ110−eiΦ111),A(101)=18(eiΦ000−eiΦ001+eiΦ010−eiΦ011−eiΦ100+eiΦ101−eiΦ110+eiΦ111),A(110)=18(eiΦ000+eiΦ001−eiΦ010−eiΦ011−eiΦ100−eiΦ101+eiΦ110+eiΦ111),A(111)=18(eiΦ000−eiΦ001−eiΦ010+eiΦ011−eiΦ100+eiΦ101+eiΦ110−eiΦ111).(101)\begin{aligned} A(000)&=\frac{1}{8}\left(e^{i\Phi_{000}}+e^{i\Phi_{001}}+e^{i\Phi_{010}}+e^{i\Phi_{011}}+e^{i\Phi_{100}}+e^{i\Phi_{101}}+e^{i\Phi_{110}}+e^{i\Phi_{111}}\right),\\ A(001)&=\frac{1}{8}\left(e^{i\Phi_{000}}-e^{i\Phi_{001}}+e^{i\Phi_{010}}-e^{i\Phi_{011}}+e^{i\Phi_{100}}-e^{i\Phi_{101}}+e^{i\Phi_{110}}-e^{i\Phi_{111}}\right),\\ A(010)&=\frac{1}{8}\left(e^{i\Phi_{000}}+e^{i\Phi_{001}}-e^{i\Phi_{010}}-e^{i\Phi_{011}}+e^{i\Phi_{100}}+e^{i\Phi_{101}}-e^{i\Phi_{110}}-e^{i\Phi_{111}}\right),\\ A(011)&=\frac{1}{8}\left(e^{i\Phi_{000}}-e^{i\Phi_{001}}-e^{i\Phi_{010}}+e^{i\Phi_{011}}+e^{i\Phi_{100}}-e^{i\Phi_{101}}-e^{i\Phi_{110}}+e^{i\Phi_{111}}\right),\\ A(100)&=\frac{1}{8}\left(e^{i\Phi_{000}}+e^{i\Phi_{001}}+e^{i\Phi_{010}}+e^{i\Phi_{011}}-e^{i\Phi_{100}}-e^{i\Phi_{101}}-e^{i\Phi_{110}}-e^{i\Phi_{111}}\right),\\ A(101)&=\frac{1}{8}\left(e^{i\Phi_{000}}-e^{i\Phi_{001}}+e^{i\Phi_{010}}-e^{i\Phi_{011}}-e^{i\Phi_{100}}+e^{i\Phi_{101}}-e^{i\Phi_{110}}+e^{i\Phi_{111}}\right),\\ A(110)&=\frac{1}{8}\left(e^{i\Phi_{000}}+e^{i\Phi_{001}}-e^{i\Phi_{010}}-e^{i\Phi_{011}}-e^{i\Phi_{100}}-e^{i\Phi_{101}}+e^{i\Phi_{110}}+e^{i\Phi_{111}}\right),\\ A(111)&=\frac{1}{8}\left(e^{i\Phi_{000}}-e^{i\Phi_{001}}-e^{i\Phi_{010}}+e^{i\Phi_{011}}-e^{i\Phi_{100}}+e^{i\Phi_{101}}+e^{i\Phi_{110}}-e^{i\Phi_{111}}\right). \tag*{(101)} \end{aligned}

Each output probability is P(abc)=∣A(abc)∣2P(abc)=|A(abc)|^2.

The two- and three-qubit examples make the correspondence between the original QLine description [36] and the phase-encoded photonic representation explicit. In both cases, the local ZZ-type classical data, single-qubit rotations, and graph connectivity contribute additively to the phase function. The resulting phase profile is then transformed by the H⊗nH^{\otimes n} interferometer, with the detector output determined by the corresponding interference amplitudes.

In the original QLine protocol, the output of the delegated computation is obtained from measurement outcomes on a graph state. These outcomes are protected by the blindness mechanisms of the protocol, including random OTP rotations and classical correction bits contributed by the clients.

The same computational structure is retained in the interferometric formulation. The phase function Φ(x)\Phi(x) contains both the computational parameters and the blindness-related variables. Consequently, the server accesses only the detector statistics associated with the phase-encoded output distribution P(y⃗)P(\vec{y}).

After the protocol is completed, the clients use their private classical information, including the random padding variables and correction data, to interpret the observed outcomes and recover the intended computational output. Under the blindness assumptions of the original QLine protocol, the server does not obtain the private information required to reconstruct the underlying computation from this data alone.

Thus, the interferometric formulation preserves the computational structure of the original QLine protocol while expressing the multi-client inputs and graph-state correlations through a common phase-function representation.

References

  1. [1]A. Sarma, R. Chatterjee, K. Gili, and T. Yu, Quantum Inf. Comput. 20, 541 (2020).
  2. [2]J. Alcazar, V. Leyton-Ortega, and A. Perdomo-Ortiz, Mach. Learn.: Sci. Technol. 1, 035003 (2020).
  3. [3]T. Proctor, K. Rudinger, K. Young, E. Nielsen, and R. Blume-Kohout, Nat. Phys. 18, 75 (2022).
  4. [4]D. Amaro, C. Modica, M. Rosenkranz, M. Fiorentini, M. Benedetti, and M. Lubasch, Quantum Sci. Technol. 7, 015021 (2022).
  5. [5]J. J. M. Kirsopp, C. Di Paola, D. Z. Manrique, M. Krompiec, G. Greene-Diniz, W. Guba, A. Meyder, D. Wolf, M. Strahm, and D. Muñoz Ramo, Int. J. Quantum Chem. 122 (2022), 10.1002/qua.26975.DOI
  6. [6]A. Broadbent, J. Fitzsimons, and E. Kashefi, in 2009 50th Annual IEEE Symposium on Foundations of Computer Science (2009) pp. 517–526.
  7. [7]E. Kashefi and A. Pappa, Cryptography 1, 12 (2017).
  8. [8]H. J. Briegel and R. Raussendorf, Phys. Rev. Lett. 86, 910 (2001).
  9. [9]R. Raussendorf, D. E. Browne, and H. J. Briegel, Phys. Rev. A 68, 022312 (2003).
  10. [10]C. H. Bennett, D. P. DiVincenzo, P. W. Shor, J. A. Smolin, B. M. Terhal, and W. K. Wootters, Phys. Rev. Lett. 87, 077902 (2001).
  11. [11]D. W. Leung and P. W. Shor, Phys. Rev. Lett. 90, 127905 (2003).
  12. [12]P. Drmota, D. P. Nadlinger, D. Main, B. C. Nichol, E. M. Ainley, D. Leichtle, A. Mantri, E. Kashefi, R. Srinivas, G. Araneda, C. J. Ballance, and D. M. Lucas, Phys. Rev. Lett. 132, 150604 (2024).
  13. [13]S. A. Babichev, B. Brezger, and A. I. Lvovsky, Phys. Rev. Lett. 92, 047903 (2004).
  14. [14]Dam, J. V., Hellebek, E. R., Propp, T. B., Gonzales-Ureta, J. A., Sørensen, S. D., & Wehner, S. (2025). Single-click protocols for remote state preparation using weak coherent pulses. arXiv:2508.14857.
  15. [15]N. A. Peters, J. T. Barreiro, M. E. Goggin, T.-C. Wei, and P. G. Kwiat, Phys. Rev. Lett. 94, 150502 (2005).
  16. [16]W. Rosenfeld, S. Berner, J. Volz, M. Weber, and H. Weinfurter, Phys. Rev. Lett. 98, 050504 (2007).
  17. [17]M. Iuliano, M.-C. Slater, A. J. Stolk, M. J. Weaver, T. Chakraborty, E. Loukiantchenko, G. C. do Amaral, N. Alfasi, M. O. Shkolina, W. Tittel, and R. Hanson, npj Quantum Inf. 10, 107 (2024).
  18. [18]T. Gorin, C. Pineda, and T. H. Seligman, Phys. Rev. Lett. 99, 240405 (2007).
  19. [19]G. K. Brennen and A. Miyake, Phys. Rev. Lett. 101, 010502 (2008).
  20. [20]E. Bäumer, V. Tripathi, A. Seif, D. Lidar, and D. S. Wang, Phys. Rev. Lett. 133, 150602 (2024).
  21. [21]H. Bechmann-Pasquinucci and W. Tittel, Phys. Rev. A 61, 062308 (2000).
  22. [22]H. Bechmann-Pasquinucci and A. Peres, Phys. Rev. Lett. 85, 3313 (2000).
  23. [23]Propp, T. B., Tissot, B., Sørensen, A. S., & Wehner, S. D. C. (2026). Remotely preparing many qubits with a single photon (pp. arXiv:2604.03495).
  24. [24]K. Nemoto, M. Trupke, S. J. Devitt, A. M. Stephens, B. Scharfenberger, K. Buczak, T. Nöbauer, M. S. Everitt, J. Schmiedmayer, and W. J. Munro, Phys. Rev. X 4, 031022 (2014).
  25. [25]F. Omlor, B. Tissot, and G. Burkard, Phys. Rev. A 111, 012612 (2025).
  26. [26]Y. Zheng, H. Sharma, and J. Borregaard, PRX Quantum 3 (2022), 10.1103/prxquantum.3.040319.DOI
  27. [27]V. Dunjko, E. Kashefi, and A. Leverrier, Phys. Rev. Lett. 108, 200502 (2012).
  28. [28]Y.-F. Jiang, K. Wei, L. Huang, K. Xu, Q.-C. Sun, Y.-Z. Zhang, W. Zhang, H. Li, L. You, Z. Wang, H.-K. Lo, F. Xu, Q. Zhang, and J.-W. Pan, Phys. Rev. Lett. 123, 100503 (2019).
  29. [29]N. Rimock, K. Cohen, and Y. Oz, Phys. Rev. A 113, 012603 (2026).
  30. [30]M. A. Nielsen, Rep. Math. Phys. 57, (2006).
  31. [31]T. Morimae and K. Fujii, Nat. Commun. 3, 1036 (2012).
  32. [32]Y. Takeuchi, T. Morimae, and M. Hayashi, Sci. Rep. 9, 13585 (2019).
  33. [33]S. Ma, C. Zhu, X. Liu, H. Li, and S. Li, Physical Review A 109 (2024), 10.1103/physreva.109.012606.DOI
  34. [34]L. Escolà-Farràs and F. Speelman, “Quantum position verification in one shot: parallel repetition of the $f$-BB84 and $f$-routing protocols,” (2025), arXiv:2503.09544 [quant-ph].arxiv.org/abs/2503.09544
  35. [35]J. Bartusek, Z. Huang, L. Orshansky, and H. Yuen, “How to track qubits through space and time (or: Sailing in a quantum boat),” (2026), arXiv:2605.30732 [quant-ph].arxiv.org/abs/2605.30732
  36. [36]B. Polacchi, D. Leichtle, L. Limongi, G. Carvacho, G. Milani, N. Spagnolo, M. Kaplan, F. Sciarrino, and E. Kashefi, Nat. Commun. 14, 7743 (2023).
  37. [37]P. Kok, W. J. Munro, K. Nemoto, T. C. Ralph, J. P. Dowling, and G. J. Milburn, Reviews of Modern Physics 79, 135 (2007).
  38. [38]B. Tissot, S. Maiti, E. R. Hellebek, and A. S. Sørensen, Phys. Rev. Research 8, 033067 (2026).
  39. [39]R. Barak and Y. Ben-Aryeh, J. Opt. Soc. Am. B 24, 231 (2007).
  40. [40]Fleur, R. (2025). Blind Quantum Machine Learning: Transpilation, Resource Estimation, and Experimental Outlook.
  41. [41]J. F. Fitzsimons and E. Kashefi, Phys. Rev. A 96, 012303 (2017).
  42. [42]T. Kapourniotis, E. Kashefi, D. Leichtle, L. Music, and H. Ollivier, Quantum Sci. Technol. 9, 035036 (2024).
  43. [43]W. Li, S. Lu, and D.-L. Deng, Science China Physics, Mechanics & Astronomy 64, 100312 (2021).
  44. [44]M. Rossi, M. Huber, D. Bruß, and C. Macchiavello, New Journal of Physics 15, 113022 (2013).
  45. [45]West, D. B. (2001). Introduction to Graph Theory. In Prentice Hall.
  46. [46]V. D. Salakhutdinov, E. R. Eliel, and W. Löffler, Phys. Rev. Lett. 108, 173604 (2012).
  47. [47]B. C. Hiesmayr, M. J. A. de Dood, and W. Löffler, Phys. Rev. Lett. 116, 073601 (2016).
  48. [48]L. Yu, C. M. Natarajan, T. Horikiri, C. Langrock, J. S. Pelc, M. G. Tanner, E. Abe, S. Maier, C. Schneider, S. Höfling, M. Kamp, R. H. Hadfield, M. M. Fejer, and Y. Yamamoto, Nat. Commun. 6, 8955 (2015).
  49. [49]E. O. Kiktenko, A. S. Nikolaeva, and A. K. Fedorov, Reviews of Modern Physics 97, 021003 (2025).
  50. [50]J. Minár, H. de Riedmatten, C. Simon, H. Zbinden, and N. Gisin, Phys. Rev. A 76, 043827 (2007).
  51. [51]S. Rethinasamy, M. L. LaBorde, and M. M. Wilde, Phys. Rev. A 110, 052401 (2024).
  52. [52]A. Kent, W. J. Munro, and T. P. Spiller, Phys. Rev. A 84, 012326 (2011).
  53. [53]N. Chandran, V. Goyal, R. Moriarty, and R. Ostrovsky, SIAM Journal on Computing 43, 1291 (2014).
  54. [54]G. Brassard, Nature 479, 307 (2011).
  55. [55]A. Kent, Phys. Rev. A 84, 022335 (2011).
  56. [56]A. Bluhm, M. Christandl, and F. Speelman, Nat. Phys. 18, 623 (2022).

Paper details

vlnc:W_yupmep79
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents