Manuscript Offprint
arXiv:2610.28596Entanglement Distribution in Quantum Switch Networks: Memory Limits and Achievability
Abstract
We study the minimum persistent memory required to distribute a graph state through a quantum switch. Specifically, consider a central switch that assists n remote users in distributing a graph state, using independently generated user-switch Bell pairs. Since Bell-pair generation is probabilistic, different links generally succeed at different times. When a Bell-pair is generated, the qubits may need to be stored in memory while waiting for other links to succeed. Recently, new protocols have been proposed to reduce this storage overhead by processing and releasing some switch qubits before all Bell links are available. However, these protocols do not characterize the minimum persistent switch memory required at each stage. Moreover, the local-cover method in the state-of-the-art Piecemaker protocol is computationally expensive for general target graphs.
In this work, we characterize the minimum persistent switch memory required after any subset of users' Bell links are generated and processed. We then develop an online stabilizer-transition protocol that attains this limit, which can be implemented in polynomial time in the number of qubits n. The construction depends only on the users processed so far and the newly available Bell link, and does not require information about future link successes. Remarkably, this optimal protocol can provide substantial memory reductions over existing heuristic approaches. In particular, for the path graph over n users, Piecemaker protocol requires at least qubits of peak persistent memory for every Bell-links generation order, whereas under the order , our protocol requires only one persistent switch qubit. Moreover, when one Bell link succeeds in each round of duration , our protocol reduces the maximum storage time of individual qubit from at least in Piecemaker to under the order . Finally, the same stabilizer-transition framework also provides a direct forward construction for sequential graph-state generation using the minimum number of quantum emitters, equal to the maximum of the height function.

Figure 1: System model of the quantum switch network. Each user is connected to the central switch through a quantum channel. When Bell-pair generation on a user-switch link succeeds, the two halves are stored at the user and the switch, respectively. Otherwise, the corresponding memory remains empty.
1 Introduction
Entanglement is a fundamental resource for quantum information processing and quantum networks [1–3]. In multipartite settings, a particularly important class of entangled states is stabilizer states, which can be efficiently described and manipulated using Clifford operations [4]. Every stabilizer state is local-Clifford (LC) equivalent to a graph state, which provides a convenient graphical representation of its entanglement structure. Graph states are key resources for quantum computation and distributed quantum protocols [5–7]. However, realizing these applications over a quantum network requires graph states to be distributed among remote nodes (i.e., users). This distribution is challenging, as noise introduced during transmission, storage, and processing can degrade the fidelity of the resulting state.
Recently, the concept of a quantum switch has been proposed as a scheme for entanglement distribution among remote users [8–14]. Specifically, as illustrated in Fig. 1, consider a central quantum switch connected to n users through independent quantum channels. Each user and the switch first attempt to establish a Bell pair between the user's memory subsystem, represented by and the switch's memory subsystem . Once the Bell pairs are available, the switch performs local operations to distribute the target graph state among the users. However, the generation of Bell links is probabilistic and thus different links can succeed at different times. A conventional scheme, referred to as the Factory protocol [15], waits until all Bell pairs are available. It then prepares the target state at the switch and teleports its qubits to the users' qubits. Consequently, when a Bell pair is generated early, its switch-side qubit has to stay in memory until the remaining links are established. The user-side qubit also needs to be stored since it will be part of the final graph state. However, the switch-side qubit is only needed during the distribution process. While a switch qubit waits, memory errors can reduce the fidelity of its shared Bell pair [16–18]. Teleportation through that noisy pair can lower the fidelity of the final graph state [19]. Also, the occupied switch memory will be unavailable for other tasks.
More recently, Piecemaker protocol [20] has been introduced to reduce this storage overhead by waiting only until the available Bell links contain a minimal local cover (MLC) of the target graph, i.e., a vertex cover of some graph that is LC-equivalent to the target. Then, subsequent Bell-pair halves can be processed and released once their links succeed. However, Piecemaker requires computationally expensive preprocessing to identify MLCs over graphs that are LC-equivalent to the target graph [21]. In this paper, we consider going beyond this local cover approach. Specifically, we investigate the minimum number of persistent qubits that the switch must retain over the distribution process. Here, persistent qubits refer to the switch qubits that remain stored after a processing step and are retained while waiting for future Bell-link successes. After any set of users has been processed, we aim to characterize the minimum number of persistent qubits required at the switch. This minimum gives a fundamental memory limit for graph state distribution. However, achieving this limit is nontrivial. First, the processed users must already have the same reduced state, as the switch can no longer directly apply joint quantum operations on these users' qubits after they have been processed, i.e., only local operations can be performed on these qubits. Second, the quantum correlations between the processed and unprocessed users must still be preserved through the switch. Finally, as future Bell links arrive in an unknown order, the switch must maintain and update these correlations online while retaining as few qubits as possible.
Inspired by recent works on sequential photonic graph-state generation [22–24], we connect the switch-memory requirement to the resources required for sequential graph-state generation. In particular, Li et al. [23] considered sequential graph state generation using the minimum number of quantum emitters. Quantum emitters are stationary quantum systems that generate and interact with photonic qubits. After a photonic qubit is generated and interacts with the emitters, it is emitted and no longer participates in subsequent operations. The emitter retains the quantum correlations between the emitted photons and those that have not been generated. For a fixed order in which the photonic qubits are generated, [23] showed that the required number of emitters is determined by the maximum bipartite entanglement across the emitted and unemitted cut. They further developed a time-reversed algorithm that starts from the target graph state and sequentially absorbs the photonic qubits into the emitters. Then, reversing this procedure yields the sequence of emitter operations and photon emissions for generating the target state. This provides a natural connection to the quantum-switch setting.
Despite this connection, their model differs from the quantum-switch setting in two important aspects. First, in the quantum-switch model, Bell links are established probabilistically, so the order in which users can be processed is generally not known in advance. In contrast, the photon emission order in sequential generation is prescribed before the generation process. Second, in sequential generation, an emitter locally generates each photonic qubit and can directly interact with it. However, in the quantum-switch setting, the user qubits are located remotely from the switch, so the switch cannot directly apply local operations on them. When a link succeeds, the switch only holds one half of the Bell pair, i.e., in Fig. 1, while the other half, , is located at the remote user side. Therefore, the switch cannot directly perform the same joint operation between its memory qubit and the user qubit as in sequential generation. Hence, the sequential state generation protocol cannot be applied to the quantum switch setting.
Our contributions in this paper are as follows.
-
We establish a fundamental lower bound on the persistent switch memory required after any subset of users' Bell links are generated and processed. In particular, for an arbitrary pure target state, the bound is the base-two logarithm of the rank of the reduced density operator on the processed users. For stabilizer states, the bound equals the von Neumann entropy of the reduced state on these processed users. For graph states, it reduces to the binary cut-rank of the adjacency submatrix of processed-unprocessed users partition.
-
We develop an online stabilizer-transition protocol that attains the memory lower bound after processing each newly established Bell link. The Bell-link arrival order is completely unknown to the protocol, and no statistical assumptions are made about future Bell-link arrivals. In particular, at each step, we maintain a minimal stabilizer purification of the target reduced state on the processed users. This is a stabilizer state shared by the processed users and the switch. It is minimal because the switch retains the minimal number of persistent qubits required by the lower bound. We give explicit stabilizer-transition operations that update this minimal purification whenever a new user is processed. Moreover, our protocol can be implemented in polynomial time and the worst-case classical complexity is .
-
We compare the fundamental memory limit and the state-of-the-art heuristic Piecemaker protocol [20]. We prove that our protocol uses no more persistent switch qubits than Piecemaker at any stage of the process. As a stark example, for the path graph , Piecemaker requires at least qubits of peak persistent memory for every arrival order, whereas for the sequential order , our protocol requires only one persistent switch qubit throughout the distribution process. Thus, for this arrival order, the gap between the state-of-the-art heuristic and the fundamental optimum grows linearly with n.
-
Finally, the stabilizer-transition framework provides a direct forward construction for sequential graph state generation using the minimum number of quantum emitters. Unlike the existing time-reversed construction in [23], our protocol proceeds directly along the generation order by maintaining and updating a minimal stabilizer purification after each emitted qubit. The number of required emitters then is equal to the maximum of the corresponding height function of the target graph state [23].
Notation: denotes the finite field of order 2, and denotes the set of matrices over . The symbol means “defined as”. For a set , denotes the set obtained by removing from , while denotes the set obtained by removing all elements of from . For a stabilizer state , denotes its stabilizer group. For a Pauli operator , supp() denotes the set of qubits on which acts nontrivially. For a stabilizer group , denotes its Pauli normalizer, i.e., the set of Pauli operators that commute with every element of . The quotient group represents the logical Pauli operators associated with . We use rank for the matrix rank of a density operator over , and rank for the rank of a binary matrix over . For , denotes the greatest integer not larger than , and denotes the smallest integer not smaller than . For a set of operators , denotes the group generated by the elements of . Moreover, denotes the group generated by and .
2.1 Quantum Network Model
We consider a star-topology network consisting of a central quantum switch and a set of remote users indexed by . The switch is equipped with quantum memory qubits and assists the users in distributing a prescribed stabilizer state. Specifically, each user has a single quantum memory qubit and is connected to the switch through a quantum channel. The goal of the switch is to distribute the stabilizer state among the remote user qubits , . Since any pure stabilizer state is local-Clifford equivalent to a graph state, in this work, we focus on distributing graph states, and the same framework also applies to pure stabilizer states up to local Clifford operations.
Definition 1 (Graph State) Let be an undirected graph. The associated n-qubit graph state is
Equivalently, is the unique simultaneous +1 eigenstate of the stabilizer generators
where denotes the neighborhood of vertex i in G.
The target graph is fixed and known to the switch before the distribution protocol begins. To distribute among the users, Bell pairs are first generated over the individual user-switch links, with shared between user 's memory and the switch's memory
. The switch then processes the successfully generated Bell pairs using local quantum operations. More specifically, the distribution process consists of the following two interleaved stages.
Stage I: Bell-link generation. To establish entanglement between and , the corresponding quantum link repeatedly attempts to generate a Bell pair until success. Upon a successful attempt, and share the Bell state
Each attempt is heralded, so both the user i and the switch know whether it succeeded. In addition, different quantum links operate independently in the same manner. Following the network model of Piecemaker [20], entanglement generation proceeds in discrete rounds of duration . If multiple links succeed in the same round, we treat them as one batch, and the switch processes the batch in any preferred internal order. Note that the Bell links generally become available at different times, and their order is completely unknown.
Stage II: Switch processing. Whenever a Bell link is established, the switch can process the new switch-side qubit and the retained qubits. To process the qubits, the switch is equipped with a quantum processor that can perform controlled-Z (CZ) and controlled-X (CX) gates between its memory qubits, single-qubit Clifford gates, and single-qubit Pauli measurements. It can also communicate heralding signals and measurement outcomes classically to the users. The remote users are restricted to single-qubit Clifford gates and Pauli measurements.
Following the assumption in [20], we further assume that local quantum operations, measurements, and classical feed-forward are sufficiently fast compared with the entanglement-generation time . After processing, a switch-side qubit may either be released or retained for future Bell-link successes. We refer to the qubits that remain stored at the switch after each processing step as the persistent switch memory. Note that in physical implementations, stored qubits can decohere while waiting for future links. The resulting errors can degrade the shared entanglement and lower the fidelity of the final graph state. Moreover, releasing switch qubits also makes their quantum memory available for other tasks. Therefore, our goal is to minimize this persistent memory while eventually distributing the target graph state .
In fact, only one of CZ and CX is required, because they are equivalent up to single-qubit Hadamard gates.
Target: Arrival Order: , ,
Factory protocol

, wait for Users 1, 2
, wait for User 2

, prepare
, teleportation + corrections
, target
Figure 2: Factory protocol for distributing the four-qubit path graph state. Users 3 and 4 establish Bell links at , while users 1 and 2 generate the links at and , respectively. The switch stores its halves of the successful Bell pairs until all four links are available. It then prepares the target state on four auxiliary qubits . The switch performs a Bell-state measurement on each pair to teleport the state of to the user qubits . Each user applies a single-qubit Pauli correction based on the corresponding measurement outcome. The users then share the target graph state.
2.2 Existing Protocols
We next review two existing approaches to graph-state distribution under the network model above. We illustrate both protocols using the four-qubit path and the same Bell-link arrival times. We will return to this path graph when illustrating the proposed protocol in Section 5.
Factory Protocol: The conventional approach, referred to as the Factory protocol [15], waits until all Bell links have been established. The switch then locally prepares the target graph state on n auxiliary memory qubits and teleports their joint state to the corresponding remote users using the established Bell pairs. As a result, the switch halves of Bell pairs established early must remain stored until all links become available. This increases their exposure to memory decoherence and can reduce the fidelity of the distributed graph state.
Figure 2 illustrates this procedure for . At , the switch holds , while at , it holds , and . It must retain these qubits until the link for user 2
Target:
Arrival Order: , ,
(a) Piecemaker protocol

, store (MLC)
, CZ; measure
, release

, CZ; measure
, state:
, after LC:
(b) LC conversion in Piecemaker

Figure 3: Piecemaker protocol for distributing the four-qubit path graph state, where users 3 and 4 establish their Bell links at , while users 1 and 2 succeed at and , respectively. (a) When users 3 and 4 generate their Bell links, the set is a vertex cover of the LC-equivalent graph . The switch then retains and as persistent qubits, and processes each later link upon arrival. It releases at and all remaining switch qubits at . After all Bell links are generated and processed, the users' qubits form the graph state . By performing the single-qubit LC operations , the users share the target graph state . (b) Local complementations applied at , , and , respectively, transform into . Each operation adds missing edges and removes existing edges between the neighbors of . For example, the neighbors of in are and . Since they are not connected by an edge, adds the edge , which produces the graph .
succeeds at . Then, it prepares and teleports the target state.
Piecemaker Protocol: Piecemaker [20] reduces this storage overhead by processing some Bell links before all links are available. In particular, it waits until the available Bell links contain minimum local cover (MLC) of the graph. First, recall that a subset is a vertex cover of G if every edge in E has at least one endpoint in W. A vertex cover W is minimal if no strict subset of is also a vertex cover. Now, suppose that the established Bell links contain such a vertex cover . For any subsequently established link corresponding to , all neighbors of belong to . Then, the switch measures the corresponding stabilizer , where denotes the neighboring vertices to in the graph , which depends only on and vertices whose links are already available. Piecemaker can therefore impose this stabilizer and release the corresponding switch-side qubit. Thus, the protocol does not need to wait for the remaining links.
Furthermore, Piecemaker exploits local-Clifford equivalence. In particular, the switch may use a graph that is local-Clifford equivalent to the target graph G. If the available Bell links contain a vertex cover C of , newly established links outside the cover can again be processed immediately. This motivates the following definition.
Definition 2 A set is a local cover of G if it is a vertex cover of some graph , where is local-Clifford equivalent to G. It is a minimal local cover (MLC) if no proper subset is also a local cover of G.
After the distribution of is completed, local Clifford operations transform it into the target state .
Figure 3 illustrates this approach for the same path graph and arrival times. The set is not a vertex cover of graph , but it is a vertex cover of the LC-equivalent graph shown in the figure. Thus, a local cover is already available at . When the Bell pair for user 1 succeeds at , the switch processes and releases . Only and are stored while waiting for user 2, whereas Factory protocol retains three switch qubits during the same arrival. After all links have been processed, the users share the graph state . Then, the users perform sequential local complementations shown in Figure 3(b) to convert the graph to the target .
As a result, Piecemaker can release some switch qubits before all Bell links are available, thereby reducing the persistent switch memory. However, the algorithm to find the MLCs requires substantial computational complexity [21]. This limits its use for larger graphs. Therefore, our motivation in this paper comes from the two questions not answered by the Piecemaker: what is the minimum number of persistent switch qubits and how to achieve it with polynomial classical computation. To this end, we first derive a memory lower bound for arbitrary pure states. We then show that this bound is achievable for graph states.
3 Minimum Memory at the Switch
Let and denote the set of processed users and unprocessed users, respectively. We first establish a lower bound on the required switch memory. This bound applies to any general pure state to be distributed among the users .
3.1 Lower Bound for General Pure States
Let denote the quantum register retained at the switch side after processing , and let be the number of qubits of . is the reduced state of the target state on the processed users. For any valid protocol, the intermediate state need not be pure. To derive a memory bound that also applies to mixed intermediate states, we use the Schmidt number, which extends Schmidt rank to mixed states. For completeness, we first recall its definition [25,26].
Definition 3 A bipartite density operator on has Schmidt number across the bipartition , denoted as , if:
- For any pure-state decomposition of , , such that
at least one of has Schmidt rank at least , i.e., . Here, denotes the Schmidt rank of across . It is the number of nonzero coefficients in its Schmidt decomposition.
- There exists a decomposition of in which all have Schmidt rank at most , i.e., .
Equivalently, we can write
For a pure state, the Schmidt number is its Schmidt rank [25]. Moreover, the Schmidt number is nonincreasing under local operations and classical communication (LOCC).
We now bound the persistent memory needed to distribute a pure state.
Theorem 1 Consider any exact protocol that distributes a pure state under the network model above. After processing any subset of users , the number of persistent switch qubits satisfies
Proof: Consider the Schmidt decomposition of the target state across [27],
(7) where and are orthonormal sets. The coefficients , , satisfy . Here, is the Schmidt rank across the bipartition . Also, .
Now, consider any arbitrary distribution protocol that distributes the target state among users . Let denote all quantum systems held by the processed users in , and denote the current joint state with the retained switch register . In general, need not be pure. Since contains qubits, we have . Therefore, every pure state on has Schmidt rank at most
By the definition of Schmidt number, we have
Now, we fix a bipartition of the network nodes. The left side contains the users in A, while the right side contains the switch and all users in . We keep this node bipartition fixed throughout the rest of the proof. On the right side, we also explicitly include the Bell pairs that will be generated for users in . Specifically, let T collect both halves of these pairs, and define
where both and belong to the right side of the bipartition, as neither is a qubit of users in A. Appending is a right-side local operation and cannot increase the Schmidt number. Conversely, tracing out T recovers and is also a right-side local operation. Hence, by the monotonicity of Schmidt number in both directions, we have
The equality in (11) can also be proved using Schmidt decompositions. Specifically, let . Consider any pure state and its Schmidt decomposition
where . Then,
The vectors , , are orthogonal, and thus this is a Schmidt decomposition across with the same Schmidt coefficients. As a result,
By the definition of Schmidt number, we have (11).
Then, all switch operations act on the right side, and the processed users A receive no new Bell links and no joint quantum operations across the bipartition. Hence, only classical communication crosses the fixed bipartition, and the remainder of the protocol is LOCC across the partition. Let denote the final joint state of all quantum systems. At this stage, let B denote all quantum systems held by the switch and the users in , including the remaining local ancillas. Since the target state must be distributed among the users, the final state factorizes as , where is the joint state of all remaining systems. Recall that the Schmidt number of a pure state equals its Schmidt rank, and thus,
By taking the base-2 logarithm, we have (6). This completes the proof.
Furthermore, we now consider graph states. Since graph states are a class of stabilizer states, we first specify the lower bound in terms of the stabilizer group.
3.2 Persistent Switch Memory Limit for Graph States
We first consider the memory lower bound for stabilizer states. For a stabilizer state, the reduced state on the processed users A is characterized by the stabilizers supported on those users. We define the reduced stabilizer group as follows.
Definition 4 For a stabilizer state and , the reduced stabilizer group on is defined as
where denotes the Pauli group acting on the qubits in , denotes the stabilizer group of . Under the embedding , is a subgroup of the abelian stabilizer group , and thus, it is also abelian. Let denote the number of independent generators of , denoted by . Then, , where denotes the number of elements in the group .
Then, the reduced state on A is determined by the stabilizers in , shown as follows.
Lemma 1 The reduced state on A, i.e., , is described by
Proof: Since is a pure stabilizer state, we have [2]
Then,
\rho_{A}=\mathrm{T r}_{\bar{A}}\left|\psi\right\rangle\langle\psi\right|=\frac{1}{2^{n}}\sum_{g\in S\left(\left|\psi\right\rangle\right)}\mathrm{T r}_{\bar{A}}(g). \tag{19}For every element , we can write it as , where and act on and , respectively. Thus,
Since and , if , then . This means that only stabilizers supported entirely on survive the partial trace. For such a stabilizer,
Hence,
In addition, since the group is generated by , every element of has the form . Then,
This completes the proof.
Lemma 2 Let . Then, and , where is the von Neumann entropy of .
Proof: For each stabilizer , its +1 eigenspace projector is . Hence, the projector onto the joint +1 eigenspace of is
By Lemma 1, we then have
Since is a projector, its rank equals its trace. Moreover,
For the stabilizers in , only the identity has a nonzero trace. Thus,
Since , we have
Also, has exactly nonzero eigenvalues, all equal to , from (25) and (27). Hence, the entropy of is
This completes the proof.
By Theorem 1, any valid protocol therefore satisfies for a stabilizer target state. We next specialize this quantity to graph states.
Lemma 3 Let be the graph state associated with an undirected graph , with binary adjacency matrix . The th element of is defined by
For any subset ,
(31) where denotes the submatrix of whose rows and columns are indexed by and , respectively.
The identity in (31) is a standard result of the stabilizer representation of graph states [28]. For completeness, we provide a proof in Appendix A.
Lemma 3 describes for any graph state. Based on this, we can characterize the switch-memory limit for graph-state distribution.
Corollary 1 For distributing a graph state , after the Bell links of users in have been processed, the switch must retain at least
persistent switch qubits.
Thus, for graph states, the cut-rank in (32) gives a fundamental limit on the switch memory. In the next section, we achieve this limit by providing a computationally efficient stabilizer-transition protocol.
4 Achieving the Memory Bound via Stabilizer Transitions
Let denote the processed users and let denote the persistent qubits stored at the switch. We maintain a joint pure state as a purification of the target reduced state . Our goal is to maintain a minimal stabilizer purification of using exactly persistent switch qubits after processing each user.
4.1 Canonical Stabilizer Purification and Logical Mirrors
Definition 5 A pure state is a purification of if
It is a stabilizer purification if is also a stabilizer state, and it is minimal if . Since , any purification of requires a purifier of dimension at least . Hence, every purification uses at least switch qubits, and a minimal purification achieves this bound. In addition, a minimal purification need not be unique.
Definition 6 Let be a minimal stabilizer purification. For a Pauli operator , a switch-side Pauli is called a mirror of if
Lemma 4 Let be a minimal stabilizer purification for . Then, ignoring global phases, every logical Pauli class in has a unique switch-side Pauli mirror on . Moreover, the mirror map preserves the symplectic commutation relation.
Proof: First, note that every reduced stabilizer acts trivially on the switch side, i.e., . To see this, by the definition of , we have
Note that the states and are both purifications of the same reduced state , and is a minimal purification. We then have
By the equivalence of purifications, there exists an isometry
such that . Therefore,
Applying to both sides and using , we obtain
This implies that .
Then, we show that there is no nontrivial stabilizer supported only on , i.e., if , then . To see this, since the purification is minimal, contains exactly qubits. Since is pure, the entropies of and are the same, i.e., . The entropy of a state on a -dimensional space is at most , with equality only for the maximally mixed state. Hence, and
which implies that is full rank. Then, suppose , then . Since is invertible, we have .
Now, we prove the existence of mirrors. Ignoring the global phases, we define the map
This is a well-defined map, because for every element , it commutes with , hence, and thus , which means is an element of . Moreover, is a group homomorphism. Specifically, for any , , we have
Next, we consider the kernel of . First, it can be seen that . Conversely, suppose . Then, . Since , multiplying and gives . Since we have already proved that , we now obtain that
By the first isomorphism theorem, we have
Since is a pure stabilizer state on qubits, , and since , we have
where . On the other hand, is a stabilizer group acting on qubits with logical operators. Therefore, . Since and the two groups have the same cardinality, we have
i.e., the map is surjective. This means that for any logical Pauli class , there exists a stabilizer such that . Therefore, there exists such that . Since , multiplying it with gives . Hence, every logical Pauli operator has a switch-side Pauli mirror.
We next prove the uniqueness of . Suppose two representatives of the same logical class are and , , and suppose that their mirrors are and , respectively, i.e.,
By multiplying the second stabilizer with , we have . Thus,
which implies up to some global phase. This proves the uniqueness.
Finally, the mirror map also preserves multiplication. Specifically, suppose and have mirrors and , respectively, i.e., , . Their product is also a stabilizer, which means
Hence, is a mirror of . Moreover, suppose that and have the commuting relation as , , and similarly, \widetilde{P}_E\widetilde{Q}_E = (-1)^c' \widetilde{Q}_E \widetilde{P}_E, . Since and are both stabilizers of , they must commute. Therefore, their total commutation phase satisfies , which implies modulo 2. Hence, the mirror map preserves commutation and anticommutation. This completes the proof.
We now introduce the canonical form for minimal stabilizer purifications.
Definition 7 A minimal stabilizer purification is canonical if the generators of its stabilizer group are
where is a symplectic basis for , i.e.,
modulo . All commute with each other, and commute with each other. These relations define a symplectic basis.
In this form, each logical qubit of is paired with one switch qubit. Table 1 summarizes the canonical stabilizer purification.
It should be noted that the canonical form is not a restriction on the allowed minimal stabilizer purifications. In fact, every minimal stabilizer purification of can be transformed into the canonical form by a Clifford acting only on the switch-side qubits E. This allows us to use canonical stabilizer purifications as the input and output interfaces of the transition process.
Theorem 2 Let be any minimal stabilizer purification of . For any logical sym-plectic basis , there exists a Clifford operator acting only on E such that
is a canonical stabilizer purification. Moreover, can be implemented using CX and single-qubit Clifford gates.
Proof: By Lemma 4, each logical basis operator has a switch-side mirror. Let and satisfy
Since the mirror map preserves the symplectic form, is a symplectic Pauli basis on the switch qubits. Furthermore, since any symplectic Pauli basis can be mapped to the standard Pauli basis by a Clifford operator [4] using symplectic Gaussian elimination, there exists a switch-side Clifford such that
for some . The signs can be removed by an additional Pauli operator on [4]. We also include these corrections in .
Since acts only on the switch, it does not change and thus preserves the reduced state . The resulting purification is therefore canonical. Finally, note that the Clifford group is generated by the Hadamard transformation , the phase gate , and the CX gate [29], where
Then, can be implemented using H, S, and CX. This completes the proof.
Consequently, every minimal stabilizer purification can be transformed to a canonical form. Now, we are ready to present the complete stabilizer transition protocol. The construction follows an inductive invariant: after processing a new user's Bell link, the joint state of the processed users and the switch is a minimal stabilizer purification in canonical form. We first verify the invariant for the first processed user. Then, we show that each subsequent single-user transition preserves it.
The notation and indicates that these operators mirror and , respectively. They may be arbitrary Pauli operators on E and need not be purely X-type or Z-type.
S_{A}\left\{\begin{array}{c c c c}{{{u_{1}}}}&{{{\cdots}}}&{{{u_{|A|}}}}&{{{E_{1}}}}&{{{\cdots}}}&{{{E_{r_{A}}}}} \\{{{\hline s_{1}}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}} \\{{{s_{d_{A}}}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{\overline{X}_{1}^{A}}}}&{{{X}}}&{{{\cdots}}}&{{{I}}} \\{{{\overline{Z}_{1}^{A}}}}&{{{Z}}}&{{{\cdots}}}&{{{I}}} \\{{{\vdots}}}&{{{\vdots}}}&{{{\ddots}}}&{{{\vdots}}} \\{{{\overline{X}_{r_{A}}^{A}}}}&{{{I}}}&{{{\cdots}}}&{{{X}}} \\{{{\overline{Z}_{r_{A}}^{A}}}}&{{{I}}}&{{{\cdots}}}&{{{Z}}}\end{array}\right.Table 1: Canonical minimal stabilizer purification across the user-side and the switch-side qubits.
4.2 Initial Stage
We first consider the arrival of the first user . If is isolated in the target graph , then its target state is . Thus, once the Bell pair link is established, the switch measures . For outcome , user applies . The switch then releases , so the persistent memory is zero. We therefore assume below that has at least one neighbor in .
Now, for a non-isolated v, the only stabilizer supported on v alone is the identity. Hence, the reduced stabilizer group on is
which implies , . Thus, the target reduced state of user v is
Hence, when the Bell pair is established, tracing out the switch-side half also gives
Therefore, the Bell pair is a purification of the target reduced state for the first processed user. In addition, it uses exactly switch qubit. Thus, this purification is a minimal stabilizer purification. To see that it is canonical, the stabilizers are and , and we can define
such that the stabilizers are in the canonical form. Hence, the minimal canonical-purification invariant holds after the first processing step.
4.3 Single-User Stabilizer Transitions
Proceeding with the inductive step, suppose that the current state is a minimal stabilizer purification in canonical form.
When the Bell link of the new user is generated, let . The new link provides a Bell pair . Our goal is to transform into a minimal purification for . To this end, we first show that the switch memory can change by at most one qubit per update.
Lemma 5 For , we have
Proof: For a graph state with adjacency matrix , and . Let . The old cut matrix adds one column to this common submatrix. The new cut matrix adds one row. Thus,
which gives . This completes the proof. ■
Lemma 5 shows that every single-user update belongs to one of three cases:
Recall that the number of independent generators in is , and thus . Then, being +1, 0, -1 corresponds to being 0, 1, 2, respectively, which are associated with the number of new generators that need to be added to . The following lemma gives the precise form of these new generators. When comparing with , we use the natural embedding .
Lemma 6 For , the reduced stabilizer group has the following structure.
-
If , then , and thus .
-
If , then contains exactly one new independent generator, which has the form
where . Hence, .
- If , then contains exactly two new independent generators, which have the form
where , and . Hence, form a logical Pauli pair for , and .
Proof: We consider the quotient . Recall that , and thus . The quotient has dimension . Thus, this quotient describes exactly the independent stabilizer constraints that appear when the new user is added.
Note that each element of can be written as , where is a single-qubit Pauli operator. We now recall the symplectic form of Pauli operators [2]. Specifically, ignoring the phase, the single-qubit Pauli group can be represented by the binary vector space through
Now, ignoring global phases, consider any element in , denoted as , where corresponds to , . We define the map
Thus, records only the Pauli operator acting on the newly added qubit . This map is well-defined because two representatives of the same coset differ by an element , which does not change the Pauli acting on . Moreover, the map is injective. To see this, suppose . Then, has the form . Since and is supported entirely on , we have by the definition of the reduced stabilizer group. Hence, , which is the zero element of the quotient . Thus, the kernel of consists only of the zero coset, hence is injective.
We now consider the three possible rank changes. First, when , then . Hence, and the embedded have the same dimension. Since , we have . Using the reduced-state stabilizer representation for the reduced state, we have
This proves the case of .
Second, when , we have . Thus, has dimension one. Therefore, exactly one new independent stabilizer generator is required. We can choose a representative of its nontrivial coset as , where cannot be the identity, because otherwise would be supported entirely on and thus , contradicting . Furthermore, should commute with all embedded stabilizers . This means , and thus . This proves the case of .
Finally, if , we have . This means that . Recall that the map is injective. Since both its domain and codomain have dimension two, is bijective. In particular, there exists a stabilizer coset whose restriction to has Pauli label , corresponding to , and another stabilizer coset that has the Pauli label , corresponding to . Therefore, these two cosets can be characterized by two representatives and defined in (66). Since both and commute with every embedded stabilizer , their parts . Moreover, since and commute, and their parts anticommute, their parts should anticommute, i.e., . Hence, form an anticommuting logical Pauli pair of . This proves the case of .
Lemma 6 gives the exact stabilizer structure corresponding to each of the three rank changes. We next construct a switch-side operation that realizes each case while retaining exactly persistent switch qubits after the transition.
4.3.1 Rank-Increasing Transition
When , we have , and therefore
The target reduced state is . Note that the current state
is already a stabilizer purification for . Also, we retain the new Bell half as a new persistent qubit at the switch, and the purification uses persistent qubits. Hence, it is a minimal stabilizer purification.
Moreover, it is in the canonical form. Specifically, a logical symplectic basis for can
S_{A^{\prime}}\left\{\begin{array}{c c c c c c}{{{u_{1}}}}&{{{\cdots}}}&{{{u_{|A|}}}}&{{{u_{v}}}}&{{{E_{1}}}}&{{{\cdots}}}&{{{E_{r_{A}}}}}&{{{m_{v}}}} \\{{{\hline s_{1}}}}&{{{I}}}&{{{I}}}&{{{\cdots}}}&{{{I}}}&{{{I}}} \\{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}} \\{{{s_{d_{A}}}}}&{{{I}}}&{{{I}}}&{{{\cdots}}}&{{{I}}}&{{{I}}} \\{{{\overline{X}_{1}^{A}}}}&{{{I}}}&{{{X}}}&{{{\cdots}}}&{{{I}}}&{{{I}}} \\{{{\overline{Z}_{1}^{A}}}}&{{{I}}}&{{{Z}}}&{{{\cdots}}}&{{{I}}}&{{{I}}} \\{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}}&{{{\ddots}}}&{{{\vdots}}}&{{{\vdots}}} \\{{{\overline{X}_{r_{A}}^{A}}}}&{{{I}}}&{{{I}}}&{{{\cdots}}}&{{{X}}}&{{{I}}} \\{{{\overline{Z}_{r_{A}}^{A}}}}&{{{I}}}&{{{I}}}&{{{\cdots}}}&{{{Z}}}&{{{I}}} \\{{{I_{A}}}}&{{{X}}}&{{{I}}}&{{{\cdots}}}&{{{I}}}&{{{X}}} \\{{{I_{A}}}}&{{{Z}}}&{{{I}}}&{{{\cdots}}}&{{{I}}}&{{{Z}}}\end{array}\right.Table 2: Canonical stabilizer purification after a rank-increasing transition. The original purification remains unchanged, while the fresh Bell pair contributes one additional logical pair and one new persistent switch qubit.
therefore be chosen as
The resulting stabilizers are shown in Table 2. Note that the old logical pairs remain mirrored by , while the stabilizers of the Bell pair, and are the new logical pair and corresponding mirror. Hence, the purification is canonical.
4.3.2 Rank-Preserving Transition
We now consider the case . Since , the reduced stabilizer group gains exactly one independent generator. Thus, we can write the reduced stabilizer group on as
where the new generator is
By Lemma 4, we can choose a mirror satisfying . In a canonical stabilizer purification, can be found from the logical expansion of . Specifically, up to a global phase,
for some . Then, its mirror has the symplectic form , where , . Then, is .
Furthermore, the Bell pair satisfies
where . The transpose is needed because . Now, let , and then
is a stabilizer for the current state. Next, the switch measures M with outcome s, which imposes the same eigenvalue s on the user-side operator g. Then, the user applies a single-Pauli correction to make the eigenvalue +1. The detailed steps are as follows.
Before the switch measurement, the reduced state on the users is
Let the measurement outcome of be . Since stabilizes the current joint state, measuring with outcome projects the user subsystem onto the -eigenspace of . Let denote the corresponding projector. The unnormalized post-measurement user state is therefore
Since commutes with and , this becomes
Moreover, since with , we have
(82) where the last equality is because . Hence, the probability of outcome s is
Thus, the normalized post-measurement state is
Then, the target reduced stabilizer group is , and the target reduced state is . Thus, when , we have the target reduced state. When , we choose a single-qubit Pauli that anticommutes with , i.e.,
Applying flips the sign of the new generator, i.e.,
Moreover, since all old generators act trivially on , they are not changed by . Hence, the resulting reduced stabilizer group is , and the reduced state on is the target state .
Note that can act nontrivially on multiple switch qubits. To implement this measurement while releasing only , let denote the support of excluding . Then, we can write the general form of as
up to global phase, where each , is not identity. For each Pauli, we apply a single-qubit Clifford mapping it to Z. Then, this operation maps M as
up to a known sign. Then, for each support qubit , the switch applies , and then
Thus, M is mapped to . Hence, we have converted measuring M to measuring .
After this measurement, is released. The remaining state is pure and stabilizer. Its reduced density matrix is , and exactly switch qubits remain in the switch. Thus, it is a minimal stabilizer purification. Finally, the remaining purification can be canonicalized by a switch-side Clifford. This gives a minimal purification in canonical form. The resulting
S_{A^{\prime}}\left\{\begin{array}{c c c c c}{{{User\ side}}}&{{{Switch\ side}}} \\{{{\hline u_{1}}}}&{{{\cdots}}}&{{{u_{|A|}}}}&{{{u_{v}}}}&{{{E_{1}}}}&{{{\cdots}}}&{{{E_{r_{A}}}}} \\{{{\hline s_{1}}}}&{{{I}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}} \\{{{s_{d_{A}}}}}&{{{I}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{P_{A}}}}&{{{Q_{u_{v}}}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{\hline \overline{X}_{1}^{A^{\prime}}}}}&{{{X}}}&{{{\cdots}}}&{{{I}}} \\{{{\overline{Z}_{1}^{A^{\prime}}}}}&{{{Z}}}&{{{\cdots}}}&{{{I}}} \\{{{\vdots}}}&{{{\vdots}}}&{{{\ddots}}}&{{{\vdots}}} \\{{{\overline{X}_{r_{A}}^{A^{\prime}}}}}&{{{I}}}&{{{\cdots}}}&{{{X}}} \\{{{\overline{Z}_{r_{A}}^{A^{\prime}}}}}&{{{I}}}&{{{\cdots}}}&{{{Z}}}\end{array}\right.Table 3: Canonical stabilizer purification after Transition 0. The new reduced stabilizer is incorporated into , while the switch retains qubits.
stabilizers are shown in Table 3.
4.3.3 Rank-Decreasing Transition
We now consider the case . In this case, we have , which means that the reduced stabilizer group gains two independent generators. By Lemma 6, these two new generators can be chosen as
where both and commute with , while and anticommute. Thus, and form a logical Pauli pair of the old reduced state .
We first complete the logical operators to a symplectic basis
This can be done by symplectic Gram-Schmidt orthogonalization [30]. By Lemma 4, we can find the mirrors corresponding to and as and , respectively. Similarly, let be the mirrors of the remaining logical pairs.
Now, we choose any switch qubit to be teleported to user , and define the remaining switch register as . By Theorem 2, there exists a switch-side Clifford
| User side | Switch side | |||||||
|---|---|---|---|---|---|---|---|---|
Table 4: Stabilizer representation before the teleportation step in Transition -1. After the switch-side re-encoding, the logical pair consumed by the new reduced stabilizers is localized on the switch qubit , while the remaining logical pairs are mirrored by . The fresh Bell pair contributes the stabilizers and .
such that
where . After this Clifford, the purification is stabilized by
Thus, the switch-side mirrors of the logical pair are localized on the single qubit . The stabilizers for the current state are shown in Table 4. Then, by teleporting to , the stabilizers and are transferred to and , respectively.
To be specific, let denote all old systems except . Before teleportation, the
S_{A^{\prime}}\left\{\begin{array}{c c c c c}{{{u_{1}}}}&{{{\cdots}}}&{{{u_{|A|}}}}&{{{u_{v}}}}&{{{E_{1}}}}&{{{\cdots}}}&{{{E_{r_{A}-1}}}} \\{{{\hline s_{1}}}}&{{{I}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}}&{{{\vdots}}} \\{{{s_{d_{A}}}}}&{{{I}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{P_{A}^{X}}}}&{{{X}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{P_{A}^{Z}}}}&{{{Z}}}&{{{I}}}&{{{\cdots}}}&{{{I}}} \\{{{\hline\overline{X}_{1}^{A^{\prime}}}}}&{{{X}}}&{{{\cdots}}}&{{{I}}} \\{{{\overline{Z}_{1}^{A^{\prime}}}}}&{{{Z}}}&{{{\cdots}}}&{{{I}}} \\{{{\vdots}}}&{{{\vdots}}}&{{{\ddots}}}&{{{\vdots}}} \\{{{\overline{X}_{r_{A}-1}^{A^{\prime}}}}}&{{{I}}}&{{{\cdots}}}&{{{X}}} \\{{{\overline{Z}_{r_{A}-1}^{A^{\prime}}}}}&{{{I}}}&{{{\cdots}}}&{{{Z}}}\end{array}\right.Table 5: Canonical stabilizer purification after Transition -1. A logical pair of the old purification is converted into two reduced stabilizers of through a Bell measurement on and . Consequently, both and are released, and the purifier size decreases from to .
state can be written as
Together with the new Bell pair, the joint state is . Applying first and then , the state becomes
Then, measuring and in the computational basis gives outcomes . The user then applies the Pauli correction , which leads to the state up to a global phase.
Now, the subsystem carried by is transferred to . The corresponding stabilizers are then transformed from , to , , respectively. These are exactly the two new generators of . The remaining logical operators remain mirrored by the qubits in and commute with both and . Note that has qubits. Hence, the new purification is minimal and canonical.
The resulting canonical stabilizer purification is shown in Table 5. Finally, the overall protocol is summarized in Algorithm 1.
Remark 1 If multiple Bell links succeed in the same round, the switch can process them sequentially in any internal order. Different orders can lead to different transient memory usage during the processing of the batch. However, in our model, the switch operations are assumed to be much faster than the Bell-link generation. Therefore, the persistent switch memory after processing the entire batch depends only on the set of processed users and is independent of the internal processing order.
Remark 2 Note that all steps in Algorithm 1 can be implemented in polynomial time using the binary symplectic representation of Pauli operators and stabilizer groups [2, 4, 30]. In particular, bases of reduced stabilizer groups can be obtained by Gaussian elimination over , while logical Pauli bases can be constructed using symplectic Gram-Schmidt orthogonalization. The Pauli mirrors are obtained by solving the associated linear commutation constraints. Finally, the required switch-side Clifford operation is determined by the symplectic transformation between the two Pauli bases and can be implemented by symplectic Gaussian elimination. Since all matrices involved have dimension , each of these procedures can be implemented using at most classical time in the worst case. Since there are n such steps, Algorithm 1 has worst-case classical time complexity .
5 Illustrative Example
To illustrate the proposed protocol, we consider a quantum switch network with four users. The users aim to build the four-qubit path graph over their qubits . The stabilizer generators of are
Use the order , with as the internal order of the first batch in Figs. 2–3. The number of persistent switch qubits is . Hence, the switch needs at most one persistent qubit in the distribution process.
User 4: +1 transition. As shown in Step 1 of Fig. 4, the first successful link supplies the Bell pair with stabilizers and . Since the required purifier size increases from 0 to 1, the switch retains . For the convenience of illustrating the subsequent transitions, we apply to express the purification in a graph-state form. Thus, the stabilizers become and , which lead to the graph state
This operation is not required by the proposed protocol. It is introduced only in this example to make the purification more transparent.
Algorithm 1 Stabilizer-Transition Protocol Using Minimum Switch Memory
Require: Target graph state .
Ensure: A minimal stabilizer purification in canonical form is maintained after each newly established Bell link is processed.
1: Initialize , , and .
2: for each newly established Bell pair , do
3: Set .
4: Compute the reduced stabilizer groups and .
5: Set and as the number of independent of generators of and , respectively.
6: Compute and .
7: if then
8: Retain as a new switch qubit.
9: Set .
10: else if then
11: Extract the new stabilizer .
12: Find the switch mirror of .
13: Set .
14: Reduce the measurement of to a signed measurement and release .
15: Apply the Pauli correction on .
16: Canonicalize the new purification by a switch-side Clifford.
17: else if then
18: Extract the two new stabilizers of .
19: Identify the logical pair consumed by the two new stabilizers.
20: Recode the consumed logical pair onto an output switch qubit .
21: Re-encode the remaining logical pairs onto .
22: Teleport to through the Bell pair .
23: Release and .
24: Set and .
25: end if
26: Set .
27: end for
User 3: 0 transition. As shown in Step 2 of Fig. 4, the switch next processes the Bell pair . For , the new reduced stabilizer is . Note that the current purification contains , so the mirror of is . Together with the Bell pair for user 3, this gives the switch-side Pauli measurement
Then, we apply which maps to , and then measure in the basis.
To explicitly track this transition, the joint purification and Bell pair are stabilized by
Step 1: , User 4

Fresh Bell pair:
Graph state:
Step 2: , User 3

Fresh Bell pair:
Retained memory
Successful link
Graph-state edge
Attempting link generation
Control Target
CX
Z measurement
Measure
Graph state:
Figure 4: The first two steps of distributing the path graph under the Bell-link arrival order . In Step 1, the switch retains and applies , which gives the graph state . In Step 2, the switch processes the Bell pair for user 3 using gates, measurement, and feed-forward correction shown in the figure. It releases and obtains the graph state . Note that only remains at the switch after each step.
After applying , these generators become
Now, let denote the outcome of measuring . The corresponding eigenvalue is . Using the standard stabilizer measurement-update rule [2], we choose as a generator that anticommutes with . Then, multiply the other generator that anticommutes with by , and use the measured stabilizer to eliminate from the remaining generators. We obtain the generating set after the measurement as
The only remaining stabilizer acting on is , so is disentangled from the other qubits and can be released. If , user 3 applies , which changes to . Thus, after the correction and release of , the surviving purification can be stabilized by
Replacing the first generator by its product with the third and then applying gives
These are exactly the graph-state generators of
User 1: 0 transition. As shown in Step 3 of Fig. 5, the switch next incorporates user 1. For , the new reduced stabilizer is
Since the current purification contains , the mirror of is . Thus, let . By applying and then , we map to . The switch measures in the computational basis and obtains the bit . It then releases . User 1 applies , and the result purification is the graph state
Now, the retained qubit has the same neighborhood in the purification graph as the target vertex has in .
User 2: -1 transition. As shown in Step 4 of Fig. 5, the switch processes the Bell pair between user 2 and the switch. The required purifier size now decreases from 1 to 0. Thus, the reduced stabilizer group gains two independent generators. We choose
These generators have the form required by the general -1 transition, with
Note that before user 2 is processed, the purification is the graph state .
Step 3: , User 1

Retained memory
Successful link
Graph-state edge
Attempting link
generation
Control Target
CX
Z measurement
Step 4: , User 2

Fresh Bell pair:
Measure
Final state:
Figure 5: The final two steps of distributing the path graph under the Bell-link arrival order . In Step 3, the switch processes the new Bell pair for user 1, using the operations shown in the figure. It releases and obtains the graph state , retaining only . In Step 4, the switch teleports the state of to through the fresh Bell pair . After the Pauli correction, the users share the target graph state . Both and are released, and no qubits remain stored in the switch.
Its stabilizer group therefore contains
The mirrors of and are already localized as and . Hence, the output qubit in the general protocol can be chosen as , and no switch-side recoding is needed.
The switch then teleports to through the fresh Bell pair . To be specific, the switch applies followed by , and then measures and in the computational basis, obtaining the measurement outcomes , respectively. User 2 applies . After this correction, the stabilizers in (114) transform as
Together with the surviving stabilizers and , these generate the full stabilizer group of . The final user state is thus the path state
and both switch qubits, and , are released.
Overall, the protocol uses at most one persistent switch qubit throughout the entire distribution.
6 Performance Evaluation
We now compare the persistent switch-memory requirement of the proposed protocol with that of Piecemaker. The two protocols retain different types of quantum information at the switch. Specifically, Piecemaker stores physical Bell-pair halves associated with a local cover, whereas our protocol stores only the minimal purification register required to preserve the correlations across the current processed-unprocessed cut. We first show that this difference leads to a pointwise memory advantage for the proposed protocol, i.e., after every completed Bell-link processing step, our protocol stores no more switch qubits than Piecemaker.
6.1 Comparison with Piecemaker
Piecemaker [20] retains switch qubits corresponding to a vertex cover of a graph that is LC-equivalent to the target graph. To compare the number of switch qubits of the two protocols, we first establish the following bound.
Lemma 7 Let be a graph and let be any vertex cover of . Then, for every ,
Proof: Let and . Note that
where C is a vertex cover and thus is an independent set, i.e.,
Therefore,
This completes the proof.
Piecemaker further exploits local-Clifford equivalence. Recall that a set C is a local cover of the target graph G if C is a vertex cover of some graph that is LC-equivalent to G. Since local operations preserve the Schmidt rank, we have
Combining with equality in Lemma 7, we have the following corollary.
Corollary 2 Let C be any local cover of G. Then,
In particular, this inequality holds for any minimal local cover selected by Piecemaker.
We now compare the memory usage of the proposed protocol with Piecemaker. Let denote the Bell-link arrival order, and let be the set of users whose Bell links have succeeded after the first successful link generations. The proposed protocol processes each successful link and maintains a minimal stabilizer purification. After processing , the switch retains
qubits.
For Piecemaker, define the first local-cover arrival index
At , Piecemaker selects a minimal local cover , where minimal means that no proper subset of C is itself a local cover of G. By the definition of a local cover, there exists a graph that is LC-equivalent to G such that C is a vertex cover of . Before this index, Piecemaker has not yet begun its stabilizer-processing stage, so every successful Bell-pair half remains stored
After the local cover becomes available, Bell-pair halves in can be processed and released, and later arrivals outside C can also be processed immediately. The qubits associated with C remain persistently stored until the final step. Therefore, we have
Theorem 3 For any , after processing the first arrivals, we have
Proof: For , we have
For , Corollary 2 directly gives . At , both protocols have released all switch qubits, and hence, . This completes the proof.
Therefore, the proposed protocol always uses less or equal persistent switch memory than Piecemaker after any completed step.
6.2 Reduction of Memory and Storage Time
Next, we use the path graph family to illustrate the memory gap between the two protocols. Consider the general path graph
We have the following theorem showing that the MLC size of , including all local-Clifford equivalences of , is at least .
Theorem 4 Let denote the minimum local cover size of G, i.e.,
where denotes the minimum vertex-cover size of . For the path graph ,
Proof: The proof is trivial for . Assume . Let , and partition the vertices of into the odd and even sets , , respectively. Then, . Let , and then the submatrix with rows and columns is
It has rank . The full matrix has only columns, so . Since cut-rank is invariant under local complementation, for every graph that is LC-equivalent to , we have . Let be any vertex cover of . By Lemma 7, we have . Thus, every local cover of has at least vertices. The even set is a vertex cover of the original path and has size . Hence, . This completes the proof.
Remark 3 Theorem 4 shows that every local cover of contains at least vertices. Hence, Piecemaker cannot obtain a local cover before at least Bell links have succeeded. Before this occurs, all successful Bell-pair halves remain stored at the switch. Thus, in the whole distribution process of Piecemaker, the peak switch memory size for any Bell-link arrival order .
Next, we show that for a Bell-link arrival order , our protocol retains at most 1 persistent qubit at the switch after each step. Specifically, for any , after the first links have been processed, the cut contains only the edge . Hence,
(136) and thus the peak memory size is 1. For the same order , the ratio of the two peak persistent switch memory satisfies
Thus, for this arrival order, the proposed protocol achieves a linear-factor reduction in peak switch memory compared with Piecemaker, reducing the memory scaling from to .
Furthermore, we compare the maximum storage time of individual switch qubits. Consider the case where exactly one Bell link succeeds in each consecutive round of . Let and denote the maximum storage time of any switch qubit under Piecemaker and the proposed stabilizer-transition protocol, respectively. Then, we have the following corollary to compare the switch-qubits storage time of Piecemaker and the proposed protocol.
Corollary 3 Consider the path graph . For any Bell-link arrival order , the maximum qubit storage time of Piecemaker protocol satisfies . In contrast, for the arrival order , the proposed protocol can be implemented such that .
Proof: We first consider the Piecemaker protocol. By Theorem 4, every local cover of contains at least vertices. If the first arrivals do not contain a local cover, Piecemaker must retain all these Bell-pair halves until at least the th arrival. Thus, the first switch qubit is stored for at least . Otherwise, if the first arrivals form a minimal local cover, the first switch qubit must belong to this cover. Piecemaker then retains it until the final Bell link arrival. Its storage time is thus larger than . Therefore, in both cases, the longest storage time of the switch qubits must be larger or equal to , i.e., .
Now, consider our protocol under the order . We first show by induction that after processing the first users, , the switch can maintain the graph state . For , we can apply to the first Bell-pair half to construct the graph state . Then, suppose that the claim holds after processing user , . The state afterwards contains the stabilizers and , where
When the Bell pair arrives, the number of switch qubit required after processing the user is still 1. Hence, this is the case of rank-preserving, and the new stabilizer to be added to the reduced stabilizer group is . Instead of measuring the fresh Bell-pair half , we show that the switch can measure and release the old switch qubit . Specifically, the fresh Bell pair has stabilizers and . The joint state is stabilized by
and the stabilizers of the earlier users. The switch applies , and the four stabilizers above become
Next, the switch measures . Let denote the measurement outcome, with eigenvalue . Using the stabilizer measurement-update rule [2], we choose as a generator that anticommutes with . We multiply that anticommutes with by , and replace by . We then use to eliminate from the remaining generators. The resulting stabilizers are
Since the only remaining stabilizer acting on is , the switch can release . The switch then applies , and user applies the Pauli correction . The resulting stabilizers are
Multiplying the first and third stabilizers gives . By including the unchanged stabilizers of the previous users, these generate the graph state
Thus, the switch retains the newly arrived qubit and releases . Finally, when the user establishes its Bell link, the switch teleports to and releases both and . Therefore, every persistent switch qubit is released upon the generation of the next Bell pair. Hence, each switch-side Bell pair half is only stored for less than or equal to . This completes the proof.
Remark 4 Corollary 3 shows that for the path graph , our protocol reduces the maximum qubit storage time from at least in Piecemaker to , i.e., each qubit is stored in the switch for no more than time in our protocol. In fact, the proposed protocol allows flexibility in selecting which switch qubits to release. Specifically, in the rank-preserving transition, the switch can retain the newly established Bell-pair half while releasing any previously stored qubit . In particular, after mapping the required Pauli measurement to in (89), the switch applies SWAP and measures , where SWAP can be imple-mented using CX gates. This gives the same minimal stabilizer purification. Similarly, in the rank-decreasing transition, we can choose any switch qubit to be teleported by switch-side Clifford operations. Therefore, the switch can choose to release qubits that have been stored for a longer time to reduce their storage time. This may help reduce memory decoherence associated with long storage time and improve the fidelity of the distributed graph state.
7 Conclusion
In this paper, we characterized the minimum persistent quantum memory required for graph state distribution through a quantum switch. The lower bound of persistent switch memory applies to arbitrary pure states and reduces to cut-rank for graph states. We developed an online stabilizer-transition protocol that attains this bound. The construction requires no information about future Bell-link successes, and can be implemented in polynomial time.
We further proved that for every graph and every Bell-link arrival order, the proposed protocol uses less (or equal) persistent switch memory than Piecemaker after processing any newly established Bell link. In particular, for the path family , every Piecemaker local cover has size at least , while for the sequential arrival order , our protocol requires only one persistent switch qubit. Moreover, when one Bell link succeeds in each consecutive round of duration , Piecemaker requires at least of maximum individual-qubit storage time for any arrival order, while our protocol can reduce it to under the arrival order .
Appendix
A Proof of Lemma 3
Proof: By Lemma 2, we have , where is the number of independent generators of . We determine by identifying which products of graph-state generators are supported on .
Recall that for the target graph state , the independent generators of the stabilizer group are . Every stabilizer therefore has a unique expression
Each generator contributes an X on its own vertex and a Z at each neighboring vertex. Thus, we can write
(145) by ignoring the global phase. We now require to act trivially on . For any , if , its factor on is or , and cannot be the identity. Hence, we must have for every . Then, every has a unique representation as
It remains to determine which choices of give a product supported on . We now fix a qubit and collect the contributions of all generators . For each , the factor of on is . The product therefore acts on as
Since , this factor is the identity if and only if
over . Requiring this condition for all gives
Thus, the valid vectors are precisely the elements of ker . By the uniqueness of the representation in (146), these vectors are in one-to-one correspondence with the elements of . Therefore,
Moreover, since is undirected, we have . Hence,
and finally,
This completes the proof.
Acknowledgement
The authors acknowledge the assistance of ChatGPT 5.6 in this work. Specifically, it was used to identify relevant literature, improve the clarity and readability of the manuscript.
and to assist in preparing illustrative figures. Through a series of discussions, ChatGPT 5.6 also assisted in developing and checking proofs. In particular, it suggested generalizing the argument from Schmidt rank to Schmidt number in the proof of Theorem 1 and proposed initial proofs of Lemma 4 and Lemma 6. The authors developed and independently verified the final proofs and take full responsibility for the accuracy and content of the manuscript.
References
[1] P. W. Shor. Scheme for reducing decoherence in quantum computer memory. Physical review A, 52(4):R2493, 1995.
[2] D. Gottesman. Surviving as a quantum computer in a classical world. Textbook manuscript preprint, 2024.
[3] A. Y. Kitaev. Fault-tolerant quantum computation by anyons. Annals of physics, 303(1):2–30, 2003.
[4] J. Dehaene and B. D. Moor. Clifford group, stabilizer states, and linear and quadratic operations over GF(2). Physical Review A, 68(4):042318, 2003.
[5] M. Hein, W. Dür, J. Eisert, R. Raussendorf, M. Van den Nest, and H. J. Briegel. Entanglement in graph states and its applications. 2006. Also available on arXiv:quant-ph/0602096.
[6] R. Raussendorf and H. J. Briegel. A one-way quantum computer. Physical review letters, 86(22):5188, 2001.
[7] A. Sen, K. Goodenough, and D. Towsley. Multipartite entanglement distribution in quantum networks using subgraph complementations. Quantum, 9:1911, 2025.
[8] S. Mitrolaris, S. Banerjee, and S. Ulukus. Age-based scheduling for a memory-constrained quantum switch. In IEEE Conference on Computer Communications (INFOCOM), pages 1–6, 2026.
[9] A. Fischer and D. Towsley. Distributing graph states across quantum networks. In 2021 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 324–333, 2021.
[10] G. Vardoyan, S. Guha, P. Nain, and D. Towsley. On the stochastic analysis of a quantum entanglement switch. ACM SIGMETRICS Performance Evaluation Review, 47(2):27–29, 2019.
[11] P. Promponas, V. Valls, and L. Tassiulas. Full exploitation of limited memory in quantum entanglement switching. In IFIP Networking Conference (IFIP Networking), pages 1–9, 2023.
[12] G. Vardoyan, P. Nain, S. Guha, and D. Towsley. On the capacity region of bipartite and tripartite entanglement switching. ACM Transactions on Modeling and Performance Evaluation of Computing Systems, 8(1-2):1–18, 2023.
[13] W. Dai, A. Rinaldi, and D. Towsley. The capacity region of entanglement switching: Stability and zero latency. In 2022 IEEE International Conference on Quantum Computing and Engineering (QCE), pages 389–399, 2022.
[14] S. Banerjee, S. Mitrolaris, and S. Ulukus. Index-based scheduling for a resource-constrained quantum switch. In 24th International Symposium on Modeling and Optimization in Mobile, Ad Hoc, and Wireless Networks (WiOpt), pages 63–70, 2026.
[15] G. Avis, F. Rozpedek, and S. Wehner. Analysis of multipartite entanglement distribution using a central quantum-network node. Physical Review A, 107(1):012609, 2023.
[16] B. Li, T. Coopmans, and D. Elkouss. Efficient optimization of cutoffs in quantum repeater chains. IEEE Transactions on Quantum Engineering, 2:1–15, 2021.
[17] B. Davies, Á. G Iñesta, and S. Wehner. Entanglement buffering with two quantum memories. Quantum, 8:1458, 2024.
[18] S. L. Hermans, M. Pompili, H. K. Beukers, S. Baier, J. Borregaard, and R. Hanson. Qubit teleportation between non-neighbouring nodes in a quantum network. Nature, 605(7911):663–668, 2022.
[19] M. Cuquet and J. Calsamiglia. Growth of graph states in quantum networks. Physical Review A—Atomic, Molecular, and Optical Physics, 86(4):042304, 2012.
[20] L. Prielinger, K. Goodenough, G. Avis, S. Krastanov, D. Towsley, and G. Vardoyan. Piecemaker: a resource-efficient entanglement distribution protocol. IEEE Journal on Selected Areas in Communications, 44, June 2026.
[21] H. Sharma, K. Goodenough, J. Borregaard, F. Rozpedek, and J. Helsen. Minimising the number of edges in LC-equivalent graph states. Quantum, 10:2001, 2026.
[22] C. Schön, E. Solano, F. Verstraete, J. I. Cirac, and M. M. Wolf. Sequential generation of entangled multiqubit states. Physical Review Letters, 95:110503, 2005.
[23] B. Li, S. E Economou, and E. Barnes. Photonic resource state generation from a minimal number of quantum emitters. npj Quantum Information, 8(1):11, 2022.
[24] E. Kaur, A. Patil, and S. Guha. Resource-efficient loss-aware photonic-graph-state preparation using atomic emitters. Physical Review A, 112(6):062608, 2025.
[25] B. M. Terhal and P. Horodecki. A schmidt number for density matrices. Physical Review A, 61:040301, 2000.
[26] M. Nielsen and I. Chuang. Quantum Computation and Quantum Information. Cambridge University Press, 2010.
[27] A. Peres. Quantum theory: concepts and methods, volume 57. Springer, 1997.
[28] M. Hein, J. Eisert, and H. J. Briegel. Multiparty entanglement in graph states. Physical Review A—Atomic, Molecular, and Optical Physics, 69(6):062311, 2004.
[29] D. Gottesman. An introduction to quantum error correction and fault-tolerant quantum computation. In Quantum information science and its contributions to mathematics, Proceedings of Symposia in Applied Mathematics, volume 68, pages 13–58, 2010.
[30] M. M. Wilde. Logical operators of quantum codes. Physical Review A—Atomic, Molecular, and Optical Physics, 79(6):062322, 2009.