Quantum circuit for implementing an oracle and methods for use therewith
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BEIT SP ZOO
- Filing Date
- 2025-04-16
- Publication Date
- 2026-05-07
AI Technical Summary
Classical computing devices struggle to efficiently perform certain computations due to their reliance on binary digits, while quantum computers using quantum bits or qubits can provide more efficient solutions through quantum oracles, but existing quantum oracle implementations have limitations in complexity and depth, especially for functions with sparse Walsh-Hadamard transforms and bounded polynomial degrees.
The implementation of quantum oracles via a quantum circuit that includes a d-qubit Quantum Fourier Transform, parity-fan-out gates, and phase gates, utilizing Walsh-Hadamard Transform and modulo 2 addition, which reduces complexity and depth, particularly for sparse Walsh-Hadamard transforms and bounded polynomial degrees, without the need for ancillas.
The proposed quantum circuit design achieves reduced complexity and depth, offering more efficient quantum oracle operations, especially for functions with sparse Walsh-Hadamard transforms and bounded polynomial degrees, with potential improvements in binary optimization problems.
Smart Images

Figure US2025024877_07052026_PF_FP_ABST
Abstract
Description
TITLE OF APPLICATIONQUANTUM CIRCUIT FOR IMPLEMENTING AN ORACLE AND METHODS FOR USE THEREWITHBACKGROUND OF THE INVENTIONTECHNICAL FIELD OF THE INVENTION
[0001] This invention relates generally to computer systems and particularly to quantum computing techniques and circuits.DESCRIPTION OF RELATED ART
[0002] 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.
[0003] 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.BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING(S)
[0004] FIG. 1 A is a block diagram of an example of a quantum computing architecture;
[0005] FIG. IB is a block diagram of an example of a quantum oracle;
[0006] FIG. 2A is a block diagram of an example of a quantum oracle;
[0007] FIG. 2B is a block diagram of an example of a parity -fan-out gate;
[0008] FIG. 2C is a block diagram of an example of a quantum oracle;
[0009] FIG. 2D is a block diagram of an example of a parity -fan-out gate; and
[0010] FIG. 3 is a flow diagram of an embodiment of a method in accordance with the present invention.DETAILED DESCRIPTION OF THE INVENTION
[0011] FIG. 1 A is a block diagram of an example of a quantum computing architecture. In particular, a quantum circuit 110 is presented that includes one or more quantum oracles 112, and / or one or more other quantum logic gates 116 that operate on m qubits of a quantum register 120. The quantum oracle 112, which may also be referred to as “oracle operator”, “oracle function” or simply “oracle” is a black box that performs a quantum operation on an input quantum state either with, or without, the aid of additional ancillas. In various examples, the action of the quantum oracle 112 on a specific quantum state can be found by multiplying an input vector, which represents the input qubit state, by the unitary matrix Uf(or simply “unitary”) representing the particular function being implemented. The result is a new quantum vector state. As shown in FIG. IB, the input vector state can be represented by:And the output vector state can be represented by :
[0012] Quantum oracles can play a fundamental role in quantum algorithms by providing a way to manipulate quantum states and perform computations that are not possible with classical computers. Quantum oracles are particularly relevant in the context of quantum algorithms like Grover's algorithm and Shor's algorithm. These algorithms use quantum oracles to solve problems more efficiently than classical algorithms. In Grover's algorithm, the quantum oracle is used to mark the solutions of a search problem. It applies a phase flip to the marked states, which amplifies their amplitude and allows for a more efficient search. In Shor's algorithm, the quantum oracle is used as a subroutine to find the period of a function. This is a crucial step in factoring large numbers, which is the basis for breaking many classical encryption schemes.
[0013] Furthermore, consider the following constructs for a quantum oracle 112 operating on a binary function.BelowGiven a binary function,oracles that act on qubits asare called Here the symbol represents some kind of addi-tion on . More generally, oracles that act on n +d qubits asare called
[0014] In particular, a data-access oracle is a theoretical construct that allows a quantum algorithm to interact with a classical or quantum database. It provides access to the data stored in the database and allows for efficient queries or operations on the data. In the context of quantum algorithms, data-access oracles are used to solve problems such as search or database-related tasks. A projective data-access oracle is a specific type of data-access oracle that uses projective measurements to access the data. Projective measurements in quantum mechanics involve collapsing the quantum state of a system into one of the eigenstates of the measured observable. In the context of a projective data-access oracle, the measurement outcomes correspond to the values stored in the database, allowing the algorithm to obtain the desired information, quantum dictionary encoder that is used to encode classical data into a quantum state in a way that preserves the structure of a dictionary. A dictionary is a data structure that stores key -value pairs. Quantum dictionary encoders allow for efficient storage and retrieval of information in a quantum setting. Projective quantum dictionary encoders combine the concepts of projective measurements and quantum dictionary encoders. These encoders use projective measurements to retrieve the values associated with specific keys in a quantum dictionary. By performing measurements on the encoded quantum state, the projective quantum dictionary encoder can extract the desired information.
[0015] In various examples, the quantum oracle 112 is implemented via a quantum circuit that includes: a d-qubit Quantum Fourier Transform circuit configured to apply a d-qubit Quantum Fourier Transform to the d additional qubits; a plurality of parity -fan-out gates controlled by the n qubits and configured to control the additional d qubits, wherein each of the plurality of parity fan-out gates is coupled to a corresponding one a plurality of sets of additional phase gates that also apply phase angles to the d additional qubits, wherein quantum circuit implements a unitary of a bit function and wherein the sets of additional phase gates apply the phase angles to the d additional qubits based on a Walsh-Hadamard Transform of a conversion of the bit function to a binary number; and a d-qubit Inverse Quantum Fourier Transform circuit configured to apply a d-qubit Inverse Quantum Fourier Transform to the d additional qubits.
[0016] In addition or in the alternative to any of the foregoing, the quantum circuit further includes a first set of phase gates configured to apply, prior to the Quantum Fourier Transform circuit, first phase angles to the d additional qubits; and a second set of phase gates configured to apply, after the Inverse Quantum Fourier Transform circuit, inverses of the first phase angles to the d additional qubits.
[0017] In addition or in the alternative to any of the foregoing, the quantum circuit implements one of: a quantum dictionary encoder, a data-access oracle, a projective quantum dictionary encoder or a projective data-access oracle.
[0018] In addition or in the alternative to any of the foregoing, the first phase angles applied to the d additional qubits each correspond to a phase angle offor a jth one of the d additional qubits.
[0019] In addition or in the alternative to any of the foregoing, the plurality of parity -fan-out gates are each fan- out gates controlled by differing ones of the n qubits.
[0020] In addition or in the alternative to any of the foregoing, the plurality of parity -fan-out gates are each controlled by differing non-null subsets of the n qubits.
[0021] In addition or in the alternative to any of the foregoing, when one of the parity -fan-out gates is controlled by k of the n qubits, the one of the plurality of parity -fan-out gates is implemented using O(k+d) CNOT gates.
[0022] In addition or in the alternative to any of the foregoing, the conversion of the bit function to the binary number utilizes a modulo 2 addition.
[0023] In addition or in the alternative to any of the foregoing, the conversion of the bit function to the binary number utilizes a polynomial approximation of the bit function.
[0024] In addition or in the alternative to any of the foregoing, the quantum circuit is implemented without ancillas.
[0025] In addition or in the alternative to any of the foregoing, the quantum circuit is implemented via a plurality of ancillas initialized to a zero state.
[0026] The quantum circuits described herein improve the technology of quantum oracles by constructions, based on the Walsh-Hadamard Transform of another function,derived from the binary function / (see Appendix A). In this case being the addition, modulo 2d. These designshave similar worst case complexities as prior circuits and in certain cases it has significantly improved circuit depth and gate counts. Measures of complexity are Clifford + T gate count and Clifford + T gate depth. Furthermore, designs are presented that can be made shallower by adding ancillas, and without using swap gates. In the shallowest case, these oracle implementations can have a total depth of O(n +d) - using only CNOT, RZ rotations, and a single d- qubit Quantum Fourier transform. Consider the results for the methodologies below.
[0027] As the worst case complexities are otherwise comparable, these methods provide, potentially more efficient, alternative, especially in for the class of functions with sparse Walsh-Hadamard transforms (see Method 2), and bounded polynomial degrees (see Method 3). These advantages come, in part, from the choice of decomposition. Compared with other methods, the methods above also use the modulo 2naddition in equation (1). This has clear advantages in many applications, for example, in binary optimization problems.
[0028] The further operation of the quantum oracle 112, including several designs, variations and optional functions and features is described in conjunction with the examples that follow.
[0029] Example DesignsParity-fan-out gates are defined in Appendix B.
[0030] Further examples of quantum oracle 112 are presented in FIGs. 2A and 2C where n = 2 and d =3. Further examples of parity -fan-out gates are presented in FIG. 2B and 2D where n=4 and d=4.
[0031] Appendix A. Notations
[0034] FIG. 3 is a flow diagram of an example method. In particular, a method is presented for use in a quantum circuit configured to process n qubits and d additional qubits and furthermore for use with one or more functions and features described in conjunctions with FIGs. 1 A, IB, 2A, 2B and the further descriptions above. Step 302 includes applying first phase angles to the d additional qubits via a first set of phase gates. Step 304 includes applying a d- qubit Quantum Fourier Transform to the d additional qubits via a d-qubit Quantum Fourier Transform circuit. Step 306 includes controlling the additional d qubits via a plurality of parity -fan-out gates controlled by the n qubits, wherein each of the plurality of parity fan-out gates is coupled to a corresponding one a plurality of sets of additional phase gates that also apply phase angles to the d additional qubits, wherein quantum circuit implements a unitary of a bit function and wherein the sets of additional phase gates apply the phase angles to the d additional qubits based on a Walsh -Hadamard Transform of a conversion of the bit function to a binary number. Step 308 includes applying a d-qubit Inverse Quantum Fourier Transform to the d additional qubits via a d-qubit Inverse Quantum Fourier Transform circuit.
[0035] In addition or in the alternative to any of the foregoing, the method further includes Step 310 of applying inverses of the first phase angles to the d additional qubits via a second set of phase gates. Furthermore, Step 302 may or may not be included, depending on the inclusion or exclusion of step 310.
[0036] In addition or in the alternative to any of the foregoing, the quantum circuit implements one of: a quantum dictionary encoder, a data-access oracle, a projective quantum dictionary encoder or a projective data-access oracle.
[0037] In addition or in the alternative to any of the foregoing, the first phase angles applied to the d additional qubits each correspond to a phase angle offor a jth one of the d additional qubits.
[0038] In addition or in the alternative to any of the foregoing, the plurality of parity -fan-out gates are each fan- out gates controlled by differing ones of the n qubits.
[0039] In addition or in the alternative to any of the foregoing, the plurality of parity -fan-out gates are each controlled by differing non-null subsets of the n qubits.
[0040] In addition or in the alternative to any of the foregoing, when one of the parity -fan-out gates is controlled by k of the n qubits, the one of the plurality of parity -fan-out gates is implemented using O(k+d) CNOT gates.
[0041] In addition or in the alternative to any of the foregoing, the conversion of the bit function to the binary number utilizes a modulo 2 addition.
[0042] In addition or in the alternative to any of the foregoing, the conversion of the bit function to the binary number utilizes a polynomial approximation of the bit function.
[0043] In addition or in the alternative to any of the foregoing, the quantum circuit is implemented without ancillas.
[0044] In addition or in the alternative to any of the foregoing, the quantum circuit is implemented via a plurality of ancillas initialized to a zero state.
[0045] 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’).
[0046] 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-acceptedtolerances 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.
[0047] 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”.
[0048] 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.
[0049] 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 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. 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.
[0050] 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”.
[0051] As may also be used herein, the terms “processing module”, “processing circuit”, “processor”, “processing circuitry”, and / or “processing unit” may be a single processing device or a plurality of processing devices. Such a 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 processing module, module, processing circuit, processing circuitry, and / or processing unit may be, or further include, memory and / or an integrated memory element, 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 processing module, module, processing circuit, processing circuitry, and / or processing unit 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 processing module, module, processing circuit, processing circuitry and / or processing unit 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, the memory element may store, and the processing module, module, processing circuit, processing circuitry and / or processing unit executes, hard coded and / or 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 included in an article of manufacture.
[0052] 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.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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 ordifferential. 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.
[0057] 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.
[0058] 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, nonvolatile memory, static memory, dynamic memory, flash memory, cache memory, a quantum register or other quantum memory and / or any other device that stores data in a non-transitory manner. Furthermore, the memory device may be in a form of a solid-state memory, a hard drive memory or other disk storage, cloud memory, thumb drive, server memory, computing device memory, and / or other non-transitory medium for storing data. The storage of data includes temporary storage (i.e., data is lost when power is removed from the memory element) and / or persistent storage (i.e., data is retained when power is removed from the memory element). As used herein, a transitory medium shall mean one or more of: (a) a wired or wireless medium for the transportation of data as a signal from one computing device to another computing device for temporary storage or persistent storage; (b) a wired or wireless medium for the transportation of data as a signal within a computing device from one element of the computing device to another element of the computing device for temporary storage or persistent storage; (c) a wired or wireless medium for the transportation of data as a signal from one computing device to another computing device for processing the data by the other computing device; and (d) a wired or wireless medium for the transportation of data as a signal within a computing device from one element of the computing device to another element of the computing device for processing the data by the other element of the computing device. As may be used herein, a non-transitory computer readable memory is substantially equivalent to a computer readable memory. A non-transitory computer readable memory can also be referred to as a non-transitory computer readable storage medium.
[0059] 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
CLAIMSWhat is claimed is:
1. A quantum circuit, configured to process n qubits and d additional qubits, the quantum circuit comprising: a d-qubit Quantum Fourier Transform circuit configured to apply a d-qubit Quantum Fourier Transform to the d additional qubits; a plurality of parity -fan-out gates controlled by the n qubits and configured to control the additional d qubits, wherein each of the plurality of parity fan-out gates is coupled to a corresponding one a plurality of sets of additional phase gates that also apply phase angles to the d additional qubits, wherein quantum circuit implements a unitary of a bit function and wherein the sets of additional phase gates apply the phase angles to the d additional qubits based on a Walsh-Hadamard Transform of a conversion of the bit function to a binary number; and a d-qubit Inverse Quantum Fourier Transform circuit configured to apply a d-qubit Inverse Quantum Fourier Transform to the d additional qubits.
2. The quantum circuit of claim 1, wherein the quantum circuit further includes: a first set of phase gates configured to apply, prior to the d-qubit Quantum Fourier Transform circuit, first phase angles to the d additional qubits; and a second set of phase gates configured to apply, after the d-qubit Inverse Quantum Fourier Transform circuit, inverses of the first phase angles.
3. The quantum circuit of claim 1, wherein the quantum circuit implements one of: a quantum dictionary encoder, a data-access oracle, a projective quantum dictionary encoder or a projective data-access oracle.
4. The quantum circuit of claim 1 , wherein the first phase angles applied to the d additional qubits each correspond to a phase angle of for a jth one of the d additional qubits.
5. The quantum circuit of claim 1, wherein the plurality of parity -fan-out gates are each fan-out gates controlled by differing ones of the n qubits.
6. The quantum circuit of claim 1, wherein the plurality of parity -fan-out gates are each controlled by differing non-null subsets of the n qubits.
7. The quantum circuit of claim 1, wherein, when one of the parity -fan-out gates is controlled by k of the n qubits, the one of the plurality of parity -fan-out gates is implemented using O(k+d) CNOT gates.
8. The quantum circuit of claim 1 , wherein the conversion of the bit function to the binary number utilizes a modulo 2 addition.
9. The quantum circuit of claim 1 , wherein the conversion of the bit function to the binary number utilizes a polynomial approximation of the bit function.
10. The quantum circuit of claim 1 , wherein the quantum circuit is implemented without ancillas.
11. A method for use in a quantum circuit configured to process n qubits and d additional qubits, the method comprising: applying a d-qubit Quantum Fourier Transform to the d additional qubits via a d-qubit Quantum Fourier Transform circuit; controlling the additional d qubits via a plurality of parity -fan-out gates controlled by the n qubits, wherein each of the plurality of parity fan-out gates is coupled to a corresponding one a plurality of sets of additional phase gates that also apply phase angles to the d additional qubits, wherein quantum circuit implements a unitary of a bit function and wherein the sets of additional phase gates apply the phase angles to the d additional qubits based on a Walsh-Hadamard Transform of a conversion of the bit function to a binary number; and applying a d-qubit Inverse Quantum Fourier Transform to the d additional qubits via a d-qubit Inverse Quantum Fourier Transform circuit.
12. The method of claim 11, further comprising: applying, prior to the d-qubit Quantum Fourier Transform, first phase angles to the d additional qubits via a first set of phase gates; and applying, after the d-qubit Inverse Quantum Fourier Transform, inverses of the first phase angles to the d additional qubits via a second set of phase gates.
13. The method of claim 11, wherein the quantum circuit implements one of: a quantum dictionary encoder, a data-access oracle, a projective quantum dictionary encoder or a projective data-access oracle.
14. The method of claim 11 , wherein the first phase angles applied to the d additional qubits each correspond to a phase angle of for a jth one of the d additional qubits.
15. The method of claim 11, wherein the plurality of parity -fan-out gates are each fan-out gates controlled by differing ones of the n qubits.
16. The method of claim 11, wherein the plurality of parity -fan-out gates are each controlled by differing nonnull subsets of the n qubits.
17. The method of claim 11, wherein, when one of the parity -fan-out gates is controlled by k of the n qubits, the one of the plurality of parity -fan-out gates is implemented using O(k+d) CNOT gates.
18. The method of claim 11 , wherein the conversion of the bit function to the binary number utilizes a modulo 2 addition.
19. The method of claim 11 , wherein the conversion of the bit function to the binary number utilizes a polynomial approximation of the bit function.
20. The method of claim 11 , wherein the quantum circuit is implemented without ancillas.