This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Optimal Scheduling of Graph States via Path Decompositions

Samuel J. Elman [email protected] Centre for Quantum Software and Information, School of Computer Science, Faculty of Engineering & Information Technology, University of Technology Sydney, NSW 2007, Australia    Jason Gavriel [email protected] Centre for Quantum Software and Information, School of Computer Science, Faculty of Engineering & Information Technology, University of Technology Sydney, NSW 2007, Australia Centre for Quantum Computation and Communication Technology    Ryan L. Mann [email protected] http://www.ryanmann.org Centre for Quantum Software and Information, School of Computer Science, Faculty of Engineering & Information Technology, University of Technology Sydney, NSW 2007, Australia Centre for Quantum Computation and Communication Technology
Abstract

We study the optimal scheduling of graph states in measurement-based quantum computation, establishing an equivalence between measurement schedules and path decompositions of graphs. We define the spatial cost of a measurement schedule based on the number of simultaneously active qubits and prove that an optimal measurement schedule corresponds to a path decomposition of minimal width. Our analysis shows that approximating the spatial cost of a graph is NP-hard, while for graphs with bounded spatial cost, we establish an efficient algorithm for computing an optimal measurement schedule.

I Introduction

Measurement-based quantum computation is an approach to quantum computation where adaptive measurements are performed on an initially prepared entangled resource state [1, 2]. In this paper, we study the optimal scheduling of measurement-based quantum computation on a class of resource states known as graph states. Specifically, we establish an equivalence between measurement schedules and path decompositions of graphs.

Previous work has studied the optimisation of measurement-based quantum computation by designing graph states specific to the computation [3, 4]. The choice of graph state has a natural associated cost in terms of the number of qubits and entangling gates. However, the entanglement structure of graph states implies that the entire state may not need to be prepared simultaneously [5]. Consequently, we consider the spatial cost, based on the number of simultaneously active qubits.

Our results imply that the spatial cost of a measurement-based quantum computation scales with the pathwidth of the graph. Further, our analysis implies that approximating the spatial cost of a graph is NP-hard. For graphs with bounded spatial cost, we establish an efficient algorithm for computing an optimal measurement schedule.

We explore the implications of our results for implementations of fault-tolerant quantum computation. We argue that a low-degree graph, facilitating only nearest neighbour interactions such as the square lattice, is a suitable choice for reducing spatial resources.

This paper is structured as follows. In Section II, we introduce the necessary framework for our work. Then, in Section III, we prove our main result, which establishes an equivalence between measurement schedules and path decompositions of graphs. Then, in Section IV, we explore the computational complexity of the spatial cost and optimal measurement schedules. In Section V, we explore the implications of our results for implementations of fault-tolerant quantum computing. Finally, we conclude in Section VI with some remarks and open problems.

II Framework

In measurement-based quantum computation, a register of qubits is initially prepared in an entangled resource state and quantum operations are executed by performing measurements on individual qubits within this state [1, 2]. The focus of this work is on graph states, a type of resource state, which are represented by graphs with vertices corresponding to qubits and the edges denoting entanglement between them. Formally, for a graph G=(V,E)G=(V,E), the graph state |G\ket{G} is defined by

|G(eECZe)|+V.\ket{G}\coloneqq\left(\prod_{e\in E}CZ_{e}\right)\ket{+}^{\otimes V}. (1)

Measurements of individual qubits project the graph state into an eigenstate of the measurement observable. When these measurement observables are Pauli matrices, measurements are equivalent to performing Clifford operations. Alternatively, an appropriate choice of measurement observables allows for arbitrary single-qubit operations to be performed. The inherent randomness of quantum measurement necessitates an adaptive approach, meaning the measurement operations are decided based on the outcomes of previous measurements.

A measurement sequence is an ordering of the qubits, denoting the sequence in which they are measured. The entanglement structure of graph states implies that the entire state may not need to be prepared simultaneously [5]. Consequently, qubits can be sequentially initialised and entangled, ensuring only those necessary for the subsequent measurement are prepared. After a qubit has been measured, its physical manifestation can be reinitialised to represent a different vertex in the graph state. We consider a measurement schedule that encompasses the initialisation and measurement of qubits within the graph state.

Definition 1 (Measurement schedule).

A measurement schedule on a graph state |G\ket{G} is a sequence of initialising and measuring qubits, such that:

  1. M1.

    A qubit is initialised exactly once.

  2. M2.

    A qubit is measured only after all neighbouring qubits are initialised.

We say that a qubit is active if it has been initialised but not yet measured. We shall represent a measurement schedule as a sequence of subsets of vertices (Xi)i=1n(X_{i})_{i=1}^{n}, with each subset corresponding to the qubits that are active at a given step. The cost of a measurement schedule is maxi|Xi|\max_{i}\absolutevalue{X_{i}}. The spatial cost sc(|G)\operatorname{sc}(\ket{G}) of a graph state |G\ket{G} is the minimum cost over all possible measurement schedules on |G\ket{G}. We say that a measurement schedule is optimal if its cost is equal to the spatial cost. Note that there may be multiple optimal measurement schedules for a given graph state.

Since measurement-based quantum computing is capable of universal quantum computation, any quantum computation can be represented as a set of measurements on a particular graph state. Notably, the graph state enabling a specific quantum computation is not unique. The original concept of measurement-based quantum computation involved the use of a universal cluster state, represented by a graph state structured as a square lattice [1]. However, it is possible to optimise the graph state to minimise the number of qubits. This optimisation is achieved by designing a graph state that is specific to the computation.

There are several methods for designing these specific graph states. One approach involves initially performing all Pauli measurements, resulting in the formation of an alternative graph structure [3]. Note that since these are Pauli measurements, the resulting graph can be precomputed, thereby facilitating the application of a measurement schedule. Another approach for designing these specific graph states involves decomposing the computation in terms of magic-state teleportation [4].

We now define the concept of a path decomposition of a graph.

Definition 2 (Path decomposition).

A path decomposition of a graph G=(V,E)G=(V,E) is a sequence (Xi)i=1n(X_{i})_{i=1}^{n} of subsets of VV, such that:

  1. P1.

    For each vVv\in V, there exists an ii such that vXiv\in X_{i}.

  2. P2.

    For each eEe\in E, there exists an ii such that eXie\subseteq X_{i}.

  3. P3.

    For all ijki\leq j\leq k, if vXiXkv\in X_{i}\cap X_{k}, then vXjv\in X_{j}.

The width of a path decomposition is maxi|Xi|1\max_{i}\absolutevalue{X_{i}}-1. The pathwidth pw(G)\operatorname{pw}(G) of a graph GG is the minimum width over all possible path decompositions of GG [6].

III Optimal Scheduling

In this section, we establish an equivalence between measurement schedules and path decompositions. Consequently, we find that an optimal measurement schedule is determined by a path decomposition of minimal width. Our main result is as follows.

Theorem 1.

Let G=(V,E)G=(V,E) be a graph and let 𝒳=(Xi)i=1n\mathcal{X}=(X_{i})_{i=1}^{n} be a sequence of subsets of VV. The following statements are equivalent:

  1. 1.

    𝒳\mathcal{X} is a measurement schedule on |G\ket{G}.

  2. 2.

    𝒳\mathcal{X} is a path decomposition of GG.

Proof.

Let 𝒳=(Xi)i=1n\mathcal{X}=(X_{i})_{i=1}^{n} be a measurement schedule. Condition M1 implies that for each vVv\in V, there exists an ii such that vXiv\in X_{i}, which is condition P1. Let {u,v}E\{u,v\}\in E be an edge and let ii and jj be the maximum indices such that uXiu\in X_{i} and vXjv\in X_{j}. These indices are guaranteed to exist by condition M1 and we assume without loss of generality that iji\leq j. By condition M2, it follows that vXiv\in X_{i}, and so {u,v}Xi\{u,v\}\subseteq X_{i}. Therefore, conditions M1 and M2 imply that for each eEe\in E, there exists an ii such that eXie\subseteq X_{i}, which is condition P2. Conditions M1 and M2 imply that for all ijki\leq j\leq k, if vXiXkv\in X_{i}\cap X_{k}, then vXjv\in X_{j}, which is condition P3. Hence, 𝒳\mathcal{X} is a path decomposition.

Now, let 𝒳=(Xi)i=1n\mathcal{X}=(X_{i})_{i=1}^{n} be a path decomposition. Conditions P1 and P3 imply that a qubit is initialised exactly once, which is M1. Let vVv\in V be a vertex and let jj be the maximum index such that vXjv\in X_{j}, which is guaranteed to exist by condition P1. By condition P2, the neighbourhood of vv is contained in i=1jXi\bigcup_{i=1}^{j}X_{i}. Therefore, conditions P1 and P2 imply that a qubit is measured only after all neighbouring qubits are initialised, which is condition M2. Hence, 𝒳\mathcal{X} is a measurement schedule. This completes the proof. ∎

We note this result can be considered an application of the node searching game from algorithmic graph theory [7]. We have the immediate corollary.

Corollary 2.

Let GG be a graph. An optimal measurement schedule on |G\ket{G} is determined by a path decomposition of GG of minimal width, i.e., sc(|G)=pw(G)+1\operatorname{sc}(\ket{G})=\operatorname{pw}(G)+1.

This result shows that the spatial cost of a measurement-based quantum computation scales with the pathwidth of the graph.

IV Computational Complexity

In this section, we explore the computational complexity of the spatial cost and optimal measurement schedules. We first show that approximating the spatial cost is NP-hard. Bodlaender et al. [8] showed that the problem of approximating the pathwidth up to an additive error is NP-hard. This gives rise to the following corollary.

Corollary 3.

Let G=(V,E)G=(V,E) be a graph. It is NP-hard to approximate sc(|G)\operatorname{sc}(\ket{G}) up to an additive error of |V|ϵ\absolutevalue{V}^{\epsilon} for 0<ϵ<10<\epsilon<1.

Proof.

The proof follows from Corollary 2 and Ref. [8, Theorem 23], which states that it is NP-hard to approximate the pathwidth up to an additive error of |V|ϵ\absolutevalue{V}^{\epsilon} for 0<ϵ<10<\epsilon<1. ∎

While approximating the spatial cost is NP-hard, we shall see there is an fixed-parameter tractable algorithm when parameterised by the spatial cost. This follows from results on the fixed-parameter tractability of the pathwidth [9, 10]. We obtain the following corollary.

Corollary 4.

Let G=(V,E)G=(V,E) be a graph. The spatial cost of |G\ket{G} and a corresponding measurement schedule can be computed in time exp[O(sc(|G)2)]|V|\exp[O\left(\operatorname{sc}(\ket{G})^{2}\right)]\cdot\absolutevalue{V}.

Proof.

The proof follows from Theorem 1, Corollary 2, and Ref. [10, Theorem 2], which establishes an algorithm for computing the pathwidth and a corresponding path decomposition in time exp[O(pw(G)2)]|V|\exp[O\left(\operatorname{pw}(G)^{2}\right)]\cdot\absolutevalue{V}. ∎

This result implies that an optimal measurement schedule can be efficiently computed for graphs with bounded spatial cost. However, as we shall see, there exists an efficient classical algorithm for simulating measurement-based quantum computation in such cases. Markov and Shi [11] showed that there is an efficient algorithm for simulating a measurement-based quantum computation for graphs with bounded treewidth. We apply their result to obtain the following corollary.

Corollary 5.

Let G=(V,E)G=(V,E) be a graph. A measurement-based quantum computation on the graph state |G\ket{G} can be simulated by a randomised algorithm in time exp[O(sc(|G))]|V|O(1)\exp[O\left(\operatorname{sc}(\ket{G})\right)]\cdot\absolutevalue{V}^{O(1)}.

Proof.

Ref. [11, Theorem 6.2] establishes a randomised algorithm for simulating a measurement-based quantum computation on a graph state |G\ket{G} in time exp[O(tw(G))]|V|O(1)\exp[O\left(\operatorname{tw}(G)\right)]\cdot\absolutevalue{V}^{O(1)}, where tw(G)\operatorname{tw}(G) denotes the treewidth of GG. The proof then follows from Corollary 2 and the fact that the treewidth is bounded from above by the pathwidth. ∎

V Implementations

We now explore the implications of our results for implementations of fault-tolerant quantum computing. Markov and Shi [11] showed that a high treewidth is a necessary condition for a quantum computation to be hard to simulate classically. It follows from Corollary 2 that the spatial cost is at least the treewidth plus one. This suggests that the most efficient use of a quantum computer may be realised with graph states in which these two values are equal. Examples of such graphs include the complete graph KnK_{n} on nn vertices, for which sc(|Kn)=tw(Kn)+1=n\operatorname{sc}(\ket{K_{n}})=\operatorname{tw}(K_{n})+1=n, and the m×nm\times n square lattice m,n\boxplus_{m,n}, for which sc(|m,n)=tw(m,n)+1=min(m,n)+1\operatorname{sc}(\ket{\boxplus_{m,n}})=\operatorname{tw}(\boxplus_{m,n})+1=\min(m,n)+1.

Ceteris paribus, our results suggest that the complete graph represents an optimal structure for quantum computation in the complexity-theoretic sense. However, quantum devices are constrained by the limitations of their implementation. Therefore, identifying the optimal structure requires considering a specific implementation.

Scalable quantum information processing devices are likely to require a significant level of active error correction. By encoding logical information in many physical qubits with an error-correcting code, it is possible to correct errors through measurement [12, 13]. The most suitable codes are those that are compatible with the constraints of physical devices. The surface code is a prominent choice for such a code, due to its favourable threshold-to-resource ratio and low-weight stabilisers, which make it experimentally feasible [14, 15]. Although the surface code does not support fault-tolerant application of non-Clifford operations, these operations can be facilitated by preparing magic states in separate magic-state factories and subsequently teleporting them into the qubit register.

We consider an architecture where physical qubits are arranged in a regular two-dimensional lattice. These physical qubits are partitioned into logical surface code patches, quantum bus channels, and magic-state factories [16, 17]. In the context of measurement-based quantum computation, logical qubits encoded into surface code patches are assigned to qubits of the graph state. The entangling operations used to prepare the graph state are performed using lattice surgery [18, 19, 20]. Measurements involve initially applying logical single-qubit rotations on the surface code patches, followed by Pauli measurements. It is also possible to initialise a logical surface code patch in a magic state prior to entangling the qubit into the graph state.

Graph states with higher-degree vertices necessitate more entangling gates being applied to the same logical qubit. Additionally, non-nearest neighbour entangling gates require quantum bus channels, resulting in an additional space requirement. Note that graphs of degree higher than four also require quantum bus channels. Therefore, a low-degree graph that facilitates only nearest neighbour interactions, such as the square lattice, is a suitable choice for reducing spatial resources.

Refer to caption
Figure 1: An implementation of the square lattice graph state. The white squares represent logical qubits and the shaded squares represent magic-state factories.

The implementation of the square lattice graph state with a specified measurement schedule allows for the assignment of physical qubits in a two-dimensional array to logical qubits. This approach eliminates the need for quantum bus channels and ensures that each logical qubit is adjacent to a magic-state factory (see Fig. 1), thereby optimising the ratio of active logical to physical qubits. Additionally, employing transversal injection methods [21, 22] for magic-state preparation may further reduce spatial resources compared to distillation methods [23].

VI Conclusion & Outlook

We have established an equivalence between the scheduling of graph states in measurement-based quantum computation and path decompositions of graphs. Consequently, we have shown that an optimal measurement schedule is given by a path decomposition of minimal width. Further, we have shown that approximating the spatial cost of a graph is NP-hard, while for graphs with bounded spatial cost, we established an efficient algorithm for computing an optimal measurement schedule. Finally, we discussed the implications of our results for implementations of fault-tolerant quantum computing.

It would be interesting to compare the spatial cost of implementing measurement-based quantum computing in the fault-tolerant setting discussed in Section V with an inbuilt error-correcting scheme such as in Refs. [24, 25]. It would also be interesting to explore the time efficiency of measurement-based quantum computation. While a square lattice may be less temporally efficient than a specifically designed graph state, this does not take into account the costs associated with transporting logical qubits and performing error correction.

Acknowledgements

We thank Michael Bremner, Simon Devitt, Salini Karuvade, Thinh Le, Luke Mathieson, and Jannis Ruh for helpful discussions. SJE was supported with funding from the Defense Advanced Research Projects Agency under the Quantum Benchmarking (QB) program under award no. HR00112230007, HR001121S0026, and HR001122C0074 contracts. JG and RLM were supported by the ARC Centre of Excellence for Quantum Computation and Communication Technology (CQC2T), project number CE170100012. The views, opinions and/or findings expressed are those of the authors and should not be interpreted as representing the official views or policies of the Department of Defense or the U.S. Government.

References