CN112394905B - Design method of quantum divider - Google Patents

Design method of quantum divider Download PDF

Info

Publication number
CN112394905B
CN112394905B CN202011358674.0A CN202011358674A CN112394905B CN 112394905 B CN112394905 B CN 112394905B CN 202011358674 A CN202011358674 A CN 202011358674A CN 112394905 B CN112394905 B CN 112394905B
Authority
CN
China
Prior art keywords
quantum
bit
result
subtraction
bits
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.)
Active
Application number
CN202011358674.0A
Other languages
Chinese (zh)
Other versions
CN112394905A (en
Inventor
袁素真
高胜威
文超
卿显荣
乔治钦
王艳
王玉婵
胡泽锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN202011358674.0A priority Critical patent/CN112394905B/en
Publication of CN112394905A publication Critical patent/CN112394905A/en
Application granted granted Critical
Publication of CN112394905B publication Critical patent/CN112394905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/52Multiplying; Dividing
    • G06F7/535Dividing only
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/483Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers
    • G06F7/485Adding; Subtracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N10/00Quantum computing, i.e. information processing based on quantum-mechanical phenomena

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Nonlinear Science (AREA)
  • Optical Modulation, Optical Deflection, Nonlinear Optics, Optical Demodulation, Optical Logic Elements (AREA)
  • Complex Calculations (AREA)

Abstract

The invention relates to a design method of a quantum divider, belonging to the field of quantum operation. The method comprises the following steps: s1: designing an n-bit quantum comparator by using a quantum gate to realize comparison operation of two n-bit binary numbers; s2: designing an equipotential and unequal quantum subtracter by using a quantum gate; s3: comprehensively designing the comparator and the subtracter in the steps S1 and S2 to obtain a quantum divider; s4: an experiment platform is built by adopting a classical computer and an open source quantum cloud simulator provided by an IBM laboratory, and simulation is carried out to realize quantum division operation. The invention realizes the quantum division operation by adding the auxiliary quantum bit and multiplexing, improves the performance of the quantum division operation and lays a foundation for processing more complex quantum calculation.

Description

Design method of quantum divider
Technical Field
The invention belongs to the field of quantum operation, and relates to a design method of a quantum divider.
Background
Based on the quantum mechanics principle, quantum computing effectively solves the mathematical problem that the classical computer can not overcome by using quantum. With the further research of quantum computing theory and quantum computers, quantum algorithms applied to various fields are also being researched and designed continuously. The quantum algorithm is the core of quantum computation, and the potential of the quantum algorithm is far superior to that of a classical algorithm. The quantum computer has own advantages and states compared with a classical computer, the storage unit of the quantum computer is a quantum bit, and the quantum bit theoretically contains countless information because the state of the quantum bit can be 0 or 1 and can also be a superposition state of 0 and 1, while the bit of the classical computer can only be 0 or 1, which is different from the quantum bit and the classical bit. At present, the research on quantum algorithms is many, and from the initial quantum algorithms to the present, the quantum algorithms are also continuously perfected and innovated, and more complex functions can be realized.
Division operation is one of the four fundamental operations, is often applied to various research fields, is widely applied to the fields of digital signal processing and digital communication, and how to realize quick and efficient division operation is related to the operation speed of the whole system. The design and research of the algorithm of the quantum divider are vacant, so that the search of the design and implementation method of the quantum divider is of great significance.
Disclosure of Invention
In view of the above, the present invention provides a method for designing a quantum divider.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for designing a quantum divider comprises the following steps:
s1: designing an n-bit quantum comparator by using a quantum gate to realize comparison operation of two n-bit binary numbers;
s2: designing an equipotential and unequal quantum subtracter by using a quantum gate;
s3: comprehensively designing the comparator and the subtracter in the steps S1 and S2 to obtain a quantum divider;
s4: an experiment platform is built by adopting a classical computer and an open source quantum cloud simulator provided by an IBM laboratory, and simulation is carried out to realize quantum division operation.
Optionally, step S1 specifically includes:
given a composite system | a of two n-bit quantum states>|b>And realizing the QBstring | a by using a QBSC (Quantum bit string comparator)>=|a n-1 a n-2 ...a 0 I and | b>=|b n-1 b n-2 ...b 0 OfComparison operation, QBSC is a unitary evolution U as shown below CMP
U CMP |a〉|b〉|0〉|0〉=|a〉|b〉|0>|c>
Wherein, l is the total quantum bit number contained in the composite system | a > | b >, and the implementation of the comparator needs 2 additional auxiliary quantum bits initialized to 0; i0 > does not carry any useful information, the last qubit state | c > carries the resulting information of the comparison, | a > and | b > are the two qubit strings being compared, respectively.
Optionally, the step S2 specifically includes:
the n quantum subtractors with one bit are superposed together to form allelic subtraction of n quantum bits, the subtraction is started from the lowest bit, the borrow is used as the borrow of the last subtraction of the next subtraction, thus, the borrow positions are alternately multiplexed, circulation is realized until the subtraction of the highest bit is completed, and finally, the subtraction result is obtained.
Optionally, step S3 specifically includes:
s31, comparing the divisor N and the dividend M by using the comparator, aligning the qubit representing the divisor N and the qubit representing the dividend M sequentially from high to low before the comparison, and taking the comparison result as a control bit a, where the value of the control bit a is: when the qubits represented by the divisor N are smaller than the qubits aligned with the divisor N among the qubits represented by the dividend M, the control bit is 0; otherwise, the value is 1; a is used as a control bit to control the highest bit of the quotient S, and when the control bit result is 1, the quotient S is assigned with 1; when the control bit result is 0, the quotient S is assigned 0;
s32, taking a in the S221 as a control bit, and controlling subtraction under the action of a subtracter; the result of the subtraction is b, the divisor is aligned with the second highest bit of b, and the highest bit c of b is used as the value of the control bit to the second highest bit of the quotient, and c is also the control bit of the subtraction;
s33, the result of the subtraction of S222 is d, d is taken as the beginning of a new cycle, and the qubits represented by the divisor N are aligned with the next highest order bits of d;
and S34, repeating S31, S32 and S33 until all the quantum bits representing the dividend M participate in the operation, wherein the result is reserved to an integer bit, if the result is further reserved to a decimal number, adding a new quantum bit with the state of |0> after representing the quantum bit of the dividend M as the lower bit of the dividend, repeating S31, S32 and S33 again, wherein the result is reserved to the decimal number, the accuracy degree of the decimal number is related to the number of the added |0> bits, and the more the |0> bits are added, the more the result is accurate.
Optionally, step S4 specifically includes:
and (3) simulating and realizing quantum division operation simulation by using Python language by utilizing packet management and environment management functions provided by an open source quantum computing toolkit QISKIT and Anaconda.
The invention has the beneficial effects that:
1. the invention successfully fills the blank of the quantum divider in the algorithm design and designs the efficient quantum divider.
2. The invention realizes division operation on the quantum simulator for the first time and can reserve to decimal place, and uses the zero setting gate and the auxiliary bit of constant quantum bit, thus greatly reducing the running time and complexity.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention may be realized and attained by the means of the instrumentalities and combinations particularly pointed out hereinafter.
Drawings
For a better understanding of the objects, aspects and advantages of the present invention, reference will now be made to the following detailed description taken in conjunction with the accompanying drawings in which:
FIG. 1 is a technical roadmap for the process of the invention;
FIG. 2 is a typical quantum gate; (a) controlled-non-Toffoli Gate, (b) controlled non-CNOT Gate;
FIG. 3 is a circuit diagram of a specific structure of a two-bit quantum comparator;
FIG. 4 is a circuit diagram of a specific structure of a one-bit quantum subtracter;
FIG. 5 is a circuit diagram of a specific construction of an equipotential subtractor for two qubits;
FIG. 6 is a circuit diagram of a specific structure of an unequal bit subtractor for subtracting two bits from three bits;
FIG. 7 (a) is a diagram of the operation steps of a six-bit by two-bit quantum division method, and FIG. 7 (b) is a circuit diagram of a specific structure of a six-bit by two-bit quantum divider;
FIG. 8 is a histogram of the measured probability of "101011" divided by "11";
fig. 9 (a) is a diagram of the result of dividing the quantum divider operation "101011" by "11" with no remainder, and fig. 9 (b) is a diagram of the result of dividing the quantum divider operation "101011" by "11" with remainder.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention in a schematic way, and the features in the following embodiments and examples may be combined with each other without conflict.
Wherein the showings are for the purpose of illustrating the invention only and not for the purpose of limiting the same, and in which there is shown by way of illustration only and not in the drawings in which there is no intention to limit the invention thereto; to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The same or similar reference numerals in the drawings of the embodiments of the present invention correspond to the same or similar components; in the description of the present invention, it should be understood that if there is an orientation or positional relationship indicated by terms such as "upper", "lower", "left", "right", "front", "rear", etc., based on the orientation or positional relationship shown in the drawings, it is only for convenience of description and simplification of description, but it is not an indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes, and are not to be construed as limiting the present invention, and the specific meaning of the terms may be understood by those skilled in the art according to specific situations.
Fig. 1 to 9 show a design method of a quantum divider.
Specifically, in this embodiment, taking binary number "101011" divided by binary number "11" as an example, S1 specifically is:
in this embodiment, an n-bit quantum comparator is designed by using a controlled-non-Toffoli gate as shown in fig. 2 (a), a controlled non-CNOT gate as shown in fig. 2 (b), and a zero-setting gate, so as to implement comparison operation of two n-bit binary numbers.
The quantum comparator is realized according to the following principle:
given a composite system | a of two n-bit quantum states>|b>And a qubit string comparator (QBSC) is adopted to realize the qubit string | a>=|a n-1 a n-2 ...a 0 I and | b>=|b n-1 b n-2 ...b 0 The comparison operation of |, QBSC is a unitary evolution U as shown below CMP
U CMP |a>|b>|0>|0>=|a>|b>|0>|c>
Wherein l is a composite system | a>|b>The total number of qubits involved, and 2 additional auxiliary qubits initialized to 0 are required for the implementation of the comparator; |0>Does not carry any useful information, the final qubit state | c>Carrying the result information of comparison, | a>And | b>Two qubit strings for comparison, respectively. In the embodiment, a is a in a 2-bit quantum comparator 0 、b 0 And c 0 The operation relationship is as follows:
Figure BDA0002803367160000041
a 0 、b 0 、c 0 and c 1 The operation relationship is as follows:
Figure BDA0002803367160000042
fig. 3 shows a specific configuration circuit diagram of the two-bit quantum comparator.
And S2, designing an equipotential and unequal quantum subtracter by utilizing a control-non-Toffoli gate, a controllable non-CNOT gate and a zero setting gate, and realizing subtraction operation of two binary numbers.
The design of the subtracter firstly starts from the number with only one qubit, because the subtracter relates to borrowing, including previous borrowing and the current borrowing, and therefore two auxiliary bits are needed to store the carry information. Fig. 4 shows a specific construction circuit diagram of a one-bit quantum subtracter.
And designing an equipotential subtracter. Based on the design of a one-bit quantum subtracter, an equipotential subtracter is designed. The allelic subtraction of the numbers containing n-bit quantum bits is formed by overlapping n-bit quantum subtracters, the subtraction is started from the lowest bit, the borrow of the lowest bit is used as the borrow of the last time of the next subtraction, and thus, the borrow positions are alternately multiplexed, circulation is realized until the subtraction of the highest bit is completed, and finally, the subtraction result is obtained. Specifically, in this embodiment, we design a subtractor with an allelic subtraction of two qubits, and fig. 5 shows a specific configuration circuit diagram of the allelic subtractor with two qubits, which implements the allelic subtraction process of md [0-1] -rc [0-1], md [0-1] is the subtree, and rc [0-1] is the subtree. The subtraction is started from the lower order, md [0-1] is the subtracted number, rc [0-1] is the subtracted number, and the final result is stored at md [0-1]. Since the allelic subtraction only needs two auxiliary qubits ass [0-1] and the final borrow information, it is determined that the result is exactly negative, the information is stored in one qubit of ass [0-1] and is related to the number of bits of the two binary numbers used for the subtraction, if the number of bits of the two binary numbers is odd, the final borrow information is stored in ass [1], if the number of bits is even, ass [0] is stored.
And designing an unequal bit subtracter. The method can be modified on the basis of the allelic subtraction, firstly, the allelic parts are aligned from the lower bits, allelic subtraction is carried out, the result of the allelic subtraction and the borrow of the current time are obtained, then the highest bit of the subtracted number and borrow information are subtracted, the result of the non-allelic subtraction can be obtained, and the unequal phase subtraction operation is completed. Specifically, in this embodiment, we design an unequal subtractor of three bits minus two bits, and fig. 6 shows a specific configuration circuit diagram of the unequal subtractor of three bits minus two bits, which is implemented by the unequal subtraction process of md [0-2] -rc [0-1], and the first step is: allelic subtraction is performed on md [1-2] and rc [0-1], and the first two red boxes in the figure perform this function. The second step is that: subtracting borrow information ass [0] obtained by subtracting the highest bit of md [0] from the allele in the first step.
And S3, comprehensively designing the comparator and the subtracter in the steps S1 and S2 to obtain the quantum divider.
The quantum divider is implemented according to the following principle:
specifically, in the embodiment, taking the example of a binary number "101011" divided by a binary number "11", we align the divisor with the highest order bit of the dividend, e.g., the divisor "11" is aligned with the highest order bit "10" of the dividend "101011" in the example. In the second step, the comparator designed above is used to compare 10 with 11, and the comparison result is the control bit a, the value of the control bit a is: when 10-straw 11, the control bit is 0; otherwise, the number is 1. Step three, a is used as a control bit to control the highest bit of the quotient S, and when the control bit result is 1, the quotient is assigned with 1; when the control bit result is 0, a quotient of 0 is assigned. And step four, taking a as a control bit, and controlling subtraction operation under the action of the subtracter. And fifthly, the result of the subtraction is b, the divisor and the next highest bit of b are added, the highest bit c of b is used as the control bit, and the value of the next highest bit of the quotient is assigned, and c is also used as the control bit of the subtraction. Sixthly, taking the result of the fifth subtraction as d, taking d as the beginning of a new cycle, aligning the divisor 11 with the next higher order of d, repeating the above steps until all the qubits represented by "101011" participate in the operation, then keeping the result to an integer number, if further keeping to a decimal, adding a new qubit in state |0> after the qubit represented by "101011" as the lower order of the dividend, and repeating the above six steps again, thus keeping the result to a decimal number, wherein the accuracy of the decimal number is related to the number of the added |0> bits, and the more the added |0> bits are, the more the result is accurate. Fig. 7 (a) is a circuit diagram illustrating the operation steps of the six-bit-by-two-bit quantum division, and fig. 7 (b) is a circuit diagram illustrating a specific structure of the six-bit-by-two-bit quantum divider.
And S4, adopting an open source quantum cloud simulator provided by a classical computer and an IBM laboratory to build an experimental platform and carrying out simulation to realize quantum division operation.
The simulation implementation adopts a classical computer and a programmable quantum computer provided by an IBM platform, a quantum line is compiled by using a python language according to the environmental management provided by an open source quantum computer toolkit Qiskit and Anaconda provided by an IBM laboratory, the operation is implemented according to the compiled line, the quantum measurement is carried out, and finally, a corresponding simulation result is output. When the Qiskit quantum simulation system runs the quantum lines, the output quantum sequences are in one-to-one correspondence with the quantum lines from left to right from bottom to top according to the information expressed by the quantum bits in the quantum lines from bottom to top. Fig. 8 shows the probability histogram of "101011" divided by "11" after measurement. Specifically, in the embodiment, the binary number "101011" is divided by the binary number "11", i.e., 43 divided by 3 in decimal. FIG. 9 (a) is the result of the quantum divider operating "101011" divided by "11" remainder, the result of the first row being the time of operation; the result of the second row is the final output value of all qubits at the end of the run; the third row result is the calculation result displayed by the division operation, the result is turned over, the quantum divider operation result is obtained to be 111001, the quantum bit result of 1110 being the integer number is decimal 10, the quantum bit result of 01 being the floating point number is 0.25. This is because the 2-bit qubit of the floating-point number is added here, so that the result output has a small number of bits, the more qubits are added to represent the floating-point number, the more accurate the result. Fig. 9 (b) shows the result of dividing "101011" by "11" with remainder, remainder is quotient remainder, and there is no qubit corresponding to the floating point number added, so that the operation time is greatly reduced, because the operation time increases exponentially for each qubit increase. From the above experimental process, it can be known that the feasibility and the universality of the quantum division method are realized in the design method, and the quantum division operation is realized.
Finally, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (1)

1. A design method of a quantum divider is characterized by comprising the following steps: the method comprises the following steps:
s1: designing an n-bit quantum comparator by using a quantum gate to realize comparison operation of two n-bit binary numbers;
s2: designing an equipotential and unequal quantum subtracter by using a quantum gate;
s3: comprehensively designing the comparator and the subtracter in the steps S1 and S2 to obtain a quantum divider;
s4: adopting a classical computer and an open source quantum cloud simulator provided by an IBM laboratory to build an experimental platform and carrying out simulation to realize quantum division operation;
the step S1 specifically includes:
given a composite system | a of two n-bit quantum states>|b>And realizing the QBSA by using QBSC>=|a n-1 a n-2 ...a 0 I and I b>=|b n-1 b n-2 ...b 0 The comparison operation of |, QBSC is a unitary evolution U as shown below CMP
U CMP |a>|b>|0>|0>=|a>|b>|0>|c>
Wherein, the realization of the comparator needs another 2 auxiliary quantum bits initialized to 0; the |0> does not carry any useful information, the last qubit state | c > carries the result information of the comparison, | a > and | b > are two qubit strings for comparison, respectively;
the step S2 specifically includes:
n quantum subtracters with one bit are overlapped to form allelic subtraction of n quantum bits, subtraction is started from the lowest bit, and borrow of the n quantum bits is used as borrow of the last subtraction of the next subtraction, so that borrow positions are alternately multiplexed, circulation is realized until subtraction of the highest bit is completed, and finally, a subtraction result is obtained;
the step S3 specifically comprises the following steps:
s31, comparing the divisor N and the dividend M by using a comparator, aligning the qubit representing the divisor N and the qubit representing the dividend M from high to low in sequence before comparison, and taking a comparison result as a control bit a, wherein the value of the control bit a is as follows: when the qubits represented by the divisor N are smaller than the qubits aligned with the divisor N among the qubits represented by the dividend M, the control bit is 0; otherwise, the value is 1; a is used as a control bit to control the highest bit of the quotient S, and when the control bit result is 1, the quotient S is assigned with 1; when the control bit result is 0, the quotient S is assigned 0;
s32, taking a in the S31 as a control bit, and controlling subtraction under the action of a subtracter; the result of the subtraction is b, the divisor is aligned with the second highest bit of b, and the highest bit c of b is used as the value of the control bit to the second highest bit of the quotient, and c is also the control bit of the subtraction;
s33, the result of the subtraction of S32 is d, d is taken as the beginning of a new cycle, and the quantum bit represented by the divisor N is aligned with the next highest bit of d;
s34, repeating S31, S32 and S33 until all the quantum bits representing the dividend M participate in the operation, wherein the result is reserved to an integer bit, if the result is further reserved to a decimal number, adding a new quantum bit with the state of |0> after representing the quantum bit of the dividend M as the lower bit of the dividend, repeating S31, S32 and S33 again, wherein the result is reserved to the decimal number, the accuracy degree of the decimal number is related to the number of the added |0> bits, and the more the |0> bits are added, the more the result is accurate;
the step S4 specifically comprises the following steps:
and (3) simulating and realizing quantum division operation simulation by using Python language by utilizing packet management and environment management functions provided by an open source quantum computing toolkit QISKIT and Anaconda.
CN202011358674.0A 2020-11-27 2020-11-27 Design method of quantum divider Active CN112394905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011358674.0A CN112394905B (en) 2020-11-27 2020-11-27 Design method of quantum divider

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011358674.0A CN112394905B (en) 2020-11-27 2020-11-27 Design method of quantum divider

Publications (2)

Publication Number Publication Date
CN112394905A CN112394905A (en) 2021-02-23
CN112394905B true CN112394905B (en) 2022-11-08

Family

ID=74604597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011358674.0A Active CN112394905B (en) 2020-11-27 2020-11-27 Design method of quantum divider

Country Status (1)

Country Link
CN (1) CN112394905B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114581454A (en) * 2022-03-21 2022-06-03 南京信息工程大学 Quantum image segmentation method and device based on background difference method and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1423189A (en) * 2001-11-22 2003-06-11 深圳市中兴通讯股份有限公司上海第二研究所 Divider
CN103684368A (en) * 2013-12-26 2014-03-26 南通纺织职业技术学院 Universal reversible comparative switch
CN107045433A (en) * 2016-02-05 2017-08-15 索尼公司 System and method for the processing data in the circuit based on adder
CN107256534A (en) * 2017-05-16 2017-10-17 上海海事大学 The diminution of GQIR quantum images based on bilinear interpolation and amplification method
CN111832734A (en) * 2020-07-17 2020-10-27 重庆邮电大学 Design method of quantum image multiplication operation and simulation realization method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7680474B2 (en) * 2005-10-04 2010-03-16 Hypres Inc. Superconducting digital mixer
CN108806608B (en) * 2018-06-12 2020-06-02 京东方科技集团股份有限公司 Threshold voltage detection method and device of driving transistor and display device
CN108984849B (en) * 2018-06-21 2023-12-22 深圳万知达科技有限公司 Quantum comparator design method based on quantum superposition state
CN110765714A (en) * 2019-11-07 2020-02-07 浪潮电子信息产业股份有限公司 Quantum shor algorithm-oriented simulation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1423189A (en) * 2001-11-22 2003-06-11 深圳市中兴通讯股份有限公司上海第二研究所 Divider
CN103684368A (en) * 2013-12-26 2014-03-26 南通纺织职业技术学院 Universal reversible comparative switch
CN107045433A (en) * 2016-02-05 2017-08-15 索尼公司 System and method for the processing data in the circuit based on adder
CN107256534A (en) * 2017-05-16 2017-10-17 上海海事大学 The diminution of GQIR quantum images based on bilinear interpolation and amplification method
CN111832734A (en) * 2020-07-17 2020-10-27 重庆邮电大学 Design method of quantum image multiplication operation and simulation realization method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
量子乘法器的设计及其实现方法;袁素真 等;《重庆邮电大学学报(自然科学版)》;20190615;395-399 *

Also Published As

Publication number Publication date
CN112394905A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
US11442700B2 (en) Hardware accelerator method, system and device
CN107066234B (en) Design method of quantum multiplier
CN111310928B (en) Method for realizing universal quantum comparison circuit
CN112162723A (en) Quantum addition operation method and device, electronic device and storage medium
CN111581593B (en) Device for realizing configurable and reusable sectional lookup table activation function
US20140195581A1 (en) Fixed point division circuit utilizing floating point architecture
CN112394905B (en) Design method of quantum divider
CN112734023B (en) Reconfigurable circuit applied to activation function of cyclic neural network
WO2023055479A1 (en) Systems and methods for accelerating the computation of the exponential function
WO2024104427A1 (en) All-analog vector matrix multiplication processing-in-memory circuit and operation method thereof, computer device, and computer-readable storage medium
Seidel et al. Efficient floating point arithmetic for quantum computers
CN112162724B (en) Quantum division operation method and device with precision
CN112258543B (en) Quantum image self-adaptive segmentation method based on NEQR expression
CN111832734B (en) Design method of quantum image multiplication operation and simulation implementation method thereof
Phalak et al. Optimization of quantum read-only memory circuits
CN114168107A (en) Vector matrix multiplication method with adjustable memory precision and arithmetic unit
TWI724503B (en) Neural network method, system, and computer program product with inference-time bitwidth flexibility
CN114707655A (en) Quantum line conversion method, quantum line conversion system, storage medium and electronic equipment
Larasati et al. Simulation of modular exponentiation circuit for shor's algorithm in qiskit
Srikanthan et al. A novel technique for eliminating iterative based computation of polarity of micro-rotations in CORDIC based sine–cosine generators
Mahima et al. Reconfigurable Rounding based Approximate Multiplier for Floating Point Numbers
US11636176B2 (en) Interpolation method and apparatus for arithmetic functions
CN117892830B (en) Compensation method for qubit driven crosstalk, qubit compensation method and product
Lloris Ruiz et al. Multiplication
TWI826040B (en) Quantum circuit design method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant