US20210365828A1 - Multi-pass system for emulating sampling of a plurality of qubits and methods for use therewith - Google Patents
Multi-pass system for emulating sampling of a plurality of qubits and methods for use therewith Download PDFInfo
- Publication number
- US20210365828A1 US20210365828A1 US17/393,676 US202117393676A US2021365828A1 US 20210365828 A1 US20210365828 A1 US 20210365828A1 US 202117393676 A US202117393676 A US 202117393676A US 2021365828 A1 US2021365828 A1 US 2021365828A1
- Authority
- US
- United States
- Prior art keywords
- columns
- column
- weights
- variable assignments
- iterative
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/80—Architectures of general purpose stored program computers comprising an array of processing units with common control, e.g. single instruction multiple data processors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/82—Architectures of general purpose stored program computers data or demand driven
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45508—Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
-
- 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/40—Physical realisations or architectures of quantum processors or components for manipulating qubits, e.g. qubit coupling or qubit control
-
- 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
-
- 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/80—Quantum programming, e.g. interfaces, languages or software-development kits for creating or handling programs capable of running on quantum computers; Platforms for simulating or accessing quantum computers, e.g. cloud-based quantum computing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/01—Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
-
- 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
Definitions
- This invention relates generally to computer systems and also to quantum computing.
- Computing devices are known to communicate data, process data, and/or store data. Such computing devices range from wireless smart phones, laptops, tablets, personal computers (PC), work stations, smart watches, connected cars, and video game devices, to web servers and data centers that support millions of web searches, web applications, or on-line purchases every day.
- a computing device includes a processor, a memory system, user input/output interfaces, peripheral device interfaces, and an interconnecting bus structure.
- Classical digital computing devices operate based on data encoded into binary digits (bits), each of which has one of the two definite binary states (i.e., 0 or 1).
- a quantum computer utilizes quantum-mechanical phenomena to encode data as quantum bits or qubits, which can be in superpositions of the traditional binary states.
- FIG. 1 is a schematic block diagram of an embodiment of a quantum computing emulator in accordance with the present invention
- FIG. 2 is a schematic block diagram of an embodiment of a quantum computing architecture in accordance with the present invention.
- FIG. 3 is a schematic block diagram of an embodiment of a quantum computing architecture in accordance with the present invention.
- FIGS. 4A, 4B and 4C represent an embodiment of a flow of a multi-pass sampling in accordance with the present invention
- FIGS. 5A and 5B represent an embodiment of a flow of a dual-pass sampling in accordance with the present invention
- FIG. 6 is a flow diagram of an embodiment of a method in accordance with the present invention.
- FIG. 7 is a flow diagram of an embodiment of a method in accordance with the present invention.
- FIG. 8 is a flow diagram of an embodiment of a method in accordance with the present invention.
- FIG. 1 is a schematic block diagram of an embodiment of a quantum computing emulator in accordance with the present invention.
- the quantum computing emulator 102 includes a classical processor 120 and a classical memory 122 that stores a grid topology model 124 .
- the classical processor 120 includes a processing module and/or one or more other processing devices that operate via classical, rather than quantum computing.
- Each such processing device may be a microprocessor, micro-controller, digital signal processor, microcomputer, central processing unit, field programmable gate array, programmable logic device, state machine, logic circuitry, analog circuitry, digital circuitry, and/or any device that manipulates signals (analog and/or digital) based on hard coding of the circuitry and/or operational instructions.
- the classical processor 120 operates in conjunction with an attached memory and/or an integrated memory element such as classical memory 122 or other memory device, which may be a single memory device, a plurality of memory devices, and/or embedded circuitry of another processing module, module, processing circuit, processing circuitry, and/or processing unit.
- Such a memory device may be a read-only memory, random access memory, volatile memory, non-volatile memory, static memory, dynamic memory, flash memory, cache memory, and/or any device that stores digital information.
- the classical processor 120 includes more than one processing device, the processing devices may be centrally located (e.g., directly coupled together via a wired and/or wireless bus structure) or may be distributedly located (e.g., cloud computing via indirect coupling via a local area network and/or a wide area network). Further note that if the classical processor 120 implements one or more of its functions via a state machine, analog circuitry, digital circuitry, and/or logic circuitry, the memory and/or memory element storing the corresponding operational instructions may be embedded within, or external to, the circuitry comprising the state machine, analog circuitry, digital circuitry, and/or logic circuitry.
- the classical memory 122 stores, and the classical processor 120 executes, hard coded and/or other operational instructions corresponding to at least some of the steps and/or functions illustrated in one or more of the Figures.
- a memory device or memory element can be tangible memory device or other non-transitory storage medium included in or implemented as an article of manufacture.
- the Quadratic Unconstrained Binary Optimization (QUBO) model is a unifying mathematical framework for an important class of optimization problems.
- the matrix Q in its upper triangular form, can be defined as follows:
- Q[i, i] contains c ii coefficient from c ii x i x i
- Q[i, j], for i ⁇ j, contains c ij coefficient from c ij x i x j
- the sampling via quantum computer emulator 102 improves the technology of computing by providing the advantages of quantum algorithmic speed for QUBO problems and/or other problems that meet the criteria outlined herein, without the need for expensive and highly complex quantum computing hardware.
- highly complex problems such as path finding, weather forecasting, artificial intelligence, financial modeling, cryptography, molecular modeling, pattern recognition, particle physics, simulation, multi-dimensional optimization, and other computationally intensive applications can be solved without the need of such special purpose quantum computing computing hardware.
- the techniques described herein can be applied to more generalized Boltzmann sampling of a QUBO having a grid topology and/or to other QUBO problems that meet the criteria outlined above.
- FIG. 2 is a schematic block diagram 200 of an embodiment of a quantum computing architecture in accordance with the present invention.
- the grid topology model 124 can correspond to an interconnected grid-based architecture of a quantum computer to be emulated by the quantum computing emulator 102 , where each cell in the grid contains a plurality of qubits that are interconnected within the cell and where some qubits are interconnected with another grid elements.
- columns and “rows” generally pertain, respectively, to vertical and horizontal one-dimensional arrays of cells of a two-dimensional grid
- the term “columns” refer to either vertical or horizontal one-dimensional arrays of cells of a two-dimensional grid, particularly because the actual orientation of the cells is arbitrary in the context of computation.
- a square grid topology is shown, other non-square rectangles and other grid shapes can likewise be employed.
- the grid topology model 124 can represent a graph of qubits as a tree/subtree structure composed of a family of subtrees.
- X,T specific tree decomposition
- T is a list, T 32 ⁇ ( X 1 ,X 2 ), . . . ( X N ⁇ 1 ,X N ) ⁇ ,
- Alex Selby has proposed a single-pass dynamic programming solution to sampling in “Efficient subgraph-based sampling of Ising-type models with frustration”. This approach, however, produces only approximate samples of the Boltzmann distribution and requires data structures that are large enough to store preliminary results for all qubits of the grid.
- the classical processor 120 performs operational instructions that implement a multi-pass dynamic programming, guided by the family of subtrees, in order to compute multiple properties of a given QUBO instance on the graph in O(N2 W ) time.
- the classical processor 120 can determine the assignment of all variables (both for the minimum state and for a single Boltzmann sample) by performing N properly tailored dynamic-programming passes, giving a total complexity of O(nN2 W ) per sample. More precisely, the classical processor 120 can compute any or all of the following:
- the quantum computing emulator 102 provides a system for emulating the sampling of a quantum computer having a plurality of qubits arranged in a grid topology with N columns.
- the classical processor 120 is configured by the operational instructions stored in the classical memory 122 to perform operations that include producing final weights and variable assignments for the N columns based on N iterative passes through the grid topology, wherein each of the N iterative passes generates preliminary weights and variable assignments for a corresponding subset of the N columns, and wherein the preliminary weights and variable assignments for a selected column of the corresponding subset of the N columns based on the preliminary weights and variable assignments generated for a column adjacent to the selected column of the corresponding subset of the N columns and wherein the sampling of the quantum computer having the plurality of qubits is emulated by a sample based on the final weights and variable assignments for each of the N columns.
- a first iterative pass of the N iterative passes generates the final weights and variable assignments for an Nth column of the N columns, based on the preliminary weights and variable assignments generated for a (N ⁇ 1)st column of the N columns.
- the corresponding subset of the N columns associated with the first iterative pass of the N iterative passes includes all columns of the N columns in a range between a second column of the N columns and the (N ⁇ 1)st column of the N columns.
- the first iterative pass of the N iterative passes generates the preliminary weights and variable assignments for a first column of the N columns, based on based on null weights corresponding to a null column.
- the last iterative pass of the N iterative passes generates the final weights and variable assignments for a first column of the N columns, based on the final weights and variable assignments for a second column of the N columns and each of the N iterative passes generates the final weights and variable assignments for a corresponding one of the N columns.
- a pth iterative pass of the N iterative passes generates the final weights and variable assignments for an (N ⁇ p+1)st column of the N columns, based on the preliminary weights and variable assignments generated for a (N ⁇ p)th column of the N columns.
- the corresponding subset of the N columns associated with the pth iterative pass of the N iterative passes can include all columns of the N columns in a range between a second column of the N columns and the (N ⁇ p)th column of the N columns.
- the grid topology can correspond to a quadratic unconstrained binary optimization (QUBO) model.
- the sample can correspond to a Boltzmann distribution.
- the classical processor 120 is configured by the operational instructions stored in the classical memory 122 to perform operations that include producing final weights and variable assignments for the N columns based on N iterative passes through the grid topology.
- Each of the N iterative passes generates preliminary weights and variable assignments for a number of columns of the N columns based on preliminary weights and variable assignments generated for an adjacent column for each of the number of columns.
- the final weights and variable assignments are generated for a final column of the N columns for each of the N iterative passes based on the preliminary weights and variable assignments generated for a column of the N columns adjacent to the final column of the of the N columns.
- the final column changes for each pass.
- the final column being the Nth column in the first pass
- the final column being the N-1 st column in the second pass
- the final column being the (N ⁇ p+1) st column in the pth pass.
- the final weights and variable assignments for the final column of the N columns are used in a next successive pass of the N iterative passes to reduce the number of columns of the N columns where the preliminary weights and variable assignments are regenerated until the N iterative passes are complete and final weights and variable assignments for each of the N columns have been generated.
- the sampling of the quantum computer having the plurality of qubits is emulated by a sample based on the final weights and variable assignments for each of the N columns.
- the processor producing the preliminary weights and variable assignments for the N columns based on the N iterative passes includes:
- the first pass of the N iterative passes through the grid topology includes generating the preliminary weights and variable assignments for the first column of the N columns based on null weights and/or variable assignment corresponding to a null column—in effect, a dummy or phantom column that is placed adjacent to the first column of the grid.
- FIG. 3 is a schematic block diagram 300 of an embodiment of a quantum computing architecture in accordance with the present invention.
- the grid topology corresponds to a Chimera graph (C n ) with 9 interconnected unit cells each having 8 interconnected individual qubits numbered 0-72, having corresponding variables x 0 , x 1 , . . . x 71 . While there is a dependency between some variables (e.g. x 0 and x 4 ) based on these interconnections, there is no dependency between other variables (e.g. x 0 and x 1 ).
- this grid topology presents a QUBO problem that contains a limited subset of all possible variables combinations pairs x i and x j , and the dependency between x i and x j can be modelled on a grid-based layout, then the QUBO problem can be solved via classical computation.
- the classical processor 120 can operate based on the pseudocode below:
- a marginal distribution on the last column in each pass can be the computed based on a dynamic programming on the tree decomposition.
- w′ 1 ( w 0 +e ⁇ c w 1 ) e ⁇ b .
- FIGS. 4A, 4B and 4C represent an embodiment of a flow diagrams 400 , 425 and 450 of a multi-pass sampling in accordance with the present invention.
- the first pass proceeds from column 1 to 3 as shown in FIG. 4A .
- the results for the 3rd column are used in the second pass which only requires a pass from column 1 to 2 as shown in FIG. 4B .
- the third pass finalizes column 1 as shown in FIG. 4C . After 3 passes, the sample is obtained for the entire graph.
- the classical processor 120 can perform operations including:
- FIGS. 5A and 5B represent an embodiment of flow diagrams 500 and 525 of a dual-pass sampling in accordance with the present invention.
- the first pass proceeds from column 1 to 3 as shown in FIG. 5A .
- the results for the 3rd column are used in the second pass which proceeds in the reverse direction back to columns 2 and 1 as shown in FIG. 5B .
- the sample is obtained for the entire graph. While described above as drawing only a single sample, the multi-sampling techniques described above can further be modified in this used to draw k samples in 2 passes.
- FIG. 6 is a flow diagram 600 of an embodiment of a method in accordance with the present invention.
- Step 602 includes performing a first iterative pass through the grid topology to produce final weights and variable assignments for the Nth column of the N columns, by generating preliminary weights and variable assignments for N ⁇ 1 columns of the N columns based on preliminary weights and variable assignments generated for an adjacent column for each of the N ⁇ 1 columns, wherein final weights and variable assignments are generated for the Nth column based on the preliminary weights and variable assignments generated for an (N ⁇ 1)st column of the N columns adjacent to the Nth column,
- Step 606 includes performing an pth pass through the grid topology, to produce final weights and variable assignments for the (N ⁇ p+1)st column of the N columns, by regenerating preliminary weights and variable assignments for N ⁇ p columns of the N columns based on preliminary weights and variable assignments regenerated for an adjacent column for each of the N ⁇ p columns, wherein final weights and variable assignments are generated for the (N ⁇ p+1)st column based on the preliminary weights and variable assignments regenerated for an (N ⁇ p)th column of the N columns adjacent to the (N ⁇ p+1)st column and the final weights and variable assignments generated for the (N ⁇ p+2)nd column.
- Step 608 includes incrementing p.
- FIG. 7 is a flow diagram 700 of an embodiment of a method in accordance with the present invention.
- Step 702 includes performing a first iterative pass through the grid topology to produce final weights and variable assignments for the Nth column of the N columns, by generating preliminary weights and variable assignments for N ⁇ 1 columns of the N columns based on preliminary weights and variable assignments generated for an adjacent column for each of the N ⁇ 1 columns, wherein final weights and variable assignments are generated for the Nth column based on the preliminary weights and variable assignments generated for an (N ⁇ 1)st column of the N columns adjacent to the Nth column,
- Step 706 includes performing an nth pass through the grid topology, to produce final weights and variable assignments for the (N ⁇ p+1)st column of the N columns, by regenerating preliminary weights and variable assignments for N ⁇ p columns of the N columns based on preliminary weights and variable assignments regenerated for an adjacent column for each of the N ⁇ p columns, wherein final weights and variable assignments are generated for the (N ⁇ p+1)st column based on the preliminary weights and variable assignments regenerated for an (N ⁇ p)th column of the N columns adjacent to the (N ⁇ p+1)st column and the final weights and variable assignments generated for the (N ⁇ p+2)nd column.
- Step 708 includes incrementing p.
- the first iterative pass of the N iterative passes through the grid topology includes generating the preliminary weights and variable assignments for the first column of the N columns based on null weights corresponding to a null column adjacent to the first column of the N columns.
- the grid topology can correspond to a quadratic unconstrained binary optimization model.
- the sample can correspond to a Boltzmann distribution.
- FIG. 8 is a flow diagram 800 of an embodiment of a method in accordance with the present invention.
- Step 802 includes performing a first pass through the grid topology, wherein the first pass includes iteratively generating preliminary weights and variable assignments for N ⁇ 1 columns of the N columns based on preliminary weights generated for a preceding adjacent column for each of the N ⁇ 1 columns in a first order from the first column in the N columns to a (N ⁇ 1)st column of the N columns, wherein final weights are generated for the Nth column based on the preliminary weights generated for the (N ⁇ 1)st column of the N columns.
- Step 804 includes performing a second pass through the grid topology by producing final weights and variable assignments for the remaining N ⁇ 1 columns of the N columns, wherein the second pass includes iteratively generating final weights and variable assignments for N ⁇ 1 columns of the N columns based on final weights generated for a preceding adjacent column for each of the N ⁇ 1 columns in a second order from the (N ⁇ 1)st column of the N columns to the first column of the N columns, wherein the sampling of the quantum computer having the plurality of qubits is emulated by a sample based on the final weights and variable assignments for each of the N columns.
- the terms “substantially” and “approximately” provides an industry-accepted tolerance for its corresponding term and/or relativity between items.
- an industry-accepted tolerance is less than one percent and, for other industries, the industry-accepted tolerance is 10 percent or more.
- Other examples of industry-accepted tolerance range from less than one percent to fifty percent.
- Industry-accepted tolerances correspond to, but are not limited to, component values, integrated circuit process variations, temperature variations, rise and fall times, thermal noise, dimensions, signaling errors, dropped packets, temperatures, pressures, material compositions, and/or performance metrics.
- tolerance variances of accepted tolerances may be more or less than a percentage level (e.g., dimension tolerance of less than +/ ⁇ 1%). Some relativity between items may range from a difference of less than a percentage level to a few percent. Other relativity between items may range from a difference of a few percent to magnitude of differences.
- the term(s) “configured to”, “operably coupled to”, “coupled to”, and/or “coupling” includes direct coupling between items and/or indirect coupling between items via an intervening item (e.g., an item includes, but is not limited to, a component, an element, a circuit, and/or a module) where, for an example of indirect coupling, the intervening item does not modify the information of a signal but may adjust its current level, voltage level, and/or power level.
- inferred coupling i.e., where one element is coupled to another element by inference
- the term “configured to”, “operable to”, “coupled to”, or “operably coupled to” indicates that an item includes one or more of power connections, input(s), output(s), etc., to perform, when activated, one or more its corresponding functions and may further include inferred coupling to one or more other items.
- the term “associated with”, includes direct and/or indirect coupling of separate items and/or one item being embedded within another item.
- the term “compares favorably”, indicates that a comparison between two or more items, signals, etc., provides a desired relationship. For example, when the desired relationship is that signal 1 has a greater magnitude than signal 2, a favorable comparison may be achieved when the magnitude of signal 1 is greater than that of signal 2 or when the magnitude of signal 2 is less than that of signal 1.
- the term “compares unfavorably”, indicates that a comparison between two or more items, signals, etc., fails to provide the desired relationship.
- one or more claims may include, in a specific form of this generic form, the phrase “at least one of a, b, and c” or of this generic form “at least one of a, b, or c”, with more or less elements than “a”, “b”, and “c”.
- the phrases are to be interpreted identically.
- “at least one of a, b, and c” is equivalent to “at least one of a, b, or c” and shall mean a, b, and/or c.
- it means: “a” only, “b” only, “c” only, “a” and “b”, “a” and “c”, “b” and “c”, and/or “a”, “b”, and “c”.
- a flow diagram may include a “start” and/or “continue” indication.
- the “start” and “continue” indications reflect that the steps presented can optionally be incorporated in or otherwise used in conjunction with one or more other routines.
- a flow diagram may include an “end” and/or “continue” indication.
- the “end” and/or “continue” indications reflect that the steps presented can end as described and shown or optionally be incorporated in or otherwise used in conjunction with one or more other routines.
- start indicates the beginning of the first step presented and may be preceded by other activities not specifically shown.
- the “continue” indication reflects that the steps presented may be performed multiple times and/or may be succeeded by other activities not specifically shown.
- a flow diagram indicates a particular ordering of steps, other orderings are likewise possible provided that the principles of causality are maintained.
- the one or more embodiments are used herein to illustrate one or more aspects, one or more features, one or more concepts, and/or one or more examples.
- a physical embodiment of an apparatus, an article of manufacture, a machine, and/or of a process may include one or more of the aspects, features, concepts, examples, etc. described with reference to one or more of the embodiments discussed herein.
- the embodiments may incorporate the same or similarly named functions, steps, modules, etc. that may use the same or different reference numbers and, as such, the functions, steps, modules, etc. may be the same or similar functions, steps, modules, etc. or different ones.
- signals to, from, and/or between elements in a figure of any of the figures presented herein may be analog or digital, continuous time or discrete time, and single-ended or differential.
- signals to, from, and/or between elements in a figure of any of the figures presented herein may be analog or digital, continuous time or discrete time, and single-ended or differential.
- a signal path is shown as a single-ended path, it also represents a differential signal path.
- a signal path is shown as a differential path, it also represents a single-ended signal path.
- module is used in the description of one or more of the embodiments.
- a module implements one or more functions via a device such as a processor or other processing device or other hardware that may include or operate in association with a memory that stores operational instructions.
- a module may operate independently and/or in conjunction with software and/or firmware.
- a module may contain one or more sub-modules, each of which may be one or more modules.
- a computer readable memory includes one or more memory elements.
- a memory element may be a separate memory device, multiple memory devices, or a set of memory locations within a memory device.
- Such a memory device may be a read-only memory, random access memory, volatile memory, non-volatile memory, static memory, dynamic memory, flash memory, cache memory, and/or any device that stores digital information.
- the memory device may be in a form a solid-state memory, a hard drive memory, cloud memory, thumb drive, server memory, computing device memory, and/or other physical medium for storing digital information.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Computational Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- Operations Research (AREA)
- Databases & Information Systems (AREA)
- Computational Linguistics (AREA)
- Algebra (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Optical Modulation, Optical Deflection, Nonlinear Optics, Optical Demodulation, Optical Logic Elements (AREA)
- Complex Calculations (AREA)
Abstract
Sampling of a plurality of qubits arranged in a grid topology with N columns is emulated by: producing final weights and variable assignments for the N columns based on N iterative passes through the grid topology, wherein the final weights and variable assignments for a selected column of the N columns is based on preliminary weights and variable assignments generated for a column adjacent to the selected column of the N columns; and emulating a sample the plurality of qubits based on the final weights and variable assignments for each of the N columns.
Description
- The present U.S. Utility Patent Application claims priority pursuant to 35 U.S.C. § 120 as a continuation of U.S. Utility application Ser. No. 17/147,161, entitled “MULTI-SAMPLE SYSTEM FOR EMULATING A QUANTUM COMPUTER AND METHODS FOR USE THEREWITH”, filed Jan. 12, 2021, which is a continuation of U.S. Utility application Ser. No. 16/835,914, entitled “MULTI-PASS SYSTEM FOR EMULATING A QUANTUM COMPUTER AND METHODS FOR USE THEREWITH”, filed Mar. 31, 2020, issued as U.S. Pat. No. 10,922,618 on Feb. 16, 2021, which claims priority pursuant to 35 U.S.C. § 119(e) to U.S. Provisional Application No. 62/864,765, entitled “MULTI-PASS SYSTEM FOR EMULATING A QUANTUM COMPUTER AND METHODS FOR USE THEREWITH”, filed Jun. 21, 2019, U.S. Provisional Application No. 62/864,778, entitled “MULTI-SAMPLE SYSTEM FOR EMULATING A QUANTUM COMPUTER AND METHODS FOR USE THEREWITH”, filed Jun. 21, 2019, and U.S. Provisional Application No. 62/949,764, entitled “DUAL-PASS SYSTEM FOR EMULATING A QUANTUM COMPUTER AND METHODS FOR USE THEREWITH”, filed Dec. 18, 2019, all of which are hereby incorporated herein by reference in their entirety and made part of the present U.S. Utility Patent Application for all purposes.
- This invention relates generally to computer systems and also to quantum computing.
- Computing devices are known to communicate data, process data, and/or store data. Such computing devices range from wireless smart phones, laptops, tablets, personal computers (PC), work stations, smart watches, connected cars, and video game devices, to web servers and data centers that support millions of web searches, web applications, or on-line purchases every day. In general, a computing device includes a processor, a memory system, user input/output interfaces, peripheral device interfaces, and an interconnecting bus structure.
- Classical digital computing devices operate based on data encoded into binary digits (bits), each of which has one of the two definite binary states (i.e., 0 or 1). In contrast, a quantum computer utilizes quantum-mechanical phenomena to encode data as quantum bits or qubits, which can be in superpositions of the traditional binary states.
-
FIG. 1 is a schematic block diagram of an embodiment of a quantum computing emulator in accordance with the present invention; -
FIG. 2 is a schematic block diagram of an embodiment of a quantum computing architecture in accordance with the present invention; -
FIG. 3 is a schematic block diagram of an embodiment of a quantum computing architecture in accordance with the present invention; -
FIGS. 4A, 4B and 4C represent an embodiment of a flow of a multi-pass sampling in accordance with the present invention; -
FIGS. 5A and 5B represent an embodiment of a flow of a dual-pass sampling in accordance with the present invention; -
FIG. 6 is a flow diagram of an embodiment of a method in accordance with the present invention; -
FIG. 7 is a flow diagram of an embodiment of a method in accordance with the present invention. -
FIG. 8 is a flow diagram of an embodiment of a method in accordance with the present invention. -
FIG. 1 is a schematic block diagram of an embodiment of a quantum computing emulator in accordance with the present invention. Thequantum computing emulator 102 includes aclassical processor 120 and aclassical memory 122 that stores agrid topology model 124. - The
classical processor 120 includes a processing module and/or one or more other processing devices that operate via classical, rather than quantum computing. Each such processing device may be a microprocessor, micro-controller, digital signal processor, microcomputer, central processing unit, field programmable gate array, programmable logic device, state machine, logic circuitry, analog circuitry, digital circuitry, and/or any device that manipulates signals (analog and/or digital) based on hard coding of the circuitry and/or operational instructions. Theclassical processor 120 operates in conjunction with an attached memory and/or an integrated memory element such asclassical memory 122 or other memory device, which may be a single memory device, a plurality of memory devices, and/or embedded circuitry of another processing module, module, processing circuit, processing circuitry, and/or processing unit. Such a memory device may be a read-only memory, random access memory, volatile memory, non-volatile memory, static memory, dynamic memory, flash memory, cache memory, and/or any device that stores digital information. - Note that if the
classical processor 120 includes more than one processing device, the processing devices may be centrally located (e.g., directly coupled together via a wired and/or wireless bus structure) or may be distributedly located (e.g., cloud computing via indirect coupling via a local area network and/or a wide area network). Further note that if theclassical processor 120 implements one or more of its functions via a state machine, analog circuitry, digital circuitry, and/or logic circuitry, the memory and/or memory element storing the corresponding operational instructions may be embedded within, or external to, the circuitry comprising the state machine, analog circuitry, digital circuitry, and/or logic circuitry. Still further note that, theclassical memory 122 stores, and theclassical processor 120 executes, hard coded and/or other operational instructions corresponding to at least some of the steps and/or functions illustrated in one or more of the Figures. Such a memory device or memory element can be tangible memory device or other non-transitory storage medium included in or implemented as an article of manufacture. - The Quadratic Unconstrained Binary Optimization (QUBO) model is a unifying mathematical framework for an important class of optimization problems. The problems involve finding the global minimum of the scalar y=xTQx where x is a vector of binary variables and Q is a square matrix of coefficients. The matrix Q, in its upper triangular form, can be defined as follows:
- Q[i, i], contains cii coefficient from ciixixi
- Q[i, j], for i<j, contains cij coefficient from cijxixj
- Q[j, i], for i>j, contains 0
- If a given QUBO problem contains a limited subset of all possible variable combination pairs xi and xj and the dependency between xi and xj can be modelled on a grid-based layout, then the QUBO problem can be solved via classical computation as described herein.
- The sampling via
quantum computer emulator 102 improves the technology of computing by providing the advantages of quantum algorithmic speed for QUBO problems and/or other problems that meet the criteria outlined herein, without the need for expensive and highly complex quantum computing hardware. In this fashion, highly complex problems such as path finding, weather forecasting, artificial intelligence, financial modeling, cryptography, molecular modeling, pattern recognition, particle physics, simulation, multi-dimensional optimization, and other computationally intensive applications can be solved without the need of such special purpose quantum computing computing hardware. While described above in terms of quantum computing emulation, the techniques described herein can be applied to more generalized Boltzmann sampling of a QUBO having a grid topology and/or to other QUBO problems that meet the criteria outlined above. -
FIG. 2 is a schematic block diagram 200 of an embodiment of a quantum computing architecture in accordance with the present invention. In the example shown, the grid topology includes a N×N grid of nine cells (N=3) having three columns and three rows. In various embodiments, thegrid topology model 124 can correspond to an interconnected grid-based architecture of a quantum computer to be emulated by thequantum computing emulator 102, where each cell in the grid contains a plurality of qubits that are interconnected within the cell and where some qubits are interconnected with another grid elements. It should be noted that, while the terms “columns” and “rows” generally pertain, respectively, to vertical and horizontal one-dimensional arrays of cells of a two-dimensional grid, as used herein, the term “columns” refer to either vertical or horizontal one-dimensional arrays of cells of a two-dimensional grid, particularly because the actual orientation of the cells is arbitrary in the context of computation. Furthermore, while a square grid topology is shown, other non-square rectangles and other grid shapes can likewise be employed. - In various embodiments, the
grid topology model 124 can represent a graph of qubits as a tree/subtree structure composed of a family of subtrees. Consider a specific tree decomposition (X,T) of a graph satisfying the following properties: -
|X|=N:=8n 2 , X={X 1 , . . . , X N}, -
T is a list, T 32 {(X 1 ,X 2), . . . (X N−1 ,X N)}, -
|Xj|≤W:=4n+2, j=1, . . . , N. - Alex Selby has proposed a single-pass dynamic programming solution to sampling in “Efficient subgraph-based sampling of Ising-type models with frustration”. This approach, however, produces only approximate samples of the Boltzmann distribution and requires data structures that are large enough to store preliminary results for all qubits of the grid.
- In contrast, the
classical processor 120 performs operational instructions that implement a multi-pass dynamic programming, guided by the family of subtrees, in order to compute multiple properties of a given QUBO instance on the graph in O(N2W) time. Theclassical processor 120 can determine the assignment of all variables (both for the minimum state and for a single Boltzmann sample) by performing N properly tailored dynamic-programming passes, giving a total complexity of O(nN2W) per sample. More precisely, theclassical processor 120 can compute any or all of the following: -
- the minimum attainable energy and associated assignments of variables in XN,
- the total Boltzmann weight of all states,
- the total Boltzmann weight of the minimum energy states,
- the Boltzmann distribution of all assignments of the variables in XN,
- the assignment of variables in XN of a single Boltzmann sample.
- In particular, the
quantum computing emulator 102 provides a system for emulating the sampling of a quantum computer having a plurality of qubits arranged in a grid topology with N columns. In various embodiments, theclassical processor 120 is configured by the operational instructions stored in theclassical memory 122 to perform operations that include producing final weights and variable assignments for the N columns based on N iterative passes through the grid topology, wherein each of the N iterative passes generates preliminary weights and variable assignments for a corresponding subset of the N columns, and wherein the preliminary weights and variable assignments for a selected column of the corresponding subset of the N columns based on the preliminary weights and variable assignments generated for a column adjacent to the selected column of the corresponding subset of the N columns and wherein the sampling of the quantum computer having the plurality of qubits is emulated by a sample based on the final weights and variable assignments for each of the N columns. - In various embodiments, a first iterative pass of the N iterative passes generates the final weights and variable assignments for an Nth column of the N columns, based on the preliminary weights and variable assignments generated for a (N−1)st column of the N columns. For example, the corresponding subset of the N columns associated with the first iterative pass of the N iterative passes includes all columns of the N columns in a range between a second column of the N columns and the (N−1)st column of the N columns. The first iterative pass of the N iterative passes generates the preliminary weights and variable assignments for a first column of the N columns, based on based on null weights corresponding to a null column. The last iterative pass of the N iterative passes generates the final weights and variable assignments for a first column of the N columns, based on the final weights and variable assignments for a second column of the N columns and each of the N iterative passes generates the final weights and variable assignments for a corresponding one of the N columns.
- In various embodiments, a pth iterative pass of the N iterative passes generates the final weights and variable assignments for an (N−p+1)st column of the N columns, based on the preliminary weights and variable assignments generated for a (N−p)th column of the N columns. The corresponding subset of the N columns associated with the pth iterative pass of the N iterative passes can include all columns of the N columns in a range between a second column of the N columns and the (N−p)th column of the N columns. The grid topology can correspond to a quadratic unconstrained binary optimization (QUBO) model. The sample can correspond to a Boltzmann distribution.
- Consider a further example. The
classical processor 120 is configured by the operational instructions stored in theclassical memory 122 to perform operations that include producing final weights and variable assignments for the N columns based on N iterative passes through the grid topology. Each of the N iterative passes generates preliminary weights and variable assignments for a number of columns of the N columns based on preliminary weights and variable assignments generated for an adjacent column for each of the number of columns. The final weights and variable assignments are generated for a final column of the N columns for each of the N iterative passes based on the preliminary weights and variable assignments generated for a column of the N columns adjacent to the final column of the of the N columns. The final column changes for each pass. Withe the final column being the Nth column in the first pass, the final column being the N-1st column in the second pass, and more generally, the final column being the (N−p+1)st column in the pth pass. The final weights and variable assignments for the final column of the N columns are used in a next successive pass of the N iterative passes to reduce the number of columns of the N columns where the preliminary weights and variable assignments are regenerated until the N iterative passes are complete and final weights and variable assignments for each of the N columns have been generated. The sampling of the quantum computer having the plurality of qubits is emulated by a sample based on the final weights and variable assignments for each of the N columns. - In various embodiments, the processor producing the preliminary weights and variable assignments for the N columns based on the N iterative passes includes:
-
- (1) performing a first pass of the N iterative passes through the grid topology wherein the Nth column of the N columns corresponds to the final column, and wherein the number of columns of the N columns where preliminary weights and variable assignments are generated is equal to N−1; and
- (2) performing N−1 other passes of the N iterative passes through the grid topology by:
- (a) setting p=2;
- (b) performing an pth pass through the grid topology, wherein the (N−p+1)th column of the N columns corresponds to the final column, and wherein the number of columns of the N columns where preliminary weights and variable assignments are regenerated is equal to (N−p);
- (c) incrementing n; and
- (d) repeating steps (b) and (c) until p=N.
- In various embodiments, the first pass of the N iterative passes through the grid topology includes generating the preliminary weights and variable assignments for the first column of the N columns based on null weights and/or variable assignment corresponding to a null column—in effect, a dummy or phantom column that is placed adjacent to the first column of the grid.
-
FIG. 3 is a schematic block diagram 300 of an embodiment of a quantum computing architecture in accordance with the present invention. Like the quantum computing architecture ofFIG. 2 , the grid topology includes a N×N grid of nine cells (N=3) having three columns and three rows. In the example shown, the grid topology corresponds to a Chimera graph (Cn) with 9 interconnected unit cells each having 8 interconnected individual qubits numbered 0-72, having corresponding variables x0, x1, . . . x71. While there is a dependency between some variables (e.g. x0 and x4) based on these interconnections, there is no dependency between other variables (e.g. x0 and x1). Because this grid topology presents a QUBO problem that contains a limited subset of all possible variables combinations pairs xi and xj, and the dependency between xi and xj can be modelled on a grid-based layout, then the QUBO problem can be solved via classical computation. - In various embodiments, the
classical processor 120 can operate based on the pseudocode below: -
def calculate_sampling( grid[ Rows ][ Columns ] ): ( last_column_variables_assigments[ ], weights and variable assignments[ ] ) = calculate_last_column_solution( grid[ Rows ][ Columns ] ) ( last_column_variable_assignment, weight ) = select_one_sample_with_boltzman_distribution( last_column_variables_assigments[ ], weights and variable assignments[ ] ) for variable_assignment in last_column_variable_assignment: if variable_assignment = 0: ignore elif variable_assignment = 1: grid[ Rows ][ Columns - 1 ].xi_coeff += grid[ Rows ][ Columns ].xi_xj_coeff return calculate_sampling( qubo[ Rows ][ Columns - 1 ] ) last_column_variable_assignment) + last_column_variable_assignment - A marginal distribution on the last column in each pass can be the computed based on a dynamic programming on the tree decomposition. Consider a specific tree decomposition of a generalized chimera graph Cn:
-
- The set of N columns X={X1, X2, . . . , XN} each consisting of size at most 4n+1 (Nn),
- the underlying decomposition is a path P={(X1,X2), (X2,X3), . . . , (XN−1,XN)}.
Using the dynamic programming approach described above, thequantum computing emulator 102 operates to: - determine a ground energy value along with a corresponding subgraph that minimizes the energy,
- determine total weight associated with Boltzmann (Gibbs) distribution,
- draw a single sample according to the Boltzmann distribution.
- In various embodiments, the
classical processor 120 proceeds by computing weights (marginal distribution) of bits (qubits) for each column in the subgraph consisting of columns to the left of it. This is done by starting with 0 (for a phantom empty (null) column to the left of the first one), then transferring the weights from column Xk to Xk+1 by applying the following equations for each edge e=uv where u ∈ Xk and v ∈ Xk+1: -
- 1. let w0 and w1 be the weights corresponding to some assignment of bits on the boundary of column such that, they differ only by the value assigned to u (this being 0 and 1 respectively), and let d be the energy of the edge uv and b be the energy of vertex v;
- 2. to compute the weights corresponding to the same assignment of bits, but now with v being the boundary vertex, consider the target weights w′0 and w′1 (likewise corresponding to assigning 0 and 1 respectively to v), then
-
w′ 0 =w 0 +w 1 -
w′ 1=(w 0 +e −βc w 1)e −βb. - Applying this to the 3×3 example, the
classical processor 120 can operate to sample the grid iteratively by proceeding column-by-column in N=3 passes. In particular,FIGS. 4A, 4B and 4C represent an embodiment of a flow diagrams 400, 425 and 450 of a multi-pass sampling in accordance with the present invention. The first pass proceeds fromcolumn 1 to 3 as shown inFIG. 4A . The results for the 3rd column are used in the second pass which only requires a pass fromcolumn 1 to 2 as shown inFIG. 4B . The third pass finalizescolumn 1 as shown inFIG. 4C . After 3 passes, the sample is obtained for the entire graph. - While described above in terms of drawing a single sample from the Boltzmann distribution, the techniques described above can be modified to efficiently draw multiple samples from the Boltzmann distribution. Assuming a draw of k samples, the naive approach of sequentially performing the techniques above gives a complexity of O(knN2W). The method outlined below allows drawing k samples in O(N(k+N2W)). When the term Nk is negligible, the new approach is clearly superior when dealing with significantly more that O(n) samples.
- To reach the desired complexity it suffices to show that for any j between 1 and N+1, k partial samples s1, . . . , sk on Xj+1 can be “pulled back” to k partial samples t1, . . . , tk on Xj in O(k+N2W) time. This can be obtained by performing the construction of Boltzmann weights on the assignments of variables in Xj−1 as described above and extending the computation of the weights on assignments of variables in Xj by the following procedure:
-
- 1. Initially, for each sample sl choose a random number al uniformly between 0 (exclusive) and the weight of the assignment of sl in Xj+1 (inclusive), l=1, . . . , k.
- 2. During the computation of assignment weights and variable assignments, whenever we are about to increase the weight of an assignment s in Xj+1 by (suitable adjusted) weight w of an assignment t in Xj, we decrement all al for which sl corresponds to s by w. Whenever this results in an sl going from positive to non-positive, we put tl:=t.
As each assignment on Xj+1 is updated at most twice, the additional steps in 2 above occur at most twice for each sample, hence the complexity desired. This provides that advantage that multiple samples generated with only a fixed increase in computation. Greater efficiency is obtained when the number of extra samples is large.
- The techniques described above can be modified in other ways as well. Instead of proceeding through
columns 1 to N, then 1 to N−1, etc. in N iterative passes, as long as d≠0, all operations performed are invertible, thus after sampling the last column in the first pass, w* can be recovered from w′* and used (together with the bits of last column) to sample the second to last column, and so on in reverse order. This allows a sample to be drawn via only 2 passes. This changes the complexity of sampling to O(N n 24n). - In operation, the
classical processor 120 can perform operations including: -
- (a) performing a first pass through the grid topology, wherein the first pass includes iteratively generating preliminary weights and variable assignments for N−1 columns of the N columns based on preliminary weights generated for a preceding adjacent column for each of the N−1 columns in a first order from the first column in the N columns to a (N−1)st column of the N columns, wherein final weights are generated for the Nth column based on the preliminary weights generated for a (N−1)st column of the N columns; and
- (b) performing a second pass through the grid topology by producing final weights and variable assignments for the remaining N−1 columns of the N columns, wherein the second pass includes iteratively generating final weights and variable assignments for N−1 columns of the N columns based on final weights generated for a preceding adjacent column for each of the N−1 columns in a second order from the (N−1)st column of the N columns to the first column of the N columns.
As before, the sampling of the quantum computer is emulated by a sample based on the final weights and variable assignments for each of the N columns.
-
FIGS. 5A and 5B represent an embodiment of flow diagrams 500 and 525 of a dual-pass sampling in accordance with the present invention. The first pass proceeds fromcolumn 1 to 3 as shown inFIG. 5A . The results for the 3rd column are used in the second pass which proceeds in the reverse direction back tocolumns FIG. 5B . After 2 passes, the sample is obtained for the entire graph. While described above as drawing only a single sample, the multi-sampling techniques described above can further be modified in this used to draw k samples in 2 passes. - The techniques described above can be modified in other ways. Consider a case where a problem is detected with the graph indicating a low probability of solution via dynamic programming utilizing the particular subtree structures previously described. In this case, the processing switch to dynamic programming via a second structure which uses the leaves of the tree, rather than the subtree structure. When the problem is cleared, the processing can switch back to dynamic programming using the subtree structure previously described. This allows one or more samples to be drawn from graphs that may otherwise be blocked by problems with the particular graph structure.
-
FIG. 6 is a flow diagram 600 of an embodiment of a method in accordance with the present invention. In particular, a method is presented for use with one or more functions and features described in conjunction withFIGS. 1-5 . Step 602 includes performing a first iterative pass through the grid topology to produce final weights and variable assignments for the Nth column of the N columns, by generating preliminary weights and variable assignments for N−1 columns of the N columns based on preliminary weights and variable assignments generated for an adjacent column for each of the N−1 columns, wherein final weights and variable assignments are generated for the Nth column based on the preliminary weights and variable assignments generated for an (N−1)st column of the N columns adjacent to the Nth column,Step 604 includes setting p=2. Step 606 includes performing an pth pass through the grid topology, to produce final weights and variable assignments for the (N−p+1)st column of the N columns, by regenerating preliminary weights and variable assignments for N−p columns of the N columns based on preliminary weights and variable assignments regenerated for an adjacent column for each of the N−p columns, wherein final weights and variable assignments are generated for the (N−p+1)st column based on the preliminary weights and variable assignments regenerated for an (N−p)th column of the N columns adjacent to the (N−p+1)st column and the final weights and variable assignments generated for the (N−p+2)nd column. Step 608 includes incrementing p. - In
step 610, the method determines if p=N−1. If no, the method returns to step 606. If yes, the method proceeds to step 612 of performing a final pass through the grid topology, to produce final weights and variable assignments for the first column of the N columns, based on the final weights and variable assignments generated for the second column, wherein the sampling of the quantum computer having the plurality of qubits is emulated by a sample based on the final weights and variable assignments for each of the N columns. -
FIG. 7 is a flow diagram 700 of an embodiment of a method in accordance with the present invention. In particular, a method is presented for use with one or more functions and features described in conjunction withFIGS. 1-6 . Step 702 includes performing a first iterative pass through the grid topology to produce final weights and variable assignments for the Nth column of the N columns, by generating preliminary weights and variable assignments for N−1 columns of the N columns based on preliminary weights and variable assignments generated for an adjacent column for each of the N−1 columns, wherein final weights and variable assignments are generated for the Nth column based on the preliminary weights and variable assignments generated for an (N−1)st column of the N columns adjacent to the Nth column,Step 704 includes setting p=2. Step 706 includes performing an nth pass through the grid topology, to produce final weights and variable assignments for the (N−p+1)st column of the N columns, by regenerating preliminary weights and variable assignments for N−p columns of the N columns based on preliminary weights and variable assignments regenerated for an adjacent column for each of the N−p columns, wherein final weights and variable assignments are generated for the (N−p+1)st column based on the preliminary weights and variable assignments regenerated for an (N−p)th column of the N columns adjacent to the (N−p+1)st column and the final weights and variable assignments generated for the (N−p+2)nd column. Step 708 includes incrementing p. - In
step 710, the method determines if p=N−1. If no, the method returns to step 706. If yes, the method proceeds to step 712 of performing a final pass through the grid topology, to produce final weights and variable assignments for the first column of the N columns, based on the final weights and variable assignments generated for the second column, wherein the sampling of the quantum computer having the plurality of qubits is emulated by producing a plurality of samples from the N iterative passes based on the final weights and variable assignments for each of the N columns. - In various embodiments, the first iterative pass of the N iterative passes through the grid topology includes generating the preliminary weights and variable assignments for the first column of the N columns based on null weights corresponding to a null column adjacent to the first column of the N columns. The grid topology can correspond to a quadratic unconstrained binary optimization model. The sample can correspond to a Boltzmann distribution.
-
FIG. 8 is a flow diagram 800 of an embodiment of a method in accordance with the present invention. In particular, a method is presented for use with one or more functions and features described in conjunction withFIGS. 1-7 . Step 802 includes performing a first pass through the grid topology, wherein the first pass includes iteratively generating preliminary weights and variable assignments for N−1 columns of the N columns based on preliminary weights generated for a preceding adjacent column for each of the N−1 columns in a first order from the first column in the N columns to a (N−1)st column of the N columns, wherein final weights are generated for the Nth column based on the preliminary weights generated for the (N−1)st column of the N columns. - Step 804 includes performing a second pass through the grid topology by producing final weights and variable assignments for the remaining N−1 columns of the N columns, wherein the second pass includes iteratively generating final weights and variable assignments for N−1 columns of the N columns based on final weights generated for a preceding adjacent column for each of the N−1 columns in a second order from the (N−1)st column of the N columns to the first column of the N columns, wherein the sampling of the quantum computer having the plurality of qubits is emulated by a sample based on the final weights and variable assignments for each of the N columns.
- It should be noted that, while the techniques above have been presented for emulating the sampling of a quantum computer having a two-dimensional grid topology, the techniques described herein can be extended to three dimensional grid topologies by producing results for a two-dimensional slice in a multi-pass approach that proceeds column-by-column as outlined above, and then proceeding in a multi-pass approach, slice-by-slice until final results are obtained for the three-dimensional grid.
- It is noted that terminologies as may be used herein such as bit stream, stream, signal sequence, etc. (or their equivalents) have been used interchangeably to describe digital information whose content corresponds to any of a number of desired types (e.g., data, video, speech, text, graphics, audio, etc. any of which may generally be referred to as ‘data’).
- As may be used herein, the terms “substantially” and “approximately” provides an industry-accepted tolerance for its corresponding term and/or relativity between items. For some industries, an industry-accepted tolerance is less than one percent and, for other industries, the industry-accepted tolerance is 10 percent or more. Other examples of industry-accepted tolerance range from less than one percent to fifty percent. Industry-accepted tolerances correspond to, but are not limited to, component values, integrated circuit process variations, temperature variations, rise and fall times, thermal noise, dimensions, signaling errors, dropped packets, temperatures, pressures, material compositions, and/or performance metrics. Within an industry, tolerance variances of accepted tolerances may be more or less than a percentage level (e.g., dimension tolerance of less than +/−1%). Some relativity between items may range from a difference of less than a percentage level to a few percent. Other relativity between items may range from a difference of a few percent to magnitude of differences.
- As may also be used herein, the term(s) “configured to”, “operably coupled to”, “coupled to”, and/or “coupling” includes direct coupling between items and/or indirect coupling between items via an intervening item (e.g., an item includes, but is not limited to, a component, an element, a circuit, and/or a module) where, for an example of indirect coupling, the intervening item does not modify the information of a signal but may adjust its current level, voltage level, and/or power level. As may further be used herein, inferred coupling (i.e., where one element is coupled to another element by inference) includes direct and indirect coupling between two items in the same manner as “coupled to”.
- As may even further be used herein, the term “configured to”, “operable to”, “coupled to”, or “operably coupled to” indicates that an item includes one or more of power connections, input(s), output(s), etc., to perform, when activated, one or more its corresponding functions and may further include inferred coupling to one or more other items. As may still further be used herein, the term “associated with”, includes direct and/or indirect coupling of separate items and/or one item being embedded within another item.
- As may be used herein, the term “compares favorably”, indicates that a comparison between two or more items, signals, etc., provides a desired relationship. For example, when the desired relationship is that
signal 1 has a greater magnitude thansignal 2, a favorable comparison may be achieved when the magnitude ofsignal 1 is greater than that ofsignal 2 or when the magnitude ofsignal 2 is less than that ofsignal 1. As may be used herein, the term “compares unfavorably”, indicates that a comparison between two or more items, signals, etc., fails to provide the desired relationship. - As may be used herein, one or more claims may include, in a specific form of this generic form, the phrase “at least one of a, b, and c” or of this generic form “at least one of a, b, or c”, with more or less elements than “a”, “b”, and “c”. In either phrasing, the phrases are to be interpreted identically. In particular, “at least one of a, b, and c” is equivalent to “at least one of a, b, or c” and shall mean a, b, and/or c. As an example, it means: “a” only, “b” only, “c” only, “a” and “b”, “a” and “c”, “b” and “c”, and/or “a”, “b”, and “c”.
- One or more embodiments have been described above with the aid of method steps illustrating the performance of specified functions and relationships thereof. The boundaries and sequence of these functional building blocks and method steps have been arbitrarily defined herein for convenience of description. Alternate boundaries and sequences can be defined so long as the specified functions and relationships are appropriately performed. Any such alternate boundaries or sequences are thus within the scope and spirit of the claims. Further, the boundaries of these functional building blocks have been arbitrarily defined for convenience of description. Alternate boundaries could be defined as long as the certain significant functions are appropriately performed. Similarly, flow diagram blocks may also have been arbitrarily defined herein to illustrate certain significant functionality.
- To the extent used, the flow diagram block boundaries and sequence could have been defined otherwise and still perform the certain significant functionality. Such alternate definitions of both functional building blocks and flow diagram blocks and sequences are thus within the scope and spirit of the claims. One of average skill in the art will also recognize that the functional building blocks, and other illustrative blocks, modules and components herein, can be implemented as illustrated or by discrete components, application specific integrated circuits, processors executing appropriate software and the like or any combination thereof.
- In addition, a flow diagram may include a “start” and/or “continue” indication. The “start” and “continue” indications reflect that the steps presented can optionally be incorporated in or otherwise used in conjunction with one or more other routines. In addition, a flow diagram may include an “end” and/or “continue” indication. The “end” and/or “continue” indications reflect that the steps presented can end as described and shown or optionally be incorporated in or otherwise used in conjunction with one or more other routines. In this context, “start” indicates the beginning of the first step presented and may be preceded by other activities not specifically shown. Further, the “continue” indication reflects that the steps presented may be performed multiple times and/or may be succeeded by other activities not specifically shown. Further, while a flow diagram indicates a particular ordering of steps, other orderings are likewise possible provided that the principles of causality are maintained.
- The one or more embodiments are used herein to illustrate one or more aspects, one or more features, one or more concepts, and/or one or more examples. A physical embodiment of an apparatus, an article of manufacture, a machine, and/or of a process may include one or more of the aspects, features, concepts, examples, etc. described with reference to one or more of the embodiments discussed herein. Further, from figure to figure, the embodiments may incorporate the same or similarly named functions, steps, modules, etc. that may use the same or different reference numbers and, as such, the functions, steps, modules, etc. may be the same or similar functions, steps, modules, etc. or different ones.
- Unless specifically stated to the contra, signals to, from, and/or between elements in a figure of any of the figures presented herein may be analog or digital, continuous time or discrete time, and single-ended or differential. For instance, if a signal path is shown as a single-ended path, it also represents a differential signal path. Similarly, if a signal path is shown as a differential path, it also represents a single-ended signal path. While one or more particular architectures are described herein, other architectures can likewise be implemented that use one or more data buses not expressly shown, direct connectivity between elements, and/or indirect coupling between other elements as recognized by one of average skill in the art.
- The term “module” is used in the description of one or more of the embodiments. A module implements one or more functions via a device such as a processor or other processing device or other hardware that may include or operate in association with a memory that stores operational instructions. A module may operate independently and/or in conjunction with software and/or firmware. As also used herein, a module may contain one or more sub-modules, each of which may be one or more modules.
- As may further be used herein, a computer readable memory includes one or more memory elements. A memory element may be a separate memory device, multiple memory devices, or a set of memory locations within a memory device. Such a memory device may be a read-only memory, random access memory, volatile memory, non-volatile memory, static memory, dynamic memory, flash memory, cache memory, and/or any device that stores digital information. The memory device may be in a form a solid-state memory, a hard drive memory, cloud memory, thumb drive, server memory, computing device memory, and/or other physical medium for storing digital information.
- While particular combinations of various functions and features of the one or more embodiments have been expressly described herein, other combinations of these features and functions are likewise possible. The present disclosure is not limited by the particular examples disclosed herein and expressly incorporates these other combinations.
Claims (20)
1. A system for emulating sampling of a plurality of qubits arranged in a grid topology with N columns, the system comprising:
a memory that stores operational instructions; and
at least one classical processor that is configured by the operational instructions to perform operations, the operations including:
producing final weights and variable assignments for the N columns based on N iterative passes through the grid topology, wherein the final weights and variable assignments for a selected column of the N columns is based on preliminary weights and variable assignments generated for a column adjacent to the selected column of the N columns;
wherein the sampling of the plurality of qubits is emulated by a sample based on the final weights and variable assignments for each of the N columns.
2. The system of claim 1 , wherein a first iterative pass of the N iterative passes generates the final weights and variable assignments for an Nth column of the N columns, based on the preliminary weights and variable assignments generated for a (N−1)st column of the N columns.
3. The system of claim 2 , wherein the first iterative pass of the N iterative passes generates preliminary weights and variable assignments for all columns of the N columns in a range between a second column of the N columns and the (N−1)st column of the N columns.
4. The system of claim 2 , wherein the first iterative pass of the N iterative passes generates preliminary weights and variable assignments for a first column of the N columns, based on based on null weights corresponding to a null column adjacent to the first column of the N columns.
5. The system of claim 2 , wherein the last iterative pass of the N iterative passes generates the final weights and variable assignments for a first column of the N columns, based on the final weights and variable assignments for a second column of the N columns.
6. The system of claim 1 , wherein each of the N iterative passes generates the final weights and variable assignments for a corresponding one of the N columns.
7. The system of claim 1 , wherein a pth iterative pass of the N iterative passes generates the final weights and variable assignments for an (N−p+1)st column of the N columns, based on the preliminary weights and variable assignments generated for a (N−p)th column of the N columns.
8. The system of claim 7 , wherein the pth iterative pass of the N iterative passes generates preliminary weights and variable assignments for all columns of the N columns in a range between a second column of the N columns and the (N−p)th column of the N columns.
9. The system of claim 1 , wherein the grid topology corresponds to a quadratic unconstrained binary optimization (QUBO) instance.
10. The system of claim 1 , wherein the sample corresponds to a Boltzmann distribution.
11. A method for emulating sampling of a plurality of qubits arranged in a grid topology with N columns, the method comprising:
producing final weights and variable assignments for the N columns based on N iterative passes through the grid topology, wherein the final weights and variable assignments for a selected column of the N columns is based on preliminary weights and variable assignments generated for a column adjacent to the selected column of the N columns; and
emulating a sample the plurality of qubits based on the final weights and variable assignments for each of the N columns.
12. The method of claim 11 , wherein a first iterative pass of the N iterative passes generates the final weights and variable assignments for an Nth column of the N columns, based on the preliminary weights and variable assignments generated for a (N−1)st column of the N columns.
13. The method of claim 12 , wherein the first iterative pass of the N iterative passes generates preliminary weights and variable assignments for all columns of the N columns in a range between a second column of the N columns and the (N−1)st column of the N columns.
14. The method of claim 12 , wherein the first iterative pass of the N iterative passes generates preliminary weights and variable assignments for a first column of the N columns, based on based on null weights corresponding to a null column adjacent to the first column of the N columns.
15. The method of claim 12 , wherein the last iterative pass of the N iterative passes generates the final weights and variable assignments for a first column of the N columns, based on the final weights and variable assignments for a second column of the N columns.
16. The method of claim 11 , wherein each of the N iterative passes generates the final weights and variable assignments for a corresponding one of the N columns.
17. The method of claim 11 , wherein a pth iterative pass of the N iterative passes generates the final weights and variable assignments for an (N−p+1)st column of the N columns, based on the preliminary weights and variable assignments generated for a (N−p)th column of the N columns.
18. The method of claim 17 , wherein the pth iterative pass of the N iterative passes generates preliminary weights and variable assignments for all columns of the N columns in a range between a second column of the N columns and the (N−p)th column of the N columns.
19. The method of claim 11 , wherein the grid topology corresponds to a quadratic unconstrained binary optimization (QUBO) instance.
20. The method of claim 11 , wherein the sample corresponds to a Boltzmann distribution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/393,676 US20210365828A1 (en) | 2019-06-21 | 2021-08-04 | Multi-pass system for emulating sampling of a plurality of qubits and methods for use therewith |
Applications Claiming Priority (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201962864778P | 2019-06-21 | 2019-06-21 | |
US201962864765P | 2019-06-21 | 2019-06-21 | |
US201962949764P | 2019-12-18 | 2019-12-18 | |
US16/835,914 US10922618B2 (en) | 2019-06-21 | 2020-03-31 | Multi-pass system for emulating a quantum computer and methods for use therewith |
US17/147,161 US11113623B2 (en) | 2019-06-21 | 2021-01-12 | Multi-sample system for emulating a quantum computer and methods for use therewith |
US17/393,676 US20210365828A1 (en) | 2019-06-21 | 2021-08-04 | Multi-pass system for emulating sampling of a plurality of qubits and methods for use therewith |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/147,161 Continuation US11113623B2 (en) | 2019-06-21 | 2021-01-12 | Multi-sample system for emulating a quantum computer and methods for use therewith |
Publications (1)
Publication Number | Publication Date |
---|---|
US20210365828A1 true US20210365828A1 (en) | 2021-11-25 |
Family
ID=74037810
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/835,914 Active US10922618B2 (en) | 2019-06-21 | 2020-03-31 | Multi-pass system for emulating a quantum computer and methods for use therewith |
US17/147,161 Active US11113623B2 (en) | 2019-06-21 | 2021-01-12 | Multi-sample system for emulating a quantum computer and methods for use therewith |
US17/393,676 Pending US20210365828A1 (en) | 2019-06-21 | 2021-08-04 | Multi-pass system for emulating sampling of a plurality of qubits and methods for use therewith |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/835,914 Active US10922618B2 (en) | 2019-06-21 | 2020-03-31 | Multi-pass system for emulating a quantum computer and methods for use therewith |
US17/147,161 Active US11113623B2 (en) | 2019-06-21 | 2021-01-12 | Multi-sample system for emulating a quantum computer and methods for use therewith |
Country Status (6)
Country | Link |
---|---|
US (3) | US10922618B2 (en) |
EP (1) | EP3987458A4 (en) |
JP (1) | JP7452885B2 (en) |
KR (1) | KR20220024456A (en) |
CA (1) | CA3140980A1 (en) |
WO (1) | WO2020256808A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114491859A (en) * | 2022-01-28 | 2022-05-13 | 苏州浪潮智能科技有限公司 | Automatic design method and device for superconducting quantum chip readout cavity and storage medium |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070239366A1 (en) | 2004-06-05 | 2007-10-11 | Hilton Jeremy P | Hybrid classical-quantum computer architecture for molecular modeling |
US20060224547A1 (en) | 2005-03-24 | 2006-10-05 | Ulyanov Sergey V | Efficient simulation system of quantum algorithm gates on classical computer based on fast algorithm |
US9727824B2 (en) | 2013-06-28 | 2017-08-08 | D-Wave Systems Inc. | Systems and methods for quantum processing of data |
CN109871259A (en) | 2013-08-16 | 2019-06-11 | 运软网络科技(上海)有限公司 | A kind of imitative brain calculates the method and system of virtualization |
US9588940B2 (en) * | 2013-12-05 | 2017-03-07 | D-Wave Systems Inc. | Sampling from a set of spins with clamping |
US10452989B2 (en) * | 2015-05-05 | 2019-10-22 | Kyndi, Inc. | Quanton representation for emulating quantum-like computation on classical processors |
US10599988B2 (en) * | 2016-03-02 | 2020-03-24 | D-Wave Systems Inc. | Systems and methods for analog processing of problem graphs having arbitrary size and/or connectivity |
US10565514B2 (en) * | 2016-03-31 | 2020-02-18 | Board Of Regents, The University Of Texas System | System and method for emulation of a quantum computer |
US10229355B2 (en) | 2016-04-13 | 2019-03-12 | Iqb Information Technologies Inc. | Quantum processor and its use for implementing a neural network |
US11042811B2 (en) * | 2016-10-05 | 2021-06-22 | D-Wave Systems Inc. | Discrete variational auto-encoder systems and methods for machine learning using adiabatic quantum computers |
US10332024B2 (en) * | 2017-02-22 | 2019-06-25 | Rigetti & Co, Inc. | Modeling superconducting quantum circuit systems |
US10691771B2 (en) * | 2017-03-13 | 2020-06-23 | Universities Space Research Association | System and method to hardcode interger linear optimization problems on physical implementations of the Ising model |
-
2020
- 2020-03-31 US US16/835,914 patent/US10922618B2/en active Active
- 2020-04-03 JP JP2021575025A patent/JP7452885B2/en active Active
- 2020-04-03 KR KR1020227000705A patent/KR20220024456A/en unknown
- 2020-04-03 EP EP20827941.4A patent/EP3987458A4/en active Pending
- 2020-04-03 WO PCT/US2020/026580 patent/WO2020256808A1/en active Application Filing
- 2020-04-03 CA CA3140980A patent/CA3140980A1/en active Pending
-
2021
- 2021-01-12 US US17/147,161 patent/US11113623B2/en active Active
- 2021-08-04 US US17/393,676 patent/US20210365828A1/en active Pending
Also Published As
Publication number | Publication date |
---|---|
KR20220024456A (en) | 2022-03-03 |
JP2022537311A (en) | 2022-08-25 |
US11113623B2 (en) | 2021-09-07 |
US20200401926A1 (en) | 2020-12-24 |
WO2020256808A1 (en) | 2020-12-24 |
EP3987458A4 (en) | 2023-07-19 |
EP3987458A1 (en) | 2022-04-27 |
US20210133619A1 (en) | 2021-05-06 |
US10922618B2 (en) | 2021-02-16 |
JP7452885B2 (en) | 2024-03-19 |
CA3140980A1 (en) | 2020-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11645529B2 (en) | Sparsifying neural network models | |
KR101880901B1 (en) | Method and apparatus for machine learning | |
US11816574B2 (en) | Structured pruning for machine learning model | |
US11763156B2 (en) | Neural network compression based on bank-balanced sparsity | |
CN108090565A (en) | Accelerated method is trained in a kind of convolutional neural networks parallelization | |
CN106875013A (en) | The system and method for optimizing Recognition with Recurrent Neural Network for multinuclear | |
CN108629406B (en) | Arithmetic device for convolutional neural network | |
CN106599900A (en) | Method and device for recognizing character string in image | |
Wu et al. | Numerical method for reliability analysis of phased-mission system using Markov chains | |
CN104346629A (en) | Model parameter training method, device and system | |
US11295236B2 (en) | Machine learning in heterogeneous processing systems | |
CN112633482A (en) | Efficient width map convolution neural network model and training method thereof | |
US20210365828A1 (en) | Multi-pass system for emulating sampling of a plurality of qubits and methods for use therewith | |
Niu et al. | SPEC2: Spectral sparse CNN accelerator on FPGAs | |
US20220108156A1 (en) | Hardware architecture for processing data in sparse neural network | |
CN117273120A (en) | Accelerated AI large model distributed training method and device based on model prediction | |
US10896366B2 (en) | Reduction of parameters in fully connected layers of neural networks by low rank factorizations | |
Liu et al. | Enabling efficient ReRAM-based neural network computing via crossbar structure adaptive optimization | |
US10509996B2 (en) | Reduction of parameters in fully connected layers of neural networks | |
Solo et al. | Numerical methods for stochastic differential equations in stiefel manifolds via the cayley transform | |
US11086634B2 (en) | Data processing apparatus and method | |
US11307866B2 (en) | Data processing apparatus and method | |
US12130886B1 (en) | Tensor automatic differentiation | |
CN111382835A (en) | Neural network compression method, electronic device and computer readable medium | |
Ueyoshi et al. | Robustness of hardware-oriented restricted Boltzmann machines in deep belief networks for reliable processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: BEIT INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BEIT SP. Z O.O.;REEL/FRAME:057085/0814 Effective date: 20200714 Owner name: BEIT SP. Z O.O., POLAND Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BRIANSKI, MARCIN;JARNICKI, WITOLD;CZERWINSKI, LUKASZ;SIGNING DATES FROM 20200326 TO 20200331;REEL/FRAME:057080/0723 |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |