Systems and methods for the execution of quantum algorithms

A decentralized control system for quantum computers, where a primary controller compiles algorithms and secondary controllers execute logical qubit functions, addresses scaling challenges by reducing complexity and bandwidth demands, enabling efficient management of large-scale quantum algorithms.

GB2628791APending Publication Date: 2024-10-09UNIVERSAL QUANTUM LTD

Patent Information

Application Number
GB2023004988
Authority / Receiving Office
GB · GB
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-04
Publication Date
2024-10-09

AI Technical Summary

Technical Problem

Current quantum computing systems face challenges in managing and controlling large-scale quantum algorithms due to exponential growth in circuit branch possibilities, routing algorithm complexity, decoder outcomes, and increased bandwidth requirements, especially when dealing with hundreds of thousands of qubits over extended periods, leading to issues like ion loss and error correction complexity.

Method used

A decentralized system with a primary controller and multiple secondary controllers, where the primary controller compiles quantum algorithms into logical qubit functions and transmits instructions for execution, allowing secondary controllers to handle specific subsets of logical qubits, enabling modular control and error correction, thereby reducing the complexity and bandwidth demands.

Benefits of technology

This approach alleviates scaling issues by limiting branching possibilities, reducing computational complexity, managing control signals efficiently, decentralizing ion routing, and handling unpredictable events, allowing for uninterrupted long-term operation of quantum algorithms on large-scale quantum computers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Decentralised parallel control of execution of a quantum algorithm on a quantum computer comprising logical qubits by decentralised of control of the execution of a quantum algorithm by (i) at a primary controller, compiling the quantum algorithm into logical qubit functions, transmitting an instruction to perform each of the required logical qubit functions to a distinct secondary controller, and (ii) at each secondary controller: compiling the received logical qubit function instruction into a sequence of operations for execution on logical qubit(s) that are associated with the secondary controller, generate control signals to prompt the operations to be executed on the logical qubits. In this way, the primary controller abstracts control of the overall execution of the quantum algorithm by the selection of the logical qubit functions, while the secondary controllers may have control over precisely how the logical qubit functions are executed on the logical qubits (including error-correction, routing, etc.). Thus, problems associated with executing complex quantum algorithms involving a large number of qubits may be alleviated.
Need to check novelty before this filing date? Find Prior Art

Description

FIELD OF THE INVENTION The present application relates to the execution of quantum algorithms, and more particularly for controlling the execution of said algorithms on a quantum computer. BACKGROUND OF THE INVENTION Quantum computing is based on the exploitation of quantum mechanical properties (e.g. superpositions and entanglement) of particles or matter in order to produce or alter data. Data is represented by quantum bits (i.e. qubits). Qubits are used in quantum algorithms consisting of a number of quantum logic gates to solve computational problems, where they are used for input / output and intermediate computations. A physical qubit is an actual quantum implementation of a qubit. Typically, individual physical qubits are not stable enough to be able to encode information for sufficient length of time to be useful. Indeed, physical qubits suffer from unwanted decoherence. Quantum computers implement logical qubits using many physical qubits to create an error-tolerant qubit. Thus, logical qubits behave as specified in a quantum algorithm / circuit. Furthermore, quantum error correction (QEC) is used in quantum computing to improve resilience of quantum information to errors from decoherence and other noise. In classical computing, redundancy is introduced to improve resilience to noise. However, copying quantum information is not possible due to the no-cloning theorem. Nevertheless, it is possible to spread the information of one logical qubit onto a highly entangled state of several physical qubits. Presently, quantum computers have demonstrated QEC primitives on 1-2 logical qubits, including memory experiments, single qubit operations, and logical CNOTs. Dynamic physical corrections have been performed in real time as a function of real-time (lookup table) decoders. With few logical qubits, pre-compilation of the entire quantum algorithm is effective, with dynamic logic achieved by selecting precomputed paths. For example, for trapped ion quantum computers, ion-routing algorithms are currently handled in a centralized pre-compiled manner, where a whole-device view is used. A significant area of research is centered around the understanding that decoding becomes more challenging with increasing numbers of physical qubits per logical qubit, and so a heuristic method (such as minimum weight perfect matching) will need to be used eventually. For a large scale device, the algorithm may need to be run uninterrupted for many days, and may involve hundreds of thousands of qubits. There are many problems with scaling up the current approach to managing and controlling a quantum computer at this scale, such as an exponential growth in circuit branch possibilities, routing algorithm complexity, and decoder outcomes. There is therefore a need to provide improved quantum computing systems and methods for execution of quantum algorithms. SUMMARY OF THE INVENTION According to a first aspect there is provided a system for controlling execution of a quantum algorithm on a quantum computer, the system comprising a primary controller in communication with a plurality of secondary controllers, the primary controller configured to: compile the quantum algorithm into a plurality of logical qubit functions to be executed on a plurality of logical qubits; transmit an instruction to each of a plurality of secondary controllers, each instruction prompting execution of one of the plurality of logical qubit functions on a subset of the plurality of logical qubits associated with the secondary controller; and each of the plurality of secondary controllers configured to: receive the instruction prompting execution of the logical qubit function from the primary controller; compile the instruction into a sequence of operations, each operation to be executed on one or more of the logical qubits associated with the secondary controller; and generate a plurality of control signals, each control signal prompting one of the plurality of operations to be executed on the logical qubits. Thus, proposed are concepts pertaining to the control of execution of a quantum algorithm on a quantum computer. Specifically, each of a plurality of secondary controllers are associated with subsets of a plurality of logical qubits of the quantum computer. A primary controller compiles a quantum algorithm into logical qubit functions for execution on the logical qubits, and prompts secondary controllers to execute logical qubit functions on respective subsets of logical qubits. The primary controller compiles logical qubit functions into a sequence of operations to be performed on logical qubits, and subsequently produces control signals for the operations to be executed. In this way, the primary controller may have an abstracted control of the overall execution of the quantum algorithm by the selection of the logical qubit functions, while the secondary controllers may have control over precisely how the logical qubit functions are executed on the logical qubits (including error-correction, routing, etc.). Thus, problems associated with executing complex quantum algorithms involving a large number of qubits may be alleviated. More generally, it is proposed to split control over the execution of the quantum algorithm into modular chunks of logical qubits. Each secondary controller is associated with a subset of logical qubits, and determines how to execute logical qubits functions. The primary controller has a more abstracted view, prompting secondary controllers to perform logical qubit functions in order to execute the quantum algorithm, but may not have control over how the secondary controllers prompt execution of individual operations performed on logical qubits. In some embodiments, the secondary controller may individually (i.e. without prompting) perform operations on the logical qubits, for example to perform error-correction in case of an unexpected failure (e.g. due to decoherence of associated physical qubits). As control of the logical qubits is split up, problems that arise due to scaling the number of logical qubits (i.e. routing, compiling, etc.) may be alleviated. In an embodiment, the plurality of logical qubit functions may be selected from a set of operations that enable a universal set of logical gates. The set of operations may include a magic state distillation, a magic state consumption, a Clifford gate application, a syndrome extraction, and a logical measure. In another embodiment, each of the operations in the sequence of operations describe a manipulation to be applied to the logical qubits. In a further embodiment, the manipulation to be applied may comprise a sequence of physical operations applied to physical qubits associated with the logical qubits. In yet another embodiment, each of the physical operations may include at least one of an ion shuttling, a sympathetic cooling, a single qubit gate operation, a two qubit gate operation, a measurement, and a real time conditional quantum gate operation. In some embodiments, the system may further comprise a memory associated with each of the plurality of secondary controllers, the memory configured to store a list comprising a plurality of instructions, each having an associated sequence of operations. In this case, each of the plurality of secondary controllers may be configured to compile the instruction into the sequence of operations based on the list. In additional embodiments, the plurality of secondary controllers may be further configured to transmit the control signal to one of a plurality of processors for execution of the operation to be performed on the logical qubits. In some embodiments, each of the plurality of secondary controllers may comprise a decoder configured to: obtain a set of check operator measurements of the logical qubits associated with the secondary controller; process the set of check operator measurements to determine a correction operator for removing error of the logical qubits or a monitor operator for tracking the logical qubits; and generate a plurality of control signals prompting the correction operator to be executed on the logical qubits or the monitor operator to track the logical qubits. In other embodiments, the subset of logical qubits associated with each secondary controller may be one of a predetermined subset of logical qubits, or a subset of logical qubits in a predetermined area of the quantum computer. Additionally, in some embodiments, the primary controller may be further configured, for each of the secondary controllers, to assign a subset of the plurality of logical qubits to the secondary controller. In specific embodiments, the quantum computer is a trapped ion quantum computer. Furthermore, in some embodiments, each secondary controller may be further configured to: monitor physical operations performed on the logical qubits associated with the secondary controller in order to detect ion-loss corresponding to one of the logical qubits; responsive to detecting ion-loss, compile a correction instruction for handling the ion-loss into a sequence of correction operations, each correction operation to be executed on the logical qubit; and generate a plurality of control signals, each control signal prompting one of the plurality of correction operations to be executed on the logical qubit. Moreover, the system in some embodiments may further comprise a master controller in communication with a plurality of the primary controllers, the master controller configured to: obtain a master quantum algorithm; divide the master quantum algorithm into a plurality of quantum algorithms, each quantum algorithm assigned to a different primary controller; and transmit an instruction to each of the plurality of primary controllers, each instruction prompting execution of one of the quantum algorithms on the plurality of logical qubits. According to a second aspect of the invention there is provided a method for controlling execution of a quantum algorithm on a quantum computer, comprising: compiling, by a primary controller, the quantum algorithm into a plurality of logical qubit functions to be executed on a plurality of logical qubits; transmitting, by the primary controller, an instruction to each of a plurality of secondary controllers, each instruction prompting execution of one of the plurality of logical qubit functions on a subset of the plurality of logical qubits associated with the secondary controller; receiving, by the secondary controller, the instruction prompting execution of the logical qubit function from the primary controller; compiling, by the secondary controller, the instruction into a sequence of operations, each operation to be executed on one or more of the logical qubits associated with the secondary controller; and generating, by the secondary controller, a plurality of control signals, each control signal prompting one of the plurality of operations to be executed on the logical qubits. According to another aspect of the invention there is provided a computer program comprising computer program code means adapted, when said computer program is run on a computer, to implement the method for controlling execution of a quantum algorithm on a quantum computer according to the second aspect of the invention. BRIEF DESCRIPTION OF THE DRAWINGS For a better understanding of the invention, and to show more clearly how it may be carried into effect, reference will now be made, by way of example only, to the accompanying drawings, in which: Figure 1 illustrates a system for controlling the execution of quantum algorithms on a quantum computer according to an aspect of the present disclosure; Figure 2 presents a further aspect of a system controlling the execution of quantum algorithms on a quantum computer in accordance with the present disclosure; and Figure 3 is a flow diagram providing steps in a method according to an aspect of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS The invention will be described with reference to the Figures. It should be understood that the Figures are merely schematic and are not drawn to scale. It should also be understood that the same reference numerals are used throughout the Figures to indicate the same or similar parts. Further, the flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustration, and combinations of blocks in the block diagrams and / or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions. It should also be understood that the detailed description and specific examples, while indicating exemplary embodiments of the apparatus, systems, and methods, are intended for purposes of illustration only and are not intended to limit the scope of the invention. These and other features, aspects, and advantages of the apparatus, systems and methods of the present invention will become better understood from the following description, appended claims, and accompanying drawings. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. The invention proposes concepts for controlling execution of a quantum algorithm (i.e. a quantum circuit) on a quantum computer. In particular, the invention decentralizes control of execution of a quantum algorithm to many modular components (i.e. secondary controllers) which are responsible for a finite (and small) number of logical qubits, the modular components being controlled by another component (i.e. a primary controller) having an abstracted whole device view. In this way, problems associated with scaling a quantum algorithm to be associated with a large number of logical qubits, and / or having a long run time can be overcome. In general, embodiments of the invention aim to split control of the quantum computer into modular chunks, each modular chunk corresponding to a subset of logical qubits. As control of the logical qubits is split up, problems that arise due to scaling the number of logical qubits (e.g. routing, compiling, etc.) may be reduced. In the case of the present invention, a quantum algorithm is compiled into a number of (abstract) logical qubit functions by a (central) primary controller. The primary controller then prompts (dispersed) secondary controllers to execute individual logical qubit functions. The primary controller does this without necessarily dictating how to perform said logical qubit functions, and / or knowing how they are performed by the secondary controllers. Each secondary controller interprets a received logical qubit function and determines a sequence of operations to be performed on individual (or small numbers of) logical qubits to which they are associated. In other words, the primary controller receives an instruction to run the quantum computer to execute a (potentially large) quantum algorithm. The quantum algorithm is split into a number smaller individual processes that can be performed on a small number of logical qubits. Each small process is given to a secondary controller, which determines out how to actually implement the process. For example, the secondary controller may be prompted to perform a simple aspect of the algorithm, and my individually determine how to perform other, more local, processes such as decoding and routing. Additionally, signals containing information such as ion-loss and quantum error information (i.e. information about the qubits), will be fed up to the secondary controller and the control signals may be modified accordingly, handled in a decentralized manner. That is, the secondary controller may receive information from hardware directly responsible for interactions with qubits (i.e. hardware lower in a hierarchical stack) and use such information to alter a response to a received logical qubit function. By way of explanation, for a large scale device, the quantum algorithm may need to be run uninterrupted for many days. The quantum algorithm may also involve upwards of 100s of thousands of qubits. At present, management and control of a quantum computer is handled centrally. In other words, the control and manipulation of qubits is handled by a single entity. Scaling this approach to managing a quantum computer for a quantum algorithm that runs for many days and associated with many qubits leads to many problems, including: (i) Circuit branch possibilities grow, in a worst case scenario, at a rate of O(2An), so pre-compiling the quantum circuits is not possible in many circumstances. This is because vast amounts of memory are required to hold the compiled result, and time-taken to pre-compile every possible version of the circuit is impractical. (ii) Possible outcomes of a decoder can grow with O(2An), and run-time may be linearly with n. Put another way, with an increasing numbers of qubits, the fastest decoding algorithms run times increase with slightly more than the square of the code distance, but the available time to do the processing is not dependent on qubit number. (iii) A required bandwidth for control signals scales at least linearly with n. Even if the problems in (i) and (ii) could be solved by utilizing clusters of processors and large databanks, the data and control signals must still be delivered to the quantum computer. Furthermore, as each qubit requires its own individual control signals, and to be measured by its own individual sensor connections, the bandwidth required grows linearly with qubit number. At large scales, this required bandwidth may exceed the available bandwidth of any data connection protocol for presently exploited qubit control methods. (iv) Using a whole device view, (and depending on methodology) routing algorithms complexity grows as much as O(2An). This makes real time compilation challenging, especially for large qubit numbers. (v) Unpredictable catastrophic events (e.g., qubit loss) increase at least with n, meaning that very rare failures on current quantum computers become virtual certainties for large numbers of qubits. Specifically, for trapped ion quantum computers, ion loss will occur occasionally. This may be considered a rare event using state-of-the-art technology, and so it is possible to precompute a recovery branch or abandon a shot if an ion is found to have been lost. However, with 1 million ions, and multi-day runtimes, the chance of ion loss approaches 100%. This means that it is not possible to abandon any shot that loses an ion, and precomputation of the branches is already unmanageable at this scale without considering qubit loss. Embodiments of the invention propose decentralization of hardware and software used to control execution of a quantum algorithm in order to address the above listed challenges. Put simply, there are proposed self-contained, modular, functional components (secondary controllers) which each handle a small number of logical qubits. Secondary controllers are controlled / managed by a central, primary controller with a whole-device view. However, the primary controller does not know the details of internal functions of the secondary controller. For example, a secondary controller may be pre-configured to perform a particular sequence of operations on a subset of logical qubits upon receiving an instruction to perform a logical qubit function. The primary controller only knows when to instruct the secondary controller to perform the logical qubit function, but does not hold knowledge of what specific steps make up the logical qubit function. A specific example of a logical qubit function could be a syndrome extraction. A syndrome extraction is a complex series of physical 2-qubit interactions and measurement operations which can be analyzed, and ultimately lead to suggested corrections on a logical qubit at the physical qubit. This logical qubit function comprises a set of operations that requires a fully-fledged compiler run with a decoder and some classical processing and branch selection. However, the end result is not relevant to the abstracted logical qubit operation. If a secondary controller is capable of performing the syndrome extraction autonomously, the primary controller needs only to prompt the secondary controller to perform the syndrome extraction, without knowledge of the method or results. In an extreme example, the secondary controller could even privately decide to perform the syndrome extraction its own accord (e.g. at a regular cadence) The assigned / associated subset of logical qubits for each secondary controller (i.e. modular boundaries) may be determined with reference to physical device or area boundaries, or by grouping a specific set of physical or logical qubits. The specific selection will depend on the given architecture of the quantum computer. Modular boundaries may be applied to control hardware, software and memory of the quantum computer, hardware accelerated processing units, and physical or logical qubits. Boundaries need not be the same (or even exist) for each of these areas, nor are they required to remain fixed for any length of time. In one example, each secondary controller may be designing to have a specific logical qubit function (including a magic state distillation, a magic state consumption, a Clifford gate application, syndrome extraction circuits, or logical measures). In this way, secondary controllers can be connected to each other and to the primary controller with minimal interactions required. This vastly reduces many of the challenges of scaling. With reference to the above: (i) As each secondary controller (as compilers) only deal with a small and finite number of logical qubits, the branching possibilities are limited, and the runtime and complexity for the secondary controller acting as a compiler is limited; (ii) As each secondary controller (as decoders) are only required to decode results from a small number of qubits, the runtime and computation complexity is controlled; (iii) As control signals for performing operations on the logical qubits are generated internally to the secondary controller, signals are only required to control a small number of logical qubits, and the required bandwidth is reduced to a manageable size; (iv) The ion routing problem is easily decentralized (i.e. can be handled in a dispersed manner by each secondary controller). Decongestion can be handled at a local level as long as ions are able to retain some simple global information, like the final destination. This ion specific global information can be passed from one decentralized routing compiler (i.e. adjacent secondary controllers) to another, overcoming complexity of large scale routing problems by a central controller. (v) As there's only a limited number of logical qubits associated with the secondary controller, and this is irrelevant to the high level algorithm abstraction (handled by the primary controller), unpredictable catastrophic events can be handled by the secondary controller. Accordingly, embodiments of the present invention provide that the quantum algorithm from top (abstract logical operations) to bottom (physical control of hardware) are handled using a tiered approach, varying with regards to how much is precomputed, and centralized. The closer to the physical control of hardware the controllers are, the more it is necessary to react in real time and compute in a decentralized manner. In one example, the process for management and coordination of the quantum algorithm may be as follows: 1. A (abstract) quantum algorithm destined for logical qubits will first be compiled offline into a native gate set of the logical qubits. 2. Another offline compilation will plan out the usage of the quantum computing device, including a required size of the data block, a number and location of magic state distillation factories, and required routing spaces. 3. Another compilation round may pre-compute the quantum algorithm down to logical qubit operations, including timing (ordering), and logical qubit interactions (movement). 4. In near real time, the first step(s) of the quantum algorithm may be broadcast to the secondary controllers from the primary controller, and the required movement and operations on logical / physical qubits will be compiled in a decentralized manner internally by the secondary controllers. The next step(s) of the quantum algorithm will be compiled and ready for execution prior to the completion of the current step(s). 5. Offline pre-compilation of secondary controller-level specific routing paths, repeated patterns (e.g. error correction rounds), magic state distillation primitives, will be used within the real-time compilation to minimize duplication of effort. Specifically, the secondary controllers may only be at most a handful of different designs, such that a single pre-compilation result is usable across multiple secondary controllers (e.g. some controllers act as decoders, others as compilers, etc.) 6. Specific localized (to the secondary controllers) physical operations which are dependent on mid-circuit measurements, and ion-loss must be tracked and rectified internally to each secondary controller (capable of decentralized real time compilation). The primary controller may not need to instruct the module to perform these corrections, as they may be handled autonomously as part of the fulfilment of the abstracted instructions from the primary controller. In one example, embodiments of the invention may aim to provide a decentralized, modularized (based on subsets of logical qubits) decoders. Indeed, near real-time decoding of error syndromes is required for functional error correction. Dedicated FPGA hardware may be used to process the error syndromes to estimate the greatest likelihood distribution of physical errors. The decoding problem can be computationally intensive. In the case of minimum weight perfect matching (a leading candidate decoding scheme applicable to many error correction codes including the surface code) the computational difficulty scales with the code distance, as O(dA2.1). The problem of decoding multiple logical qubits is easily decentralized in that the decoding of each logical qubit is independent of the others. The near-real time decoding requirement means that the error syndromes need to be processed quickly (relative to the rate of physical operations). By decentralizing the decoding problem, multiple decoders (i.e. secondary controllers acting as decoders) can be used, each decode responsible for a variable percentage of the total quantum computing device (i.e. variable percentage of the number of logical qubits, or area of the device corresponding to logical qubits). The number of secondary controllers as decoders may then be chosen to reach the desired processing frequency. There are two viable methods for portioning out the responsibilities of each decoder (i.e. secondary controllers as decoders) following this modular controlling approach. In one example, each decoder / secondary controller may be responsible for a specific subset of logical qubits regardless of their location in the quantum computer. Logical qubits may be moved around the device, even across modules, and in this scheme, they will be tied to a particular decoder / secondary controller regardless of the movement. As such, the transfer of syndrome information must be managed towards the decoder / secondary controller that corresponds to each particular logical qubit. In another example, each decoder / secondary controller may instead be responsible for a specific area of the quantum computing device, regardless of which logical qubits exist there. In this scheme, the management of the transfer of responsibilities between secondary controllers / decoders would be based on the physical movement of ions across the quantum computing device. Moving on, Figure 1 illustrates a system 100 for controlling the execution of quantum algorithms on a quantum computer 105 according to an aspect of the present disclosure. The system 100 comprises a primary controller 110 in communication with (i.e. configured to be communicatively coupled to) a plurality of secondary controllers 120, and optionally further includes a plurality of processors 130. Although a certain number of, primary controllers 110, secondary controllers 120 and processors 130 are displayed in Figure 1, this is merely illustrative and there may be more or fewer of each component. The quantum computer 105 may be for example, a trapped ion quantum computer, which are particularly suitable for large-scale quantum computing. Other types of quantum computer (i.e. with different physical implementations of the qubits) will be readily known, understood and envisaged by the skilled person. In this embodiment, the primary controller 110 is configured to receive a quantum algorithm (i.e. a quantum circuit), being a series of steps that can be performed on a quantum computer 105 to solve a problem. Different quantum algorithms and their individual steps are readily known and understood by the skilled person. The primary controller 110 is configured to compile the quantum algorithm into a plurality of logical qubit functions to be executed on a plurality of logical qubits. Methods for compiling quantum algorithms into a plurality of logical qubit functions are also readily known and understood by the skilled person. Of course, how a specific quantum algorithm is to be performed on a quantum computer 105 (and therefore how the quantum algorithm is compiled) may depend on the architecture of the quantum computer 105. The primary controller 110 may be configured to compile the quantum algorithm based on the specific hardware, software, and / or architecture of the quantum computer 105, as well as the specifics of the quantum algorithm. For example, the primary controller 110 may receive, or have stored, quantum computer parameter data describing one or more of hardware, software, and architecture of the quantum computer 105 that the quantum algorithm is to be executed on. In other words, the primary controller 110 may have an abstracted appreciation of the whole of the quantum computer 105. The logical qubit function relates to an overall action to be performed on one or more logical qubits. This may include (but are not restricted to) a magic state distillation, a magic state consumption, a Clifford gate application, a syndrome extraction, and a logical measure. Each of these functions may require many different quantum manipulations to be performed on the one or more logical qubits, and may be achieved in a variety of different ways. Moreover, the plurality of logical qubit functions may be selected from a set of operations that enable a universal set of logical gates. That is, the plurality of logical qubit functions that the primary controller 110 may compile the quantum algorithm into may constitute a set of gates to which any operation possible on a quantum computer 105 can be reduced. Furthermore, the primary controller 110 is configured to transmit an instruction to each of a plurality of secondary controllers 120. Each instruction prompting execution of one of the plurality of logical qubit functions on a subset of the plurality of logical qubits associated with the secondary controller 120. To be clear, one or more instructions associated with logical qubit functions to be performed on a subset of logical qubits that relate to the secondary controller 120 are transmitted to the secondary controller 120. As a result, the primary controller 110 transmits many instructions to respective appropriate secondary controllers 120 for execution of the logical qubit function. Put another way, the primary controller 110 is in communication with the plurality of secondary controllers 120, and upon compiling the quantum algorithm into a plurality of logical qubit functions, may communicate with the appropriate secondary controllers 120 to execute the logical qubit functions. Importantly, each of the secondary controllers 120 are associated with a (small) number of logical qubits, being a subset of the plurality of logical qubits. The secondary controllers 120 are each responsible for the logical qubits, which may include decoding, routing and, of course, execution of the logical qubits function on the logical qubits. By delegating some of the above tasks to secondary controllers 120 (rather than having a small number of centralized controllers), complexity introduced by scaling of the quantum computing device to a large size (i.e. a large number of qubits) may be reduced. In some cases, the subset of logical qubits associated with each secondary controller 120 is a predetermined subset of logical qubits. This may mean that the secondary controller 120 is responsible for / associated with the logical qubit no matter where the logical qubits corresponding physical qubits are located within the quantum computer 105. This makes the simplifies / reduces the handoff of information between secondary controllers 120 as the logical qubit is moved around the quantum computer 105 In alternative cases, the subset of logical qubits associated with each secondary controller 120 are in a predetermined area (i.e. physical location) of the quantum computer 105. This may require information to be transferred as logical qubits are passed between secondary controllers 120, but also means that information need not be transferred large distances when the logical qubit moves to an area physically distant from the secondary controller. Of course, it should be appreciated that alternative methods of associating secondary controllers 120 with logical qubits are possible. A hybrid version could be used, where logical qubits are only re-associated should they move physically distant from the logical qubit. In other cases, the secondary controllers 120 may be specialized so that multiple secondary controllers 120 perform different tasks for similar logical qubits. In any case, many secondary controllers 120 are each responsible for / associated with a small number of logical qubits at any given time. The primary controller may further configured, for each of the secondary controllers 120, to assign a subset of the plurality of logical qubits to the secondary controller. In this way, the primary controller 110 may be responsible for an efficient assignment of logical qubits to secondary controllers 120 (such as to minimize the physical distancing between logical qubits and secondary controllers 120, or to ensure even distributions of logical qubits amongst secondary controllers 120). Each of the plurality of secondary controllers 120 is configured to receive instruction(s) prompting execution of logical qubit function(s) from the primary controller 110. The instruction may simply be of the form of a prompt to commence a sequence on the one or more logical qubits associated with the secondary controller, or may more complexly be an instruction to perform one or a number of different logical qubit functions on the logical qubit(s). Further, each of the plurality of secondary controllers 120 is configured to compile the instruction into a sequence of operations, each operation to be executed on one or more of the logical qubits associated with the secondary controller. In other words, each secondary controller 120 interprets the instruction to determine a logical qubit function, and then compiles a sequence of operations to be performed on the corresponding subset of logical qubits to execute the logical function. As stated above, the secondary controller 120 may compile the instruction (i.e. the logical qubit function) into many different types of sequences of operations. The sequence of operations is not important to the primary controller 110, and therefore the primary controller 110 may not know the specifics of the compilation of the sequences of operations. To clarify, each of the operations in the sequence of operations may describe an abstracted manipulation of the logical qubit, or may be an actual manipulation to be applied to the logical qubits. The actual manipulation may include a sequence of physical operations applied to physical qubits associated with the logical qubits, such as at least one of an ion shuttling, a sympathetic cooling, a single qubit gate operation, a two qubit gate operation, a measurement, and a real time conditional quantum gate operation. That is, while the logical qubit function describes a function to be performed on one or more qubits, each operation relates to the actual physical changes that need to be made to the physical qubits associated with the logical qubit to achieve an associated manipulation of the logical qubit. As shown, one or more of the secondary controllers 120 may further comprise a memory 122. The memory 122 may be configured to store (or retrieve from an external data store) a list comprising a plurality of instructions, each having an associated sequence of operations (i.e. a sequence of operations associated with each logical qubit function prompted by instructions received from the primary controller 110. In this case, each of the plurality of secondary controllers 120 is configured to compile the instruction into the sequence of operations based on the list. In other words, the secondary controllers 120 may consult a pre-compiled list for a sequence of operations, meaning that the secondary controller 120 may be able to react to circumstances of associated logical qubits faster, facilitating real-time operations (without the need to consult a centralized / primary controller 110). Of course, this is not the only method by which the sequence of operations may be compiled. The secondary controller 120 may instead compile each sequence of operations individually based on contextual knowledge of the logical qubits and circumstances in the area of the quantum computer 105 associated with the logical qubits. The secondary controller 120 is also configured to generate a plurality of control signals, each control signal prompting one of the plurality of operations to be executed on the logical qubits. The control signals may be for the direct execution of each operation, or may prompt dedicated hardware and / or software to perform the operation. More specifically, and as shown, the plurality of secondary controllers 120 may be further configured to transmit the control signal to one of a plurality of processors 130 for execution of the operation to be performed on the logical qubits. By way of a particular example, one or more of the plurality of secondary controllers 120 may each comprise a decoder 124 (taking a form known in the art of quantum computing). Indeed, the decoder 124 may be configured to obtain a set of check operator measurements of the logical qubits (the logical qubits associated with the secondary controller). To be clear, the set of check operator measurements are a set of measurements indicating an error of the logical qubit(s), and associated physical qubits, or lack thereof. These may be obtained by the decoder 124 itself, or by appropriate dedicated hardware and / or software. The set of check operator measurements may be processed to determine either (i) a correction operator for removing error of the logical qubits (if an error is indicated by the check operator measurements); or (ii) a monitor operator for tracking the logical qubits if no error is indicted as present or likely. Thus, the decoder 124 may also be configured to generate a plurality of control signals prompting either: (i) the correction operator to be executed on the logical qubits (so as to error-correct the logical qubit); or (ii) the monitor operator to track the logical qubits. In this way, the secondary controller 120 may comprise dedicated means for localized (i.e. relating to only the logical qubits associated with the secondary controller) error detection and correction. As stated above, as only a small number of logical qubits are error detected and corrected, problems associated with the exponential rate of complexity with the number of logical qubits to track and correct is overcome. Furthermore, the secondary controller 120 may also receive signal(s) containing information from the processor(s) 130, quantum-computer 105, or other down-stream hardware. Such signals may contain information about quantum-errors, ion-loss etc. Accordingly, the secondary controller may utilize such information in order to modify / change / augment the control signal(s). By way of specific example, when the quantum computer 105 is a trapped ion quantum computer 105, the secondary controller 120 may be configured to monitor physical operations performed on the logical qubits associated with the secondary controller 120 in order to detect ion-loss corresponding to one of the logical qubits. That is, the secondary controller 120 may be configured to be able to monitor and detect ion loss by means of any method known in the art. Responsive to detecting ion-loss, the secondary controller 120 may then (independently) compile a correction instruction for handling the ion-loss into a sequence of correction operations, each correction operation to be executed on the logical qubit. The secondary controller 120 generates a plurality of control signals, each control signal prompting one of the plurality of correction operations to be executed on the logical qubit. Thus, the secondary controller 120 (when utilized in a trapped ion quantum computer 105) may be exploited to detect and correct ion-loss associated with logical qubits to which it is responsible. This may be performed without any need to communicate with the primary controller 110. Put another way, this problem can be handled locally as it’s occurrence (as long as performed correctly) is not important to the overall execution of the quantum algorithm. Figure 2 presents a further aspect of a system 101 controlling the execution of quantum algorithms on a quantum computer 105 in accordance with the present disclosure. The function of the primary and secondary controllers 120 of Figure 2 are similar to those described in relation to Figure 1, and therefore further description of their function is omitted here for the sake of brevity. The embodiment of the system 101 depicted in Figure 2 further comprises a master controller 140 in communication with a plurality of the primary controllers 110. In other words, the system 101 now comprises a plurality of primary controllers 110 (each similar to the primary controllers 110 described above), in communication to the master controller 140. By way of explanation, when the master controller 140 is provided, it may be configured to obtain a master quantum algorithm. The master quantum algorithm may be considered a typical quantum algorithm that may be split up into various other quantum algorithms. In other words, the master quantum algorithm is simply a large algorithm. The master controller 140 is then configured to divide the master quantum algorithm into a plurality of quantum algorithms, each quantum algorithm assigned to a different primary controller 110. That is, the master quantum algorithm is segmented into individual quantum algorithms that may be performed on different parts of the quantum computer 105. Finally, the master controller 140 is configured to transmit an instruction to each of the plurality of primary controllers 110, each instruction prompting execution of one of the quantum algorithms on the plurality of logical qubits. As such, the embodiment of the invention shown in Figure 2 presents a way in which control of a quantum computer 105 in executing a quantum algorithm can be modularized and performed in a hierarchical nature. The secondary controllers 120 are responsible for prompting actual operations to be performed on the logical qubits, the primary controllers 110 for compiling a quantum algorithm into a plurality of logical qubit functions, and the master quantum algorithm for providing manageable quantum algorithms to the primary controller 110. With this hierarchical approach, management of a quantum computer 105 during an execution of a quantum algorithm may be simplified, and may help to avoid problems involved with scaling. Figure 3 presents a flow diagram including steps in a method 200 according to an aspect of the present disclosure. Specifically, the method 200 is for controlling execution of a quantum algorithm on a quantum computer 105. At step 210, the quantum algorithm is compiled (by a primary controller 110) into a plurality of logical qubit functions to be executed on a plurality of logical qubits At step 320, instructions are transmitted (by the primary controller 110) to each of a plurality of secondary controllers 120, each instruction prompting execution of one of the plurality of logical qubit functions on a subset of the plurality of logical qubits associated with the secondary controller. At step 330, a respective instruction is received (by each secondary controller) prompting execution of the logical qubit function from the primary controller 110. At step 340, the instruction is compiled (by the secondary controller) into a sequence of operations, each operation to be executed on one or more of the logical qubits associated with the secondary controller. Finally, at step 350, a plurality of control signals are generated (by the secondary controller), each control signal prompting one of the plurality of operations to be executed on the logical qubits. Additionally, it should be noted that the method 300 may comprise additional step. For example, there may also be a step of retrieving signals by the secondary controllers from processors and / or the quantum computer itself. The signals may contain information such as ion-loss or quantum error information, which can then be used by the secondary controller to modify one or more of the plurality of control signals. In other words, the secondary controller may receive information from locations other than the primary controller, which may be used to inform the choice of control signals. Accordingly, a method for controlling execution of a quantum algorithm on a quantum computer 105 is provided in which responsibilities of prompting execution of specific logical qubit functions are handled by (decentralized, localized) secondary controller. A (central) primary controller 110 handles the compiling of the quantum algorithm, and the transmission of such signals to appropriate secondary controllers 120. Put another way, in this method the primary controller 110 may be concerned with the (abstracted) execution of the quantum algorithm, while the secondary controllers 120 are concerned with how the algorithm is actually executed by the logical qubits (including decoding, routing, etc.). The invention may be used in conjunction with any type of quantum processors. As an example, functions for qubits in each of superconductors or optical lattices or molecular magnets or quantum dots could each be grouped into logical qubits as described. Variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the indefinite article "a" or "an" does not exclude a plurality. A single processor or other unit may fulfil the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. If a computer program is discussed above, it may be stored / distributed on a suitable medium, such as an optical storage medium or a solidstate medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. If the term "adapted to" is used in the claims or description, it is noted the term "adapted to" is intended to be equivalent to the term "configured to". Any reference signs in the claims should not be construed as limiting 5 the scope. “and / or” where used herein is to be taken as specific disclosure of each of the two specified features or components with or without the other. For example “A and / or B” is to be taken as specific disclosure of each of (i) A, (ii) B and (iii) A and B, just as if each is set out individually herein. 10          Unless context dictates otherwise, the descriptions and definitions of the features set out above are not limited to any particular aspect or embodiment of the invention and apply equally to all aspects and embodiments which are described.

Claims

1. A system (100) for controlling execution of a quantum algorithm on a quantum computer (105), the system comprising a primary controller (110) in communication with a plurality of secondary controllers (120),the primary controller configured to:compile the quantum algorithm into a plurality of logical qubit functions to be executed on a plurality of logical qubits;transmit an instruction to each of a plurality of secondary controllers, each instruction prompting execution of one of the plurality of logical qubit functions on a subset of the plurality of logical qubits associated with the secondary controller; andeach of the plurality of secondary controllers configured to:receive the instruction prompting execution of the logical qubit function from the primary controller;compile the instruction into a sequence of operations, each operation to be executed on one or more of the logical qubits associated with the secondary controller;generate a plurality of control signals, each control signal prompting one of the plurality of operations to be executed on the logical qubits.

2. The system of claim 1, wherein the plurality of logical qubit functions are selected from a set of operations that enable a universal set of logical gates, the set of operations including a magic state distillation, a magic state consumption, a Clifford gate application, a syndrome extraction, and a logical measure.

3. The system of claim 1 or 2, wherein each of the operations in the sequence of operations describe a manipulation to be applied to the logical qubits.

4. The system of claim 3, wherein the manipulation to be applied comprises a sequence of physical operations applied to physical qubits associated with the logical qubits.

5. The system of claim 4, wherein each of the physical operations includes at least one of an ion shuttling, a sympathetic cooling, a single qubit gate operation, a two qubit gate operation, a measurement, and a real time conditional quantum gate operation.

6. The system of any of claims 1 -5, further comprising a memory (122) associated with each of the plurality of secondary controllers (120), the memory configured to store a list comprising a plurality of instructions, each having an associated sequence of operations, andwherein each of the plurality of secondary controllers is configured to compile the instruction into the sequence of operations based on the list.

7. The system of any of claims 1-6, wherein the plurality of secondary controllers (120) are further configured to transmit the control signal to one of a plurality of processors (130) for execution of the operation to be performed on the logical qubits.

8. The system of any of claims 1-7, wherein each of the plurality of secondary controllers (120) comprises a decoder (124) configured to:obtain a set of check operator measurements of the logical qubits associated with the secondary controller;process the set of check operator measurements to determine a correction operator for removing error of the logical qubits or a monitor operator for tracking the logical qubits; andgenerate a plurality of control signals prompting the correction operator to be executed on the logical qubits or the monitor operator to track the logical qubits.

9. The system of any of claims 1 -8, wherein the subset of logical qubits associated with each secondary controller (120) is oneof a predetermined subset of logical qubits, or a subset of logical qubits in a predetermined area of the quantum computer (105).

10. The system of any of claims 1 -9, wherein the primary controller (110) is further configured, for each of the secondary controllers (120), to assign a subset of the plurality of logical qubits to the secondary controller.

11. The system of any of claims 1-10, wherein the quantum computer (105) is a trapped ion quantum computer.

12. The system of claim 11, wherein each secondary controller (120) is further configured to:monitor physical operations performed on the logical qubits associated with the secondary controller in order to detect ion-loss corresponding to one of the logical qubits;responsive to detecting ion-loss, compile a correction instruction for handling the ion-loss into a sequence of correction operations, each correction operation to be executed on the logical qubit; andgenerate a plurality of control signals, each control signal prompting one of the plurality of correction operations to be executed on the logical qubit.

13. The system of any of claims 1-12, further comprising a master controller (140) in communication with a plurality of the primary controllers (110), the master controller configured to:obtain a master quantum algorithm;divide the master quantum algorithm into a plurality of quantum algorithms, each quantum algorithm assigned to a different primary controller; andtransmit an instruction to each of the plurality of primary controllers, each instruction prompting execution of one of the quantum algorithms on the plurality of logical qubits.

14. A method (200) for controlling execution of a quantum algorithm on a quantum computer, comprising:compiling (210), by a primary controller, the quantum algorithm into a plurality of logical qubit functions to be executed on a plurality of logical qubits;transmitting (220), by the primary controller, an instruction to each of a plurality of secondary controllers, each instruction prompting execution of one of the plurality of logical qubit functions on a subset of the plurality of logical qubits associated with the secondary controller;receiving (230), by the secondary controller, the instruction prompting execution of the logical qubit function from the primary controller;compiling (240), by the secondary controller, the instruction into a sequence of operations, each operation to be executed on one or more of the logical qubits 5 associated with the secondary controller;generating (250), by the secondary controller, a plurality of control signals, each control signal prompting one of the plurality of operations to be executed on the logical qubits.io 15. A computer program comprising computer program code means adapted, when said computer program is run on a computer, to implement the method (200) of claim 14.

Citation Information

Patent Citations

  • Method and system for controlling a qubit for obtaining a scalable structure of a hybrid quantum-classical architecture

    US20220398484A1

Cited By

  • Quantum computer with a practical-scale instruction hierarchy

    US12554498B2

  • Quantum computer with a practical-scale instruction hierarchy

    US20250348314A1