Neutral atom quantum circuit compiling method and system, electronic equipment and storage medium
By mapping the qubits to the optical tweezers array and dividing the frequency map of the neutral atom quantum circuit, combined with the greedy algorithm, the rapid compilation of qubits is achieved, which solves the problems of huge computing resources and long compilation time in the existing technology. Improved scalability of neutral atom quantum computing.
Patent Information
- Application Number
- CN202410718409.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-04
AI Technical Summary
Existing neutral atom quantum circuit compilation methods have huge computing resources and long compilation times, making it difficult to quickly compile a large number of qubits.
By mapping the qubits of the preset quantum circuit to the optical tweezers array, a two-bit gate frequency map is constructed, and the qubit group is obtained through segmentation processing, and mapped to another optical tweezers array to realize the movement of qubits and the two-bit gate Operation, using greedy algorithm to optimize the compilation process.
It achieves rapid compilation of qubits, reduces computing resource requirements and compilation time, improves the scalability of neutral atom quantum computing, and avoids the problems of physical equipment limitations in existing technologies.
Smart Images

Figure CN118607652A
Abstract
Description
Technical Field
[0001] The present application relates to the field of quantum computing technology, and in particular to a neutral atom quantum circuit compilation method and system, electronic equipment and storage medium. Background Art
[0002] Neutral atom quantum computing is a quantum computing technology that uses neutral atoms as basic building blocks. Neutral atom quantum computing uses optical tweezers arrays and laser pulses to encode and manipulate quantum bits, and has the advantages of high quantum bit lifetime, controllable interactions, high parallelism, and scalability.
[0003] Neutral atom quantum computing uses neutral atoms bound in an optical tweezer array as quantum bits. In order to enable the high-level algorithms (logical level) described by neutral atom quantum computing to be executed on quantum devices (physical level), the neutral atom quantum circuit needs to be compiled, that is, the quantum bits that need to interact are connected to each other through compilation, so that neutral atom quantum computing can meet the constraints of quantum devices.
[0004] Under the constraints of the optical tweezers array, the neutral atoms bound in the optical tweezers array can move their positions coherently, so that the connectivity between quantum bits can change in real time during the quantum computing process.
[0005] The inventor of the present application has found that the methods used in the prior art for compiling neutral atom quantum circuits have the problems of huge computing resources and long compiling time. How to quickly compile a huge number of quantum bits based on the characteristics of the neutral atom quantum computing system (such as coherence movement) is of great significance to neutral atom quantum computing. Summary of the invention
[0006] The present application provides a neutral atom quantum circuit compilation method and system, electronic equipment and storage medium, which are used to solve the problems of huge computing resources and long compilation time in the current neutral atom quantum circuit compilation method.
[0007] According to one aspect of the present application, the present application provides a neutral atom quantum circuit compilation method, including: mapping the quantum bits of a preset quantum circuit with neutral atoms in a first optical tweezers array to obtain a two-bit gate quantum circuit; constructing a two-bit gate frequency map based on the two-bit gate quantum circuit in the two-bit gate quantum circuit; segmenting the two-bit gate frequency map to obtain at least one quantum bit group; mapping at least one quantum bit group in a preset form to another first optical tweezers array to obtain a mapped quantum bit array; moving at least one quantum bit in the mapped quantum bit array to a second optical tweezers array; and moving at least one quantum bit to a preset position range of a target quantum bit based on the second optical tweezers array, so that at least one quantum bit and the target quantum bit execute a two-bit gate.
[0008] According to some embodiments of the present application, segmenting a two-bit gate frequency map to obtain at least one qubit group includes: determining a qubit pool in the two-bit gate frequency map, the qubit pool including N qubits, where N is a positive integer greater than 1; determining at least one incoherent qubit having a frequency of zero with a first qubit in the qubit pool; determining the first qubit and the at least one incoherent qubit as a first qubit group; removing the qubits in the first qubit group from the qubit pool to obtain a qubit pool to be processed; determining a qubit group corresponding to the remaining qubits in the qubit pool to be processed; and continuously removing the qubits in the corresponding qubit group from the qubit pool until the traversal of the qubit pool to be processed is completed to obtain at least one qubit group.
[0009] According to some embodiments of the present application, the first optical tweezers array is an optical tweezers array generated by a spatial light modulator, and the second optical tweezers array is an optical tweezers array generated by an acousto-optic deflector.
[0010] According to another aspect of the present application, the present application provides a neutral atom quantum circuit compilation system, which includes a quantum bit mapping module, a frequency map construction module, a quantum bit processing module, and a quantum bit moving module. The quantum bit mapping module maps the quantum bits of the preset quantum circuit with the neutral atoms in the first optical tweezers array to obtain a two-bit gate quantum circuit; the frequency map construction module constructs a two-bit gate frequency map based on the two-bit gate quantum circuit in the two-bit gate quantum circuit; the quantum bit processing module divides the two-bit gate frequency map to obtain at least one quantum bit group, and maps at least one quantum bit group to another first optical tweezers array in a preset form to obtain a mapped quantum bit array; the quantum bit moving module moves at least one quantum bit in the mapped quantum bit array to the second optical tweezers array, and moves at least one quantum bit to the preset position range of the target quantum bit based on the second optical tweezers array, so that at least one quantum bit and the target quantum bit perform a two-bit gate.
[0011] According to some embodiments of the present application, a qubit processing module determines a qubit pool in a two-bit gate frequency diagram, where the qubit pool includes N qubits, where N is a positive integer greater than 1; the qubit processing module determines at least one incoherent qubit whose frequency is zero with respect to a first qubit in the qubit pool; the qubit processing module determines the first qubit and at least one incoherent qubit as a first qubit group; the qubit processing module removes the qubits in the first qubit group from the qubit pool to obtain a qubit pool to be processed; the qubit processing module determines a qubit group corresponding to the remaining qubits in the qubit pool to be processed; the qubit processing module continuously removes the qubits in the corresponding qubit group from the qubit pool until the traversal of the qubit pool to be processed is completed to obtain at least one qubit group.
[0012] According to some embodiments of the present application, the first optical tweezers array is an optical tweezers array generated by a spatial light modulator, and the second optical tweezers array is an optical tweezers array generated by an acousto-optic deflector.
[0013] According to another aspect of the present application, an electronic device is provided. The electronic device includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors can implement the neutral atom quantum circuit compilation method as described above.
[0014] According to another aspect of the present application, a non-volatile computer-readable storage medium is provided, wherein a computer program is stored on the storage medium, and the computer program can implement the neutral atom quantum circuit compilation method as described above.
[0015] The present application constructs a two-bit gate frequency map based on a two-bit gate quantum circuit, divides the two-bit gate frequency map, and arranges quantum bits in different optical tweezers arrays based on corresponding allocation rules, so that the movement of quantum bits can be realized based on the coherence movement of quantum bits to perform two-bit gate operations of quantum bits, thereby realizing rapid compilation and solution of quantum bits. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A schematic diagram showing an SLM array according to an embodiment of the present application;
[0018] Figure 2 A schematic diagram showing an AOD array according to an embodiment of the present application;
[0019] Figure 3 A flow chart showing a compiling method according to an exemplary embodiment of the present application;
[0020] Figure 4 A schematic diagram showing a two-qubit gate quantum circuit according to an embodiment of the present application;
[0021] Figure 5 A two-bit gate frequency diagram of an embodiment of the present application is shown;
[0022] Figure 6 Another flow chart showing the compiling method of the embodiment of the present application;
[0023] Figure 7 A schematic diagram showing the segmentation of a two-bit gate frequency diagram of an embodiment of the present application;
[0024] Figure 8 A schematic diagram showing the structure of a compilation system according to an embodiment of the present application is shown.
[0025] Description of reference numerals:
[0026] Compilation system 1; quantum bit mapping module 10; frequency map construction module 20; quantum bit processing module 30; quantum bit movement module 40. DETAILED DESCRIPTION
[0027] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this application will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0028] The described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of these specific details, or other modes, components, materials, devices, etc. may be adopted. In these cases, known structures, methods, devices, implementations, materials or operations will not be shown or described in detail.
[0029] In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0030] The terms "first", "second" and the like in the specification and claims of this application and the above drawings are used to distinguish different objects rather than to describe a specific order.
[0031] The following is a clear and complete description of the technical solution of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0032] In one prior art, a compiler can be used to compile a movable neutral atom quantum circuit. For example, the prior art uses an SMT (Satisfiability Modulo Theories) solver to solve the mapping method and scheduling process of quantum bits that meet physical condition constraints.
[0033] However, the inventors found that the scalability of the compilation method based on the SMT solver is limited by the SMT solver, so that the solution time increases exponentially with the increase of quantum circuits. For example, for a quantum circuit with 90 quantum bits, it takes at least one day to complete the compilation work. In addition, the compilation method based on the SMT solver also has the problem of huge computing resources.
[0034] In another prior art, a movable neutral atom quantum circuit can be compiled based on a MAX k-Cut algorithm. For example, the mapping of quantum bits is performed based on the MAX k-Cut algorithm, and the cut quantum bits are placed in a K-set optical tweezer array to remove the limitations of neutral atom quantum computing.
[0035] However, the inventors found that the compilation method based on the MAX k-Cut algorithm requires at least K-1 sets of acousto-optic deflectors to constrain quantum bits, while the current neutral atom quantum computing platform can only limit the use of two sets of acousto-optic deflectors, and the equipment layout of multiple sets of acousto-optic deflectors is difficult to implement in actual application scenarios. In addition, the MAX k-Cut algorithm is an NP-hard problem, and large-scale neutral atom quantum computing will also have huge computing resources and cannot achieve fast compilation and solution.
[0036] According to an example embodiment, neutral atom quantum computing uses neutral atoms trapped in an optical tweezers array as quantum bits. The optical tweezers array is a quantum manipulation platform that can capture and manipulate atoms or molecules by laser beams, and the optical tweezers array includes multiple optical tweezers points.
[0037] Optical tweezers points can be produced by SLM (Spatial Light Modulator) or AOD (Acousto-optic Deflectors). The optical tweezers array formed by the optical tweezers points produced by SLM is an SLM array; the optical tweezers array formed by the optical tweezers points produced by AOD is an AOD array.
[0038] Figure 1 A schematic diagram showing an SLM array according to an embodiment of the present application; Figure 2 A schematic diagram of an AOD array according to an embodiment of the present application is shown.
[0039] like Figure 1 As shown, the optical tweezers points generated by the SLM can be at any position on the two-dimensional plane, but the optical tweezers points in the SLM array cannot be moved. For example, Figure 1 An SLM array including seven optical tweezers positions is shown, and the positions of the seven optical tweezers positions are randomly distributed.
[0040] like Figure 2 As shown, the optical tweezers points generated by the AOD are a lattice array structure located on a two-dimensional plane. The AOD array can be moved, but the AOD array needs to move in a whole row or column during the movement. For example, Figure 2 As shown, row 3 in the AOD array can be moved downward as a whole.
[0041] According to an exemplary embodiment, neutral atoms can be switched between the SLM array and the AOD array. The optical tweezers points of the SLM array can be turned on or off individually during quantum computing, while the optical tweezers points of the AOD array need to be turned on or off in entire rows or columns during quantum computing.
[0042] During the movement of the neutral atoms in the AOD array, they can only move in sequence, that is, during the movement of a row in the AOD array, they can only move in sequence in the order of rows, and cannot directly move across the middle row to move alternate rows. Or during the movement of a column in the AOD array, they can only move in sequence in the order of columns, and cannot directly move across the middle column to move alternate columns.
[0043] According to the example embodiment, any single-qubit gate can be individually operated and controlled by laser. It can be understood here that when the distance between the two qubits is within the Rydberg blockade radius r b When two qubits execute the CZ gate, the distance between the two neutral atoms (r b ) cannot contain other neutral atoms.
[0044] According to one aspect of the present application, the present application provides a neutral atom quantum circuit compilation method. Figure 3 A flow chart of the compilation method of the exemplary embodiment of the present application is shown. Figure 3 As shown, the compiling method includes steps S100-S600.
[0045] Exemplarily, the neutral atom quantum circuit compilation method may be executed by a neutral atom quantum circuit compilation system.
[0046] In step S100, the compilation system maps the quantum bits of the preset quantum circuit with the neutral atoms in the first optical tweezers array to obtain a two-bit gate quantum circuit.
[0047] Optionally, the first optical tweezers array is an optical tweezers array generated by a spatial light modulator, which is an SLM array.
[0048] According to an example embodiment, the preset quantum circuit can be a quantum circuit task input to the compilation system. The compilation system maps the quantum bits in the quantum circuit to the neutral atoms in the SLM array one by one. As the quantum circuit runs layer by layer, the neutral atom can move to the vicinity of the target neutral atom according to the requirements of the quantum circuit task and execute the two-bit gate in the quantum circuit task, thereby obtaining a two-bit gate quantum circuit including only the two-bit gate.
[0049] In step S200, the compilation system constructs a two-bit gate frequency map based on the two-bit gate quantum circuit in the two-bit gate quantum circuit.
[0050] Figure 4 A schematic diagram showing a two-bit gate quantum circuit according to an embodiment of the present application; Figure 5 A two-bit gate frequency diagram of an embodiment of the present application is shown.
[0051] Figure 4 The schematic diagram of a quantum circuit including five quantum bits (q1, q2, q3, q4, q5) is shown. According to the quantum circuit diagram, the number of times a two-bit gate appears in the entire quantum circuit can be counted, and a two-bit gate frequency diagram can be constructed accordingly (e.g. Figure 5 shown).
[0052] In step S300, the compilation system performs segmentation processing on the two-bit gate frequency map to obtain at least one quantum bit group.
[0053] For example, the compilation system determines in the two-bit gate frequency graph a quantum bit that has no two-bit gate operation with a specific quantum bit, and separates the specific quantum bit from the quantum bit that has no two-bit gate operation to form a quantum bit group.
[0054] In this way, by segmenting the two-bit gate frequency graph, at least one qubit group can be obtained. A qubit group can include any number of qubits, and there is no two-bit gate operation between qubits in a qubit group. The two-bit gate operation only exists between different qubit groups.
[0055] Optionally, in step S300, the compilation system performs segmentation processing on the two-bit gate frequency map based on a greedy algorithm to obtain at least one quantum bit group.
[0056] Greedy algorithm is an algorithm for solving optimization problems. It selects the currently optimal option at each decision stage, that is, it makes the locally optimal decision in order to obtain the global optimal solution. Greedy algorithm is carried out step by step, and each step is based on the current situation and makes the best choice according to a certain optimization measure. Greedy algorithm divides the solution process into several steps, and each step applies the greedy principle to select the best or optimal option under the current state.
[0057] Figure 6 Another flow chart of the compiling method according to the embodiment of the present application is shown. Figure 7 A schematic diagram showing the segmentation of a two-bit gate frequency diagram according to an embodiment of the present application is shown.
[0058] For example, Figure 6 As shown, in step S300, the compilation system performs segmentation processing on the two-bit gate frequency map based on a greedy algorithm to obtain at least one quantum bit group, which may include steps S310-S360.
[0059] In step S310, the compilation system determines a quantum bit pool in a two-bit gate frequency map, where the quantum bit pool includes N quantum bits, where N is a positive integer greater than 1.
[0060] For example, Figure 7 As shown, the quantum bit pool in the two-bit gate frequency diagram includes five quantum bits (q1, q2, q3, q4, q5).
[0061] In step S320, the compilation system determines at least one incoherent qubit having a frequency of zero with the first qubit in the qubit pool.
[0062] In step S330, the compilation system determines the first qubit and at least one incoherent qubit as a first qubit group.
[0063] For example, the first qubit is randomly selected from the qubit pool. The incoherent qubit is a qubit whose frequency with the first qubit is 0, that is, the distance between the first qubit and the incoherent qubit is greater than the Rydberg blockade radius r b , and no two-bit gate operation can be performed between the two.
[0064] For example, Figure 7 As shown, taking the first quantum bit q1 as an example, the incoherent quantum bits with zero frequency (i.e. no connection relationship) with q1 are q4 and q5. That is, the quantum bit group corresponding to q1 is Q1{q1, q4, q5}.
[0065] In step S340, the compilation system removes the qubits in the first qubit group from the qubit pool to obtain a qubit pool to be processed.
[0066] For example, Figure 7 As shown, the compilation system removes Q1{q1, q4, q5} from the quantum bit pool, obtains the remaining (q2, q3) quantum bit pool to be processed, and updates the two-bit gate frequency map accordingly.
[0067] In step S350, the compilation system determines the qubit group corresponding to the remaining qubits in the qubit pool to be processed.
[0068] In step S360, the compilation system continuously removes the qubits in the corresponding qubit group from the qubit pool until the traversal of the qubit pool to be processed is completed, so as to obtain at least one qubit group.
[0069] For example, Figure 7 As shown, the compilation system traverses the remaining quantum bits (such as q2) in the quantum bit pool to be processed, and determines that the quantum bit group corresponding to q2 is Q2{q2, q3}.
[0070] It can be understood here that after the compilation system removes Q2{q2, q3} from the qubit pool, a new qubit pool to be processed will be obtained. The compilation system again determines the qubit group corresponding to the remaining qubits in the new qubit pool to be processed until the qubit traversal of the qubit pool to be processed is completed.
[0071] For example, Figure 7 As shown, after the compilation system traverses all the remaining quantum bits in the bit pool to be processed, that is, after the two-bit gate frequency graph is cut, two quantum bit groups Q1{q1, q4, q5} and Q2{q2, q3} can be obtained.
[0072] Through the above embodiments, the present application divides the two-bit gate frequency map through a greedy algorithm, which can quickly realize the mapping between logical bits and physical bits in the quantum circuit.
[0073] In step S400, the compilation system maps the quantum bit group to another first optical tweezers array in a preset form to obtain a mapped quantum bit array.
[0074] According to an example embodiment, the compilation system maps at least one qubit group in another SLM array in the form of a row. For example, each qubit group corresponds to a row of the SLM array, and M qubit groups are mapped to form an SLM array including M rows.
[0075] Alternatively, the compilation system maps at least one qubit group in another SLM array in the form of a column. For example, each qubit group corresponds to a column of the SLM array, and M qubit groups are mapped to form an SLM array including M columns.
[0076] In step S500, the compilation system moves at least one qubit in the mapping qubit array to the second optical tweezers array.
[0077] In step S600, the compilation system moves at least one qubit to a preset position range of a target qubit based on the second optical tweezers array, so that the at least one qubit and the target qubit perform a two-bit gate.
[0078] Optionally, the second optical tweezers array is an optical tweezers array generated by an acousto-optic deflector, which is an AOD array.
[0079] For example, the compilation system moves a qubit in a certain SLM row in the mapping qubit array to another AOD array (the AOD array has only one row and one column), and moves the qubit to a position near a target qubit in another SLM row based on the AOD array. By controlling the on or off of the laser, the qubit and the target qubit can perform a two-bit gate operation. After the qubit performs the two-bit gate operation, the compilation system moves the qubit back to its original position based on the AOD array.
[0080] The compilation system repeatedly executes the above-mentioned move operation on a specific quantum bit, performs a two-bit gate operation on a specific quantum bit, and updates the quantum circuit until the entire quantum circuit is compiled.
[0081] The present application constructs a two-bit gate frequency map based on a two-bit gate quantum circuit, divides the two-bit gate frequency map, and arranges quantum bits in different optical tweezers arrays based on corresponding allocation rules, so that the movement of quantum bits can be realized based on the coherence movement of quantum bits to perform two-bit gate operations of quantum bits, thereby realizing rapid compilation and solution of quantum bits.
[0082] This application uses a greedy algorithm to segment the two-bit gate frequency map, which can quickly realize the mapping between logical bits and physical bits in quantum circuits. And this application only uses one set of SLM equipment and one set of AOD equipment during the compilation process, which can be replicated in actual application scenarios and has the characteristics of not being restricted by physical equipment. In addition, when the qubit is not performing a two-bit gate operation, it will always be in the SLM array, so that the maximum number of qubits depends only on the power of the SLM device, and the compilation method provided by this application has good scalability.
[0083] According to another aspect of the present application, the present application provides a neutral atom quantum circuit compilation system. Figure 8 A schematic diagram showing the structure of the compilation system of the embodiment of the present application is shown as follows: Figure 8 As shown, the compilation system 1 includes a quantum bit mapping module 10, a frequency map construction module 20, a quantum bit processing module 30 and a quantum bit moving module 40.
[0084] According to an example embodiment, the qubit mapping module 10 maps the qubits of a preset quantum circuit with the neutral atoms in the first optical tweezers array to obtain a two-qubit gate quantum circuit.
[0085] Optionally, the first optical tweezers array is an optical tweezers array generated by a spatial light modulator, which is an SLM array.
[0086] According to an example embodiment, the preset quantum circuit can be a quantum circuit task input to the compilation system. The quantum bit mapping module 10 maps the quantum bits in the quantum circuit to the neutral atoms in the SLM array one by one. As the quantum circuit runs layer by layer, the neutral atom can move to the vicinity of the target neutral atom according to the requirements of the quantum circuit task and execute the two-bit gate in the quantum circuit task, thereby obtaining a two-bit gate quantum circuit including only the two-bit gate.
[0087] The frequency map construction module 20 constructs a two-bit gate frequency map based on the two-bit gate quantum circuit in the two-bit gate quantum circuit.
[0088] For example, the frequency map construction module 20 can count the number of times a two-bit gate appears in the entire quantum circuit according to the quantum circuit diagram, thereby constructing a two-bit gate frequency map.
[0089] The quantum bit processing module 30 performs segmentation processing on the two-bit gate frequency map to obtain at least one quantum bit group.
[0090] For example, the qubit processing module 30 determines a qubit that does not have a two-bit gate operation with a specific qubit in the two-bit gate frequency diagram, and separates the specific qubit from the qubit that does not have a two-bit gate operation to form a qubit group.
[0091] In this way, by segmenting the two-bit gate frequency graph, at least one qubit group can be obtained. A qubit group can include any number of qubits, and there is no two-bit gate operation between qubits in a qubit group. The two-bit gate operation only exists between different qubit groups.
[0092] Optionally, the quantum bit processing module 30 performs segmentation processing on the two-bit gate frequency map based on a greedy algorithm to obtain at least one quantum bit group.
[0093] Greedy algorithm is an algorithm for solving optimization problems. It selects the currently optimal option at each decision stage, that is, it makes the locally optimal decision in order to obtain the global optimal solution. Greedy algorithm is carried out step by step, and each step is based on the current situation and makes the best choice according to a certain optimization measure. Greedy algorithm divides the solution process into several steps, and each step applies the greedy principle to select the best or optimal option under the current state.
[0094] Optionally, the qubit processing module 30 determines a qubit pool in the two-bit gate frequency map, where the qubit pool includes N qubits, where N is a positive integer greater than 1.
[0095] The qubit processing module 30 determines at least one incoherent qubit having a frequency of zero with the first qubit in the qubit pool.
[0096] The qubit processing module 30 determines the first qubit and at least one incoherent qubit as a first qubit group.
[0097] For example, the first qubit is randomly selected from the qubit pool. The incoherent qubit is a qubit whose frequency with the first qubit is 0, that is, the distance between the first qubit and the incoherent qubit is greater than the Rydberg blockade radius r b , and no two-bit gate operation can be performed between the two.
[0098] The qubit processing module 30 removes the qubits in the first qubit group from the qubit pool to obtain a qubit pool to be processed.
[0099] The qubit processing module 30 determines the qubit group corresponding to the remaining qubits in the qubit pool to be processed.
[0100] The qubit processing module 30 continuously removes qubits in the corresponding qubit group from the qubit pool until the traversal of the qubit pool to be processed is completed, so as to obtain at least one qubit group.
[0101] The exemplary introduction of the quantum bit processing module 30 segmenting the two-bit gate frequency map based on the greedy algorithm has been described in detail above and will not be repeated here.
[0102] Through the above embodiments, the present application divides the two-bit gate frequency map through a greedy algorithm, which can quickly realize the mapping between logical bits and physical bits in the quantum circuit.
[0103] The qubit processing module 30 maps the qubit group to another first optical tweezers array in a preset form to obtain a mapped qubit array.
[0104] According to an exemplary embodiment, the qubit processing module 30 maps at least one qubit group in another SLM array in the form of a row. For example, each qubit group corresponds to a row of the SLM array, and M qubit groups are mapped to form an SLM array including M rows.
[0105] Alternatively, the qubit processing module 30 maps at least one qubit group in another SLM array in the form of a column. For example, each qubit group corresponds to a column of the SLM array, and M qubit groups are mapped to form an SLM array including M columns.
[0106] The qubit moving module 40 moves at least one qubit in the mapping qubit array to the second optical tweezers array.
[0107] The qubit moving module 40 moves at least one qubit to a preset position range of a target qubit based on the second optical tweezers array, so that the at least one qubit and the target qubit perform a two-bit gate.
[0108] Optionally, the second optical tweezers array is an optical tweezers array generated by an acousto-optic deflector, which is an AOD array.
[0109] For example, the qubit moving module 40 moves a qubit in a certain SLM row in the mapping qubit array to another AOD array (the AOD array has only one row and one column), and moves the qubit to a position near a certain target qubit in another SLM row based on the AOD array, and by controlling the on or off of the laser, the qubit and the target qubit can perform a two-bit gate operation. After the qubit performs the two-bit gate operation, the qubit moving module 40 moves the qubit back to its original position based on the AOD array.
[0110] The quantum bit moving module 40 repeatedly executes the above-mentioned moving operation on the specific quantum bit, performs the two-bit gate operation on the specific quantum bit, and updates the quantum circuit until the entire quantum circuit is compiled.
[0111] The present application constructs a two-bit gate frequency map based on a two-bit gate quantum circuit, divides the two-bit gate frequency map, and arranges quantum bits in different optical tweezers arrays based on the corresponding allocation rule, so that the movement of quantum bits can be realized based on the coherence movement of quantum bits to perform two-bit gate operations of quantum bits, thereby realizing rapid compilation and solution of quantum bits.
[0112] This application uses a greedy algorithm to segment the two-bit gate frequency map, which can quickly realize the mapping between logical bits and physical bits in quantum circuits. And this application only uses one set of SLM equipment and one set of AOD equipment during the compilation process, which can be replicated in actual application scenarios and has the characteristics of not being restricted by physical equipment. In addition, when the qubit is not performing a two-bit gate operation, it will always be in the SLM array, so that the maximum number of qubits depends only on the power of the SLM device, and the compilation method provided by this application has good scalability.
[0113] According to another aspect of the present invention, an electronic device is provided. The electronic device includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors can implement the neutral atom quantum circuit compilation method as described above.
[0114] According to another aspect of the present invention, a non-volatile computer-readable storage medium is provided, wherein a computer program is stored on the storage medium, and the computer program can implement the neutral atom quantum circuit compilation method as described above.
[0115] Finally, it should be noted that the above is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions of the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A neutral atom quantum circuit compilation method, It is characterized in that include: Mapping the quantum bits of the preset quantum circuit with the neutral atoms in the first optical tweezers array to obtain a two-bit gate quantum circuit; constructing a two-bit gate frequency map based on the two-bit gate quantum circuit in the two-bit gate quantum circuit; Segmenting the two-bit gate frequency map to obtain at least one quantum bit group; Mapping the at least one quantum bit group into another first optical tweezers array in a preset form to obtain a mapped quantum bit array; Moving at least one qubit in the mapping qubit array to a second optical tweezers array; Based on the second optical tweezers array, the at least one quantum bit is moved to a preset position range of a target quantum bit, so that the at least one quantum bit and the target quantum bit perform a two-bit gate.
2. The neutral atom quantum circuit compiling method according to claim 1, It is characterized in that The step of segmenting the two-bit gate frequency map to obtain at least one quantum bit group includes: Determine a quantum bit pool in the two-bit gate frequency map, the quantum bit pool including N quantum bits, where N is a positive integer greater than 1; Determining at least one incoherent qubit having a frequency of zero with respect to a first qubit in the qubit pool; Determining the first qubit and the at least one incoherent qubit as a first qubit group; Eliminating the qubits in the first qubit group from the qubit pool to obtain a qubit pool to be processed; Determining a quantum bit group corresponding to the remaining quantum bits in the quantum bit pool to be processed; The qubits in the corresponding qubit group are continuously removed from the qubit pool until the traversal of the qubit pool to be processed is completed, so as to obtain the at least one qubit group.
3. The neutral atom quantum circuit compilation method according to claim 1, It is characterized in that The first optical tweezers array is an optical tweezers array generated by a spatial light modulator, and the second optical tweezers array is an optical tweezers array generated by an acousto-optic deflector.
4. A neutral atom quantum circuit compilation system, It is characterized in that include: A quantum bit mapping module maps the quantum bits of a preset quantum circuit with the neutral atoms in the first optical tweezers array to obtain a two-bit gate quantum circuit; A frequency map construction module, which constructs a two-bit gate frequency map based on the two-bit gate quantum circuit in the two-bit gate quantum circuit; A quantum bit processing module, which performs segmentation processing on the two-bit gate frequency map to obtain at least one quantum bit group, and maps the at least one quantum bit group to another first optical tweezers array in a preset form to obtain a mapped quantum bit array; A quantum bit moving module moves at least one quantum bit in the mapping quantum bit array to a second optical tweezers array, and moves the at least one quantum bit to a preset position range of a target quantum bit based on the second optical tweezers array, so that the at least one quantum bit and the target quantum bit execute a two-bit gate.
5. The compilation system according to claim 4, It is characterized in that The qubit processing module determines a qubit pool in the two-bit gate frequency map, the qubit pool comprising N qubits, where N is a positive integer greater than 1; The qubit processing module determines at least one incoherent qubit having a frequency of zero with respect to a first qubit in the qubit pool; The qubit processing module determines the first qubit and the at least one incoherent qubit as a first qubit group; The qubit processing module removes the qubits in the first qubit group from the qubit pool to obtain a qubit pool to be processed; The qubit processing module determines a qubit group corresponding to the remaining qubits in the qubit pool to be processed; The qubit processing module continuously removes qubits in the corresponding qubit group from the qubit pool until the traversal of the qubit pool to be processed is completed, so as to obtain the at least one qubit group.
6. The neutral atom quantum circuit compilation system according to claim 4, It is characterized in that The first optical tweezers array is an optical tweezers array generated by a spatial light modulator, and the second optical tweezers array is an optical tweezers array generated by an acousto-optic deflector.
7. An electronic device, It is characterized in that include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the neutral atom quantum circuit compilation method as described in any one of claims 1 to 3.
8. A non-volatile computer-readable storage medium having a computer program stored thereon, It is characterized in that The computer program implements the neutral atom quantum circuit compilation method as described in any one of claims 1-3.
Citation Information
Patent Citations
Neutral atom quantum information processor
CA3102913A1
Method and device for compiling quantum circuit, equipment, and computer readable storage medium
CN109858628A
Quantum bit mapping method and device for neutral atom quantum circuit
CN115345310A
Neutral atom quantum bit control system and method based on real-time calculation
CN116484961A
Extensible cold atom quantum bit system construction method
CN117575030A
Cited By
Quantum computing method and quantum computing device based on partition architecture
CN120181251A
Quantum computing method and quantum computing device based on partitioned architecture
CN120181251B
Quantum line compiling method based on neutral atom hardware topology and related device
CN121599154A
