WO2023214608A1 - Matériel de simulation de circuit quantique - Google Patents
Matériel de simulation de circuit quantique Download PDFInfo
- Publication number
- WO2023214608A1 WO2023214608A1 PCT/KR2022/007270 KR2022007270W WO2023214608A1 WO 2023214608 A1 WO2023214608 A1 WO 2023214608A1 KR 2022007270 W KR2022007270 W KR 2022007270W WO 2023214608 A1 WO2023214608 A1 WO 2023214608A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- gate
- quantum circuit
- quantum
- state
- states
- Prior art date
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 20
- 239000013598 vector Substances 0.000 claims abstract description 33
- 239000002096 quantum dot Substances 0.000 claims description 26
- 238000004364 calculation method Methods 0.000 claims description 23
- 238000000034 method Methods 0.000 claims description 10
- 239000011159 matrix material Substances 0.000 description 16
- 238000010586 diagram Methods 0.000 description 11
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B82—NANOTECHNOLOGY
- B82Y—SPECIFIC USES OR APPLICATIONS OF NANOSTRUCTURES; MEASUREMENT OR ANALYSIS OF NANOSTRUCTURES; MANUFACTURE OR TREATMENT OF NANOSTRUCTURES
- B82Y10/00—Nanotechnology for information processing, storage or transmission, e.g. quantum computing or single electron logic
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N10/00—Quantum computing, i.e. information processing based on quantum-mechanical phenomena
- G06N10/20—Models of quantum computing, e.g. quantum circuits or universal quantum computers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N10/00—Quantum computing, i.e. information processing based on quantum-mechanical phenomena
- G06N10/60—Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
Definitions
- the present invention relates to a simulator of a quantum circuit model, and more specifically, to a technology related to quantum circuit simulation hardware for efficiently calculating state vectors in quantum circuit operations on a classical computer.
- a quantum computer is a computer that can solve existing NP-complete problems within polynomial time using several new algorithms such as the Shor algorithm and Groover algorithm, and is a technology that can collapse the RSA encryption system that currently utilizes the characteristics of prime numbers.
- Shor algorithm and Groover algorithm
- simulations on classical computers are essential for algorithmic research using quantum circuits.
- a quantum circuit can be expressed as a two-dimensional matrix composed of complex numbers, and a quantum circuit using N qubits is expressed as a 2 N ⁇ 2 N matrix. Therefore, in a 50-qubit system that enjoys quantum supremacy, a complex matrix of 2 50
- the present invention was created to solve the above problems, and the purpose of the present invention is to simulate the quantum circuit model on a classical computer, and to use the state vector generated at the quantum output, which is the result of the calculation of the quantum circuit.
- the goal is to provide quantum circuit simulation hardware that can operate with small complexity and memory.
- a quantum circuit simulator for achieving the above object groups the states constituting the state vector into a plurality of sets based on the target qubit of the gate constituting the quantum circuit simulated on the computer.
- Grouping Department a decision unit that determines a set to perform a gate operation; and an operation unit that performs a gate operation on the determined set.
- the grouping unit may group states in which the target qubit is the same and the remaining qubits are different into the same set.
- the decision unit may decide to perform a gate operation on a set in which all grouped states are not 0.
- the decision unit may decide not to perform the gate operation on a set in which all grouped states are 0.
- the decision unit may determine whether to perform a gate operation based on non-zero states and gates for a set in which some of the grouped states are 0.
- the decision unit may determine not to perform the gate operation if the gate is a control gate and the 0 state is a control qubit.
- the calculation unit can perform calculations by sequentially updating the quantum state vector on a gate-by-gate basis for the gates constituting the quantum circuit.
- the decision unit can check whether the state is 0 with low delay by using internal memory instead of using external memory.
- the decision unit may determine not to access the internal memory and not perform the gate operation if the gate is a control gate and the 0 state is a control qubit.
- a quantum circuit simulation method includes grouping states constituting a state vector into a plurality of sets based on the target qubit of a gate constituting a quantum circuit simulated on a computer; determining a set to perform a gate operation on; and performing a gate operation on the determined set.
- the state vector generated at the quantum output which is the result of the calculation of the quantum circuit, can be calculated with less complexity and memory. It becomes possible. As a result , the 2 N
- FIG. 1 is a diagram showing the configuration of a quantum circuit simulation system according to an embodiment of the present invention
- Figure 2 is a diagram showing the detailed structure of a quantum circuit simulation accelerator
- 3 is a diagram showing the detailed structure of a quantum circuit simulator
- FIG. 4 is a diagram illustrating a gate of a quantum circuit
- FIG. 6 is a diagram illustrating a 2-qubit single gate
- FIG. 7 is a diagram illustrating a 2-qubit control gate
- FIGS 8 and 9 are drawings provided to explain the existing quantum circuit calculation method
- FIGS 10 and 11 are diagrams provided to explain the quantum circuit calculation method according to an embodiment of the present invention.
- An embodiment of the present invention presents simulation hardware for a quantum circuit simulator running on a classical computer to efficiently calculate state vectors in quantum circuit operations using limited memory.
- a classical computer is a currently commonly used computer that performs bit (0 or 1)-based operations, and is a concept corresponding to a quantum computer that performs qubit-based operations.
- the determinant that combines the matrices of the quantum gates constituting the quantum circuit into one by Kronecker product is not calculated, but the quantum circuit is Quantum state vectors are sequentially calculated for each gate unit.
- the part consisting of a number of gates in the quantum circuit is divided into gate units and the state vector is updated each time it passes through each gate, thereby requiring a large amount of calculation and memory usage.
- the Kerr product operation By excluding the Kerr product operation, the amount of computation and memory usage are dramatically reduced.
- Figure 1 is a diagram showing the configuration of a quantum circuit simulation system according to an embodiment of the present invention.
- the quantum circuit simulation system according to an embodiment of the present invention includes a host system 100 and a quantum circuit simulation accelerator 200.
- the quantum circuit simulation accelerator 200 is simulation hardware that simulates a quantum circuit and can be implemented using an FPGA (Field Programmable Gate Array).
- the host system 100 is a system for developing a quantum circuit simulator of the quantum circuit simulation accelerator 200.
- FIG. 2 shows the detailed structure of the quantum circuit simulation accelerator 200.
- the quantum circuit simulation accelerator 200 includes a Micro Controller Unit (MCU) 210, a memory 220, a BUS 230, and a quantum circuit simulator 240.
- MCU Micro Controller Unit
- the MCU 210 is equipped with firmware developed and compiled in the host system 100.
- the MCU 210 equipped with firmware receives quantum circuit data and initial quantum state data to be simulated by the quantum circuit simulator 240 from the host system 100 and stores them in the memory 220.
- Gates include single-qubit gates such as identity gates, Pauli gates, and Clifford gates, controlled Pauli gates, controlled Hadamard gates, controlled rotation gates, and Toffoli gates. There are multi-qubit gates, etc.
- Gates that make up a quantum circuit are expressed as matrices.
- the MCU 210 stores the matrices in the memory 220.
- the quantum circuit simulator 240 performs quantum operations using matrices stored in the memory 220 under the control of the MCU 210.
- the quantum operation results and final quantum state by the quantum circuit simulator 240 are transmitted to the host system 100 through the MCU 210.
- BUS 240 provides a communication interface between components of quantum circuit simulation accelerator 200.
- FIG. 3 shows the detailed structure of the quantum circuit simulator 240.
- the quantum circuit simulator 240 includes a state grouping unit 241, an operation skip decision unit 242, an operation unit 243, and a Zero Flag (ZF) SRAM 244.
- ZF Zero Flag
- the state grouping unit 241 groups and outputs the states constituting the state vector based on the target qubit of the gate constituting the quantum circuit. Specifically, the state grouping unit 242 groups two states in which the target qubit is the same and the remaining qubits are different into one set.
- the state vector can be expressed as a 2 N ⁇ 1 matrix, and each item of the matrix represents the probability of measuring the corresponding state (
- the target qubit refers to the qubit to which the gate is applied.
- the set grouped and output from the state grouping unit 241 consists of two states (s1, s2) as shown in FIG. 5, and is named using two indices (v1, v2).
- the states (s1, s2) in the same set are related to each other, but are independent from the states in other sets.
- the operation skip decision unit 242 determines sets to be skipped without performing the gate operation and sets to perform the gate operation among the sets grouped and output from the state grouping unit 241.
- Figure 6 shows a 2-qubit single gate. If the set input through the gate is (s1, s2), the output of the gate (s1', s2') can be expressed by the following matrix operation.
- the operation skip decision unit 242 determines to perform the gate operation on the set in which all grouped states are not 0, and does not perform the gate operation on the set in which all grouped states are 0. You can decide to skip it.
- the operation skip decision unit 242 determines whether to perform a gate operation based on non-zero states and gates for a set in which some of the grouped states are 0.
- the operation skip decision unit 242 determines to perform the operation even if some of the states are set to 0.
- the gate is a control gate as illustrated in FIG. 7, which is a multi-qubit gate that can be bypassed according to the input qubit, and the 0 state is the control qubit (q0), it is skipped without accessing the ZF SRAM 244 and performing the gate operation. Decide to do it.
- the operation unit 243 sequentially reads the set of states determined to perform the gate operation by the operation skip decision unit 242 from the memory 220 and uses them as inputs to the gate to perform the operation, and the state updated by the operation. These are recorded in the memory 220.
- the calculation by the calculation unit 243 is repeated for each of all gates constituting the quantum circuit simulated by the quantum circuit simulator 240 until the calculation is completed. As a result, the finally updated final quantum state vector remains in the memory 120.
- FIG. 8 is a diagram showing the concept of an existing quantum circuit calculation method for an arbitrary quantum circuit
- FIG. 9 is a flowchart showing the existing quantum circuit calculation method.
- FIG. 10 is a diagram showing the concept of a quantum circuit calculation method according to an embodiment of the present invention for an arbitrary quantum circuit
- FIG. 11 is a flowchart showing a quantum circuit calculation method according to an embodiment of the present invention.
- calculation is performed on a quantum gate basis, that is, calculation is performed on only one quantum gate at a time. Accordingly, instead of Kronecker multiplying (x) the three H gates, they are separated by Hani and operated individually.
- the final state vector is not calculated using an intermediate unitary matrix with a size of 2 N ⁇ 2 N in a quantum circuit composed of several quantum gates, but is repeatedly divided into 2 ⁇ 2 unitary operations of a single quantum gate. Memory consumption was reduced by using intermediate results in units of state vectors with a size of 2N +1 .
- states that are related to each other are grouped into a set based on the target qubit of the gate, and if the gate operation can be bypassed depending on the state value and type of gate, the operation is skipped to increase latency and power. Consumption was reduced.
- a computer-readable recording medium can be any data storage device that can be read by a computer and store data.
- computer-readable recording media can be ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical disk, hard disk drive, etc.
- computer-readable codes or programs stored on a computer-readable recording medium may be transmitted through a network connected between computers.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Computational Mathematics (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Chemical & Material Sciences (AREA)
- Nanotechnology (AREA)
- Crystallography & Structural Chemistry (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
L'invention concerne un matériel de simulation de circuit quantique. Un simulateur de circuit quantique, selon un mode de réalisation de la présente invention, comprend : une unité de groupement qui regroupe, en une pluralité d'ensembles, des états constituant un vecteur d'état sur la base de bits quantiques cibles de portes constituant des circuits quantiques simulés sur un ordinateur ; une unité de détermination pour déterminer un ensemble sur lequel une opération de porte doit être effectuée ; et une unité d'opération pour effectuer l'opération de porte sur l'ensemble déterminé. Ainsi, lors de la simulation d'un modèle de circuit quantique sur un ordinateur classique, non sur un ordinateur quantique, un vecteur d'état généré pendant une sortie quantique, qui est un résultat d'opération de circuits quantiques, peut être calculé avec une faible complexité et une petite capacité de mémoire.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2022-0055340 | 2022-05-04 | ||
KR1020220055340A KR20230155760A (ko) | 2022-05-04 | 2022-05-04 | 양자 회로 시뮬레이션 하드웨어 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023214608A1 true WO2023214608A1 (fr) | 2023-11-09 |
Family
ID=88646529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2022/007270 WO2023214608A1 (fr) | 2022-05-04 | 2022-05-23 | Matériel de simulation de circuit quantique |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR20230155760A (fr) |
WO (1) | WO2023214608A1 (fr) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020515999A (ja) * | 2017-03-24 | 2020-05-28 | ビュル エスアエス | 古典的なコンピュータ上で量子回路をシミュレートする方法 |
US20210232961A1 (en) * | 2020-01-24 | 2021-07-29 | United States Of America As Represented By Secretary Of The Navy | Quantum Computer Based Method for Analyzing Cyber Data and Spectra while Performing Optimization Based on the Analysis |
US20210342730A1 (en) * | 2020-05-01 | 2021-11-04 | equal1.labs Inc. | System and method of quantum enhanced accelerated neural network training |
KR20210144846A (ko) * | 2020-04-15 | 2021-11-30 | 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 | 양자 회로를 위한 결함 허용 및 에러 정정 디코딩 방법 및 장치, 그리고 칩 |
US20220101165A1 (en) * | 2020-09-28 | 2022-03-31 | Beit Inc. | Controllable quantum logic gates with measurement and methods for use therewith |
-
2022
- 2022-05-04 KR KR1020220055340A patent/KR20230155760A/ko unknown
- 2022-05-23 WO PCT/KR2022/007270 patent/WO2023214608A1/fr unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020515999A (ja) * | 2017-03-24 | 2020-05-28 | ビュル エスアエス | 古典的なコンピュータ上で量子回路をシミュレートする方法 |
US20210232961A1 (en) * | 2020-01-24 | 2021-07-29 | United States Of America As Represented By Secretary Of The Navy | Quantum Computer Based Method for Analyzing Cyber Data and Spectra while Performing Optimization Based on the Analysis |
KR20210144846A (ko) * | 2020-04-15 | 2021-11-30 | 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 | 양자 회로를 위한 결함 허용 및 에러 정정 디코딩 방법 및 장치, 그리고 칩 |
US20210342730A1 (en) * | 2020-05-01 | 2021-11-04 | equal1.labs Inc. | System and method of quantum enhanced accelerated neural network training |
US20220101165A1 (en) * | 2020-09-28 | 2022-03-31 | Beit Inc. | Controllable quantum logic gates with measurement and methods for use therewith |
Also Published As
Publication number | Publication date |
---|---|
KR20230155760A (ko) | 2023-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9704094B2 (en) | Mapping of algorithms to neurosynaptic hardware | |
TW202022644A (zh) | 一種運算裝置和運算方法 | |
US5325510A (en) | Multiprocessor system and architecture with a computation system for minimizing duplicate read requests | |
Takefuji et al. | An artificial maximum neural network: a winner-take-all neuron model forcing the state of the system in a solution domain | |
CN113469355B (zh) | 分布式系统中的多模型训练管道 | |
CN112084038B (zh) | 神经网络的内存分配方法及装置 | |
WO2022146080A1 (fr) | Algorithme et procédé de modification dynamique de la précision de quantification d'un réseau d'apprentissage profond | |
Deprit | Implementing recurrent back-propagation on the Connection Machine | |
CN115222015A (zh) | 指令处理装置、加速单元和服务器 | |
WO2023214608A1 (fr) | Matériel de simulation de circuit quantique | |
CN114511094A (zh) | 一种量子算法的优化方法、装置、存储介质与电子装置 | |
Urgese et al. | Top-down profiling of application specific many-core neuromorphic platforms | |
WO2023214609A1 (fr) | Procédé de calcul de circuit quantique pour calculer efficacement des vecteurs d'état | |
Sowa et al. | A data flow computer architecture with program and token memories | |
WO2023068463A1 (fr) | Système de dispositif de stockage pour simulation de circuit quantique | |
WO2021020848A2 (fr) | Opérateur matriciel et procédé de calcul matriciel pour réseau de neurones artificiels | |
CN113887730A (zh) | 量子模拟器实现方法、装置、相关设备以及量子模拟方法 | |
Ghosh et al. | Critical issues in mapping neural networks on message-passing multicomputers | |
WO2023068464A1 (fr) | Système de simulation de circuit quantique utilisant un dispositif de stockage, et son procédé de fonctionnement | |
JPH05197705A (ja) | ニューラルネットワークの学習システム | |
CN114692880A (zh) | 一种量子线路中量子态振幅的模拟方法及装置 | |
WO2022107951A1 (fr) | Procédé de formation d'un réseau d'apprentissage profond ultra-léger | |
WO2023080292A1 (fr) | Appareil et procédé pour générer un paramètre adaptatif pour un dispositif d'accélération d'apprentissage profond | |
WO2023224205A1 (fr) | Procédé de génération de modèle commun par synthèse de résultat d'apprentissage de modèle de réseau neuronal artificiel | |
WO2024177219A1 (fr) | Opérateur de matrice quantique et procédé de fonctionnement de matrice quantique pour réseau de neurones artificiels |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22940849 Country of ref document: EP Kind code of ref document: A1 |