CN107180013A - A kind of method that quantum D (4) wavelet transformation realizes quantum wire design - Google Patents

A kind of method that quantum D (4) wavelet transformation realizes quantum wire design Download PDF

Info

Publication number
CN107180013A
CN107180013A CN201710324459.0A CN201710324459A CN107180013A CN 107180013 A CN107180013 A CN 107180013A CN 201710324459 A CN201710324459 A CN 201710324459A CN 107180013 A CN107180013 A CN 107180013A
Authority
CN
China
Prior art keywords
quantum
wavelet
circuit
transformation
tensor product
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.)
Granted
Application number
CN201710324459.0A
Other languages
Chinese (zh)
Other versions
CN107180013B (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.)
Guangxi Normal University
Original Assignee
Guangxi Normal University
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 Guangxi Normal University filed Critical Guangxi Normal University
Priority to CN201710324459.0A priority Critical patent/CN107180013B/en
Publication of CN107180013A publication Critical patent/CN107180013A/en
Application granted granted Critical
Publication of CN107180013B publication Critical patent/CN107180013B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/14Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
    • G06F17/148Wavelet transforms

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Complex Calculations (AREA)

Abstract

本发明提供一种量子D(4)小波变换实现量子线路设计的方法,属于量子信息处理领域,本发明设计单层量子D(4)小波变换,使用了两个旋转矩阵替换一般的酉矩阵,方法上是对现有的量子D(4)小波变换技术的一种创新。从量子D(4)小波变换和量子D(4)小波逆变换的实现线路复杂度分析可知,对于一个2n个元素的数据集,量子D(4)小波变换和量子D(4)小波逆变换的线路的复杂度都是Θ(n2),这是其它的经典快速D(4)小波变换无法达到的。本发明适用于很多实际的信息处理应用领域,例如,图像的压缩、去噪、加密和解密等算法都需要高效的D(4)小波变换,并对量子计算理论完善和应用的推广有重大意义。

The invention provides a method for realizing quantum circuit design through quantum D(4) wavelet transform, which belongs to the field of quantum information processing. The present invention designs single-layer quantum D (4) wavelet transform, and uses two rotation matrices to replace general unitary matrices. The method is an innovation to the existing quantum D (4) wavelet transform technology. From the circuit complexity analysis of quantum D (4) wavelet transform and quantum D (4) wavelet inverse transform, we can see that for a data set with 2 n elements, quantum D (4) wavelet transform and quantum D (4) wavelet inverse The complexities of the transformed circuits are all Θ(n 2 ), which cannot be achieved by other classical fast D (4) wavelet transforms. The present invention is applicable to many practical information processing application fields. For example, algorithms such as image compression, denoising, encryption and decryption all require efficient D (4) wavelet transform, and have great significance for the improvement of quantum computing theory and the promotion of applications. .

Description

一种量子D(4)小波变换实现量子线路设计的方法A method of quantum D(4) wavelet transform to realize quantum circuit design

技术领域technical field

本发明涉及量子信息处理领域,具体的来说是涉及一种量子D(4)小波变换实现量子线路设计的方法。The invention relates to the field of quantum information processing, in particular to a method for realizing quantum circuit design through quantum D(4) wavelet transform.

背景技术Background technique

量子计算是量子力学和计算机科学相结合的产物,量子计算的并行性、叠加性及其测量的不确定性是量子计算机优于经典计算机的根本。面对如此优势,量子信息的研究就显得很有必要,它成为世界各国战略竞争焦点,国家“十三五”规划纲要将量子通信与量子计算机列为国家战略意图的重大科技项目(科技创新2030-重大项目),并重点发展量子信息等引领产业变革的颠覆性技术。Quantum computing is the product of the combination of quantum mechanics and computer science. The parallelism, superposition and measurement uncertainty of quantum computing are fundamental to the superiority of quantum computers over classical computers. In the face of such advantages, the research of quantum information is very necessary. It has become the focus of strategic competition among countries in the world. The national "Thirteenth Five-Year Plan" lists quantum communication and quantum computers as major scientific and technological projects of the national strategic intention (Science and Technology Innovation 2030 -Major projects), and focus on the development of disruptive technologies such as quantum information that lead industrial transformation.

多贝西小波变换(Daubechies wavelet transformation)是最常使用到的小波转换之一,也是一种正交小波。D(4)小波变换是多贝西小波系列变换的一种比较简单变换,很容易经由快速小波转换实现,因此在信息处理领域有着重要的应用。相应的量子D(4)变换是量子信息处理的重要工具算法,在图像编码、边缘检测、图像水印等算法中有着广泛应用。Daubechies wavelet transformation (Daubechies wavelet transformation) is one of the most commonly used wavelet transformations, and it is also an orthogonal wavelet. D (4) Wavelet transform is a relatively simple transform of the Dobecy wavelet series transform, which can be easily realized by fast wavelet transform, so it has an important application in the field of information processing. The corresponding quantum D (4) transform is an important tool algorithm for quantum information processing, and it is widely used in algorithms such as image coding, edge detection, and image watermarking.

在经典计算中,信息单元用比特(Bit)表示,它只有两个状态:0态或1态。在量子计算中,信息单元用量子比特(Qubit)表示,它有两个基本量子态|0>和|1>,基本量子态简称为基态(Basis State)。一个量子比特可以是两个基态的线性组合,常被称为叠加态(Superposition),可表示为|ψ>=a|0>+b|1>。其中a和b是两个复数,满足|a|2+|b|2=1,因此也被称为概率幅。基态|0>和|1>,可用向量表示为:In classical computing, an information unit is represented by a bit (Bit), which has only two states: 0 state or 1 state. In quantum computing, the information unit is represented by a quantum bit (Qubit), which has two basic quantum states |0> and |1>, and the basic quantum state is referred to as the ground state (Basis State). A qubit can be a linear combination of two ground states, often called a superposition state (Superposition), which can be expressed as |ψ>=a|0>+b|1>. Where a and b are two complex numbers, satisfying |a| 2 +|b| 2 =1, so it is also called probability amplitude. The ground state |0> and |1> can be expressed as a vector:

它们的对偶向量可表示为<0|=[1 0],<1|=[0 1]。Their dual vectors can be expressed as <0|=[1 0], <1|=[0 1].

张量积(tensorproduct)是将小的向量空间合在一起,构成更大向量空间的一种方法,用符号表示,它有如下的含义:Tensor product (tensorproduct) is a method of combining small vector spaces to form a larger vector space, using the symbol Indicates that it has the following meanings:

假设U是n×n和V是m×m两个复矩阵Suppose U is n×n and V is m×m two complex matrices

那么So

假设二个酉矩阵集合为:中有m个n×n的矩阵, 中有n个m×m的矩阵。扩展的张量积是一个mn×mn的矩阵其中Suppose the set of two unitary matrices is: with There are m n×n matrices in There are n m×m matrices in . The extended tensor product is an mn×mn matrix in

中的每个矩阵都相同,Ai=A,此时可写成如果同时中的每个矩阵都相同Bi=B,这时扩展的张量积退化成普通的张量积 when Each matrix in is the same, A i =A, at this time can be written as if at the same time Each matrix in is the same B i =B, then the expanded tensor product degenerates into an ordinary tensor product

量子线路可以由一序列的量子比特门构成,在量子线路的表示图中,每条线都表示量子线路的连线,量子线路的执行顺序是从左到右。量子比特门可以方便的用矩阵形式表示,单量子比特门可以用一个2×2的酉矩阵U表示,即U+U=I,其中U+是U的共轭转置矩阵,I是单位阵。在双量子比特门中,最重要是受控非门,它有两个量子的比特输入和输出,分别是控制量子比特和目标量子比特。当控制位为1时,用黑点表示,当控制位为0时,用白点表示。一些基本量子比特门的名称、符号及相应的矩阵表示见图1。A quantum circuit can be composed of a sequence of qubit gates. In the representation diagram of a quantum circuit, each line represents the connection of the quantum circuit, and the execution order of the quantum circuit is from left to right. Qubit gates can be conveniently represented in matrix form, and single-qubit gates can be represented by a 2×2 unitary matrix U, that is, U + U = I, where U + is the conjugate transpose matrix of U, and I is the identity matrix . Among the two-qubit gates, the most important one is the controlled NOT gate, which has two qubit input and output, which are the control qubit and the target qubit respectively. When the control bit is 1, it is represented by a black dot, and when the control bit is 0, it is represented by a white dot. The names, symbols and corresponding matrix representations of some basic qubit gates are shown in Fig. 1.

由于现有的经典的经典的D(4)小波变换实现电子线路设计的复杂度为Θ(n2n),比较复杂,没能很好满足社会的需求。因此需要设计出复杂度更低的实现电子线路设计的方法。Since the existing classic D (4) wavelet transform realizes the complexity of electronic circuit design as Θ(n2 n ), it is relatively complicated and fails to meet the needs of the society. Therefore, it is necessary to design a method for realizing electronic circuit design with lower complexity.

发明内容Contents of the invention

本发明提供一种量子D(4)小波变换实现量子线路设计的方法,解决现有经典的D(4)小波变换实现电子线路设计的复杂度高的问题The invention provides a method for realizing quantum circuit design by quantum D (4) wavelet transform, which solves the problem of high complexity of realizing electronic circuit design by conventional classical D (4) wavelet transform

本发明通过以下技术方案解决上述问题:The present invention solves the above problems through the following technical solutions:

充分量子并行性和量子叠加性等量子计算的独特性能,采用扩展的张量积,建立D(4)小波变换的迭代公式,并利用量子受控门实现扩展的张量积,从而实现量子D(4)小波变换。具体来说,就是根据扩展的张量积运算原理设计出2个量子D(4)小波变换和2个量子D(4)小波逆变换的实现线路;Fully utilize the unique performance of quantum computing such as quantum parallelism and quantum superposition, use the extended tensor product, establish the iterative formula of D (4) wavelet transform, and use the quantum controlled gate to realize the extended tensor product, so as to realize the quantum D (4) Wavelet transform. Specifically, according to the principle of extended tensor product operation, two quantum D (4) wavelet transforms and two quantum D (4) wavelet inverse transforms are designed;

2个量子D(4)小波变换的实现线路分别包括单层量子D(4)小波变换的实现线路和K+1层量子D(4)小波变换的实现线路;The realization circuit of 2 quantum D (4) wavelet transforms comprises the realization circuit of single-layer quantum D (4) wavelet transform and the realization circuit of K+1 layer quantum D (4) wavelet transform respectively;

2个量子D(4)小波逆变换的实现线路分别包括单层量子D(4)小波逆变换的实现线路和K+1层量子D(4)小波逆变换的实现线路。The two realization circuits of quantum D (4) wavelet inverse transform respectively include the realization circuit of single-layer quantum D (4) wavelet inverse transformation and the realization circuit of K+1 layer quantum D (4) wavelet inverse transformation.

上述方案中,优选的是所述单层量子D(4)小波变换的实现线路的具体过程为:In the above-mentioned scheme, it is preferred that the concrete process of the realization circuit of described single-layer quantum D (4) wavelet transform is:

D(4)小波核矩阵定义为:D (4) The wavelet kernel matrix is defined as:

其中 in

可以用张量积表示为 can be expressed in tensor product as

其中是张量积运算符号,是I2的n次张量积,和和是两个旋转矩阵, in is the tensor product operation symbol, is the n times tensor product of I 2 , And and are two rotation matrices,

酉矩阵的迭代公式如下所示:unitary matrix The iterative formula for is as follows:

其中X和I2是图1中单量子比特门,是张量积运算符号,是I2的n次张量积,迭代初始值为Q2=X;where X and I2 are single-qubit gates in Figure 1, is the tensor product operation symbol, is the tensor product of n times of I 2 , and the initial value of iteration is Q 2 =X;

假设是一个2n×2n的酉矩阵,计算张量积可得到suppose Is a 2 n × 2 n unitary matrix, calculate the tensor product with available

由公式(3),可得到将它代入公式(2),从而得到单层量子D(4)小波变换:From formula (3), we can get Substituting it into formula (2), thus obtaining the single-layer quantum D (4) wavelet transform:

利用公式(5),设计出复杂度为Θ(n2)的单层量子D(4)小波变换的实现线路。Using the formula (5), the realization circuit of single-layer quantum D (4) wavelet transform with complexity Θ(n 2 ) is designed.

上述方案中,优选的是所述单层量子D(4)小波逆变换的实现线路的设计过程为:In the above-mentioned scheme, it is preferred that the design process of the implementation circuit of the single-layer quantum D (4) wavelet inverse transform is:

对公式(5)求逆,可得到D(4)小波核矩阵逆变换迭代式和酉矩阵Q2n的迭代式:By inverting the formula (5), the iterative formula of the D (4) wavelet kernel matrix inverse transformation and the iterative formula of the unitary matrix Q 2n can be obtained:

其中迭代初始值为(Q2)-1=X;The initial value of iteration is (Q 2 ) -1 =X;

结合公式(6),设计出复杂度为Θ(n2)的单层量子D(4)小波逆变换的实现线路。Combined with the formula (6), the implementation circuit of the single-layer quantum D (4) wavelet inverse transform with a complexity of Θ(n 2 ) is designed.

上述方案中,优选的是所述K+1层量子D(4)小波变换的实现线路设计实现过程为:将k+1层量子D(4)小波变换定义为利用扩展的张量积,可得到:In the above-mentioned scheme, it is preferred that the realization circuit design and implementation process of the K+1 layer quantum D (4) wavelet transform is: the k+1 layer quantum D (4) wavelet transform is defined as Using the extended tensor product, we can get:

其中I2是图1中单量子比特门,是张量积运算符号,是I2的n次张量积,为k层量子D(4)小波变换,为单层量子D(4)小波变换,迭代初始值为1≤k≤n-2,k、n均为正整数;where I 2 is the single-qubit gate in Figure 1, is the tensor product operation symbol, is the n times tensor product of I 2 , is the k-level quantum D (4) wavelet transform, is a single-layer quantum D(4) wavelet transform, and the initial value of iteration is 1≤k≤n-2, k and n are both positive integers;

结合公式(5)和(7),设计出复杂度为Θ(n2)的K+1层量子D(4)小波变换的实现线路。Combining formulas (5) and (7), the implementation circuit of K+1 layer quantum D (4) wavelet transform with complexity Θ(n 2 ) is designed.

上述方案中,优选的是所述K+1层量子D(4)小波逆变换的实现线路的实现具体过程为:In the above-mentioned scheme, it is preferred that the implementation of the implementation circuit of the K+1 layer quantum D (4) wavelet inverse transform is as follows:

为k+1层量子D(4)小波逆变换,对公式(7)求逆,可得到:make is k+1 layer quantum D (4) wavelet inverse transform, inverse formula (7), can get:

其中I2是图1中单量子比特门,是张量积运算符号,是I2的n次张量积,为k层量子D(4)小波逆变换,为单层量子D(4)小波逆变换(见公式(5)),迭代初始值为1≤k≤n-2,k、n均为正整数;where I 2 is the single-qubit gate in Figure 1, is the tensor product operation symbol, is the n times tensor product of I 2 , is the k-level quantum D (4) wavelet inverse transform, is the single-layer quantum D(4) wavelet inverse transform (see formula (5)), and the initial value of iteration is 1≤k≤n-2, k and n are both positive integers;

结合公式(6)和(8),设计出复杂度为Θ(n2)的k+1层量子D(4)小波逆变换的实现线路。Combining formulas (6) and (8), the implementation circuit of k+1 layer quantum D (4) wavelet inverse transform with complexity Θ(n 2 ) is designed.

本发明的优点与效果是:Advantage and effect of the present invention are:

1、本发明与现有的量子D(4)小波变换实现技术相比,本发明设计单层量子D(4)小波变换,使用了两个旋转矩阵替换一般的酉矩阵,方法上是对现有的量子D(4)小波变换技术的一种创新。1, the present invention is compared with existing quantum D (4) wavelet transform realization technology, the present invention designs single-layer quantum D (4) wavelet transform, has used two rotation matrices to replace general unitary matrix, is to present in the method There is an innovation of quantum D (4) wavelet transform technology.

2、本发明与现有的量子D(4)小波变换实现技术相比,本发明设计了多层量子D(4)小波变换和多层量子D(4)小波逆变换的实现线路,从而构建一个相对完整的量子D(4)小波变换体系。而现有技术只实现了单层量子D(4)小波变换,本发明是对现有的量子D(4)小波变换实现技术的完善与改进。2, the present invention compares with existing quantum D (4) wavelet transform realization technology, the present invention has designed the realization circuit of multilayer quantum D (4) wavelet transform and multilayer quantum D (4) wavelet inverse transform, thereby constructs A relatively complete quantum D (4) wavelet transform system. However, the prior art only realizes the single-layer quantum D (4) wavelet transform, and the present invention is the perfection and improvement of the existing quantum D (4) wavelet transform realization technology.

3、本发明与经典的D(4)小波变换实现技术相比,本发明利用量子线路实现的量子D(4)小波变换是一种高效的变换方法,本发明设计的量子D(4)小波变换的实现线路复杂度都是Θ(n2),而经典的快速D(4)小波变换的实现复杂度为Θ(2n)。3, the present invention compares with classic D (4) wavelet transform realization technology, the quantum D (4) wavelet transform that the present invention utilizes quantum circuit to realize is a kind of efficient transformation method, the quantum D (4) wavelet of the present invention's design The implementation complexity of the transform is Θ(n 2 ), while the implementation complexity of the classical fast D (4) wavelet transform is Θ(2 n ).

4、本发明充分量子并行性和量子叠加性等量子计算的独特性能,采用扩展张的张量积,首先实现单层量子D(4)小波变换和单层量子D(4)小波逆变换的迭代公式,然后建立多层量子D(4)变换的迭代公式和相应的量子D(4)小波逆变换的迭代公式。并采用量子线路来实现量子D(4)小波变换和相应的量子D(4)小波逆变换。4, the present invention has the unique properties of quantum computing such as sufficient quantum parallelism and quantum superposition, adopts the tensor product of expansion sheet, first realizes single-layer quantum D (4) wavelet transform and single-layer quantum D (4) wavelet inverse transform The iterative formula, and then establish the iterative formula of the multi-layer quantum D (4) transform and the corresponding iterative formula of the quantum D (4) wavelet inverse transform. And the quantum circuit is used to realize the quantum D (4) wavelet transform and the corresponding quantum D (4) wavelet inverse transform.

附图说明Description of drawings

图1为本发明基本量子门和对应矩阵的表示图;Fig. 1 is the representative figure of basic quantum gate of the present invention and corresponding matrix;

图2为本发明扩展张量积和对应的量子实现线路图;Fig. 2 is the extended tensor product of the present invention And the corresponding quantum implementation circuit diagram;

图3为本发明单层量子D(4)小波变换的实现线路图;Fig. 3 is the realization circuit diagram of single-layer quantum D (4) wavelet transform of the present invention;

图4为本发明单层量子D(4)小波变换的实现线路的简化符号表示图;Fig. 4 is the simplified symbol representation figure of the realization circuit of single-layer quantum D (4) wavelet transform of the present invention;

图5为本发明单层量子D(4)小波逆变换的实现线路图;Fig. 5 is the realization circuit diagram of single-layer quantum D (4) wavelet inverse transform of the present invention;

图6为本发明单层量子D(4)小波逆变换的实现线路的简化符号表示图;Fig. 6 is the simplified symbol representation figure of the realization circuit of single-layer quantum D (4) wavelet inverse transform of the present invention;

图7为本发明k+1层量子D(4)小波变换的实现线路图;Fig. 7 is the realization circuit diagram of k+1 layer quantum D (4) wavelet transform of the present invention;

图8为本发明k+1层量子D(4)小波逆变换的实现线路图;Fig. 8 is the realization circuit diagram of k+1 layer quantum D (4) wavelet inverse transform of the present invention;

图9为本发明单层量子D(4)小波变换的实现线路图;Fig. 9 is the realization circuit diagram of single-layer quantum D (4) wavelet transform of the present invention;

图10为本发明单层量子D(4)小波逆变换的实现线路图;Fig. 10 is the realization circuit diagram of single-layer quantum D (4) wavelet inverse transform of the present invention;

图11为本发明二层量子D(4)小波变换的实现线路图;Fig. 11 is the realization circuit diagram of two-layer quantum D (4) wavelet transform of the present invention;

图12为本发明二层量子D(4)小波逆变换的实现线路图。Fig. 12 is the realization circuit diagram of two-layer quantum D (4) wavelet inverse transform of the present invention.

具体实施方式detailed description

以下结合实施例对本发明作进一步说明。The present invention will be further described below in conjunction with embodiment.

实施例1:Example 1:

一种量子D(4)小波变换实现量子线路设计的方法,将量子计算与经典D(4)小波变换技术相结合得到量子D(4)小波变换。把D(4)小波变换根据扩展的张量积运算原理设计出单层量子D(4)小波变换的实现线路线路。A method for realizing quantum circuit design by quantum D(4) wavelet transform, combining quantum calculation with classical D (4) wavelet transform technology to obtain quantum D (4) wavelet transform. The D (4) wavelet transform is designed according to the extended tensor product operation principle to design the realization circuit of the single-layer quantum D (4) wavelet transform.

D(4)小波核矩阵定义为:D (4) The wavelet kernel matrix is defined as:

其中 in

可以用张量积表示为 can be expressed in tensor product as

其中是张量积运算符号,是I2的n次张量积,和和是两个旋转矩阵, in is the tensor product operation symbol, is the n times tensor product of I 2 , And and are two rotation matrices,

酉矩阵的迭代公式如下所示:unitary matrix The iterative formula for is as follows:

其中X和I2是图1中单量子比特门,是张量积运算符号,是I2的n次张量积,迭代初始值为Q2=X;where X and I2 are single-qubit gates in Figure 1, is the tensor product operation symbol, is the tensor product of n times of I 2 , and the initial value of iteration is Q 2 =X;

假设是一个2n×2n的酉矩阵,计算张量积可得到suppose Is a 2 n × 2 n unitary matrix, calculate the tensor product with available

由公式(3),可得到将它代入公式(2),从而得到单层量子D(4)小波变换:From formula (3), we can get Substituting it into formula (2), thus obtaining the single-layer quantum D (4) wavelet transform:

这两个张量积对应的量子线路如图2所示。结合公式((5),单层量子D(4)小波变换的量子实现线路如图3所示,其简化符号表示如图4所示。由图5知,单层量子D(4)小波变换的量子实现线路的复杂度是Θ(n2)。The quantum circuits corresponding to these two tensor products are shown in Figure 2. In conjunction with formula ((5), the quantum realization circuit of single-layer quantum D (4) wavelet transform is as shown in Figure 3, and its simplified symbol representation is as shown in Figure 4. Known by Figure 5, single-layer quantum D (4) wavelet transform The complexity of the quantum implementation circuit of is Θ(n 2 ).

本发明设计的单层量子D(4)小波变换的实现线路如图9所示。将n=3代入公式(5),得到Single-layer quantum D (4) wavelet transform of the present invention's design The implementation circuit is shown in Figure 9. Substituting n=3 into formula (5), we get

实现公式(9)就得到图9中的量子线路。The quantum circuit in Fig. 9 is obtained by realizing the formula (9).

实施例2:Example 2:

一种量子D(4)小波变换实现量子线路设计的方法,将量子计算与经典D(4)小波变换技术相结合得到量子D(4)小波变换。把D(4)小波变换根据扩展的张量积运算原理设计出单层量子D(4)小波逆变换的实现线路线路。A method for realizing quantum circuit design by quantum D(4) wavelet transform, combining quantum calculation with classical D (4) wavelet transform technology to obtain quantum D (4) wavelet transform. The D (4) wavelet transform is designed according to the extended tensor product operation principle to design the realization circuit of the single-layer quantum D (4) wavelet inverse transform.

对公式(5)求逆,可得到D(4)小波核矩阵逆变换迭代式和酉矩阵Q2n的迭代式:By inverting the formula (5), the iterative formula of the D (4) wavelet kernel matrix inverse transformation and the iterative formula of the unitary matrix Q 2n can be obtained:

其中迭代初始值为(Q2)-1=X;The initial value of iteration is (Q 2 ) -1 =X;

结合公式(6),单层量子D(4)小波逆变换的量子实现线路如图5所示,其简化符号表示如图6所示。由图5知,单层量子D(4)小波逆变换的量子实现线路的复杂度是Θ(n2)。Combined with formula (6), the quantum implementation circuit of the single-layer quantum D (4) wavelet inverse transform is shown in Figure 5, and its simplified symbol representation is shown in Figure 6. It is known from Fig. 5 that the complexity of the quantum realization circuit of the single-layer quantum D (4) wavelet inverse transform is Θ(n 2 ).

本发明设计的单层量子D(4)小波逆变换的实现线路如图10所示。将n=3代入公式(6),得到Single-layer quantum D (4) wavelet inverse transform designed by the present invention The implementation circuit is shown in Figure 10. Substituting n=3 into formula (6), we get

实现公式(10)就得到图10中的量子线路。The quantum circuit in Fig. 10 is obtained by realizing the formula (10).

实施例3:Example 3:

一种量子D(4)小波变换实现量子线路设计的方法,将量子计算与经典D(4)小波变换技术相结合得到量子D(4)小波变换。把D(4)小波变换根据扩展的张量积运算原理设计出K+1层量子D(4)小波变换的实现线路。A method for realizing quantum circuit design by quantum D(4) wavelet transform, combining quantum calculation with classical D (4) wavelet transform technology to obtain quantum D (4) wavelet transform. The D (4) wavelet transform is designed according to the extended tensor product operation principle to design the realization circuit of the K+1 layer quantum D (4) wavelet transform.

将k+1层量子D(4)小波变换定义为利用扩展的张量积,可得到:Define the k+1 layer quantum D (4) wavelet transform as Using the extended tensor product, we can get:

其中I2是图1中单量子比特门,是张量积运算符号,是I2的n次张量积,为k层量子D(4)小波变换,为单层量子D(4)小波变换,迭代初始值为1≤k≤n-2,k、n均为正整数;where I 2 is the single-qubit gate in Figure 1, is the tensor product operation symbol, is the n times tensor product of I 2 , is the k-level quantum D (4) wavelet transform, is a single-layer quantum D(4) wavelet transform, and the initial value of iteration is 1≤k≤n-2, k and n are both positive integers;

结合公式(5)和(7),在实现图4中的量子线路的基础上,k+1层量子D(4)小波变换的量子实现线路如图7所示,并可知量子实现线路的复杂度是Θ(n2)。Combining formulas (5) and (7), on the basis of realizing the quantum circuit in Figure 4, the quantum realization circuit of the k+1 layer quantum D (4) wavelet transform is shown in Figure 7, and it can be seen that the complexity of the quantum realization circuit The degree is Θ(n 2 ).

本发明设计的二层量子D(4)小波变换的实现线路如图11所示。将n=3和k=1代入公式(7),得到Two layers of quantum D (4) wavelet transform designed by the present invention The implementation circuit is shown in Figure 11. Substituting n=3 and k=1 into formula (7), we get

实现公式(11)就得到图11中的量子线路。The quantum circuit in Fig. 11 is obtained by realizing the formula (11).

实施例4:Example 4:

一种量子D(4)小波变换实现量子线路设计的方法,将量子计算与经典D(4)小波变换技术相结合得到量子D(4)小波变换。把D(4)小波变换根据扩展的张量积运算原理设计出K+1层量子D(4)小波逆变换的实现线路。A method for realizing quantum circuit design by quantum D(4) wavelet transform, combining quantum calculation with classical D (4) wavelet transform technology to obtain quantum D (4) wavelet transform. Based on the extended tensor product operation principle, the D (4) wavelet transform is used to design the realization circuit of K+1 layer quantum D (4) wavelet inverse transform.

为k+1层量子D(4)小波逆变换,对公式(7)求逆,可得到:make is k+1 layer quantum D (4) wavelet inverse transform, inverse formula (7), can get:

其中I2是图1中单量子比特门,是张量积运算符号,是I2的n次张量积,为k层量子D(4)小波逆变换,为单层量子D(4)小波逆变换(见公式(5)),迭代初始值为1≤k≤n-2,k、n均为正整数;where I 2 is the single-qubit gate in Figure 1, is the tensor product operation symbol, is the n times tensor product of I 2 , is the k-level quantum D (4) wavelet inverse transform, is the single-layer quantum D(4) wavelet inverse transform (see formula (5)), and the initial value of iteration is 1≤k≤n-2, k and n are both positive integers;

结合公式(6)和(8),在实现图6中的量子线路的基础上,k+1层量子D(4)小波逆变换的量子实现线路如图8所示,并可知量子实现线路的复杂度是Θ(n2)。Combining formulas (6) and (8), on the basis of realizing the quantum circuit in Figure 6, the quantum realization circuit of k+1 layer quantum D (4) wavelet inverse transform is shown in Figure 8, and it can be known that the quantum realization circuit The complexity is Θ(n 2 ).

本发明设计的二层量子D(4)小波逆变换的实现线路如图12所示。将n=3和k=1代入公式(8),得到Two-layer quantum D (4) wavelet inverse transform designed by the present invention The implementation circuit is shown in Figure 12. Substituting n=3 and k=1 into formula (8), we get

实现公式(12)就得到图12中的量子线路。The quantum circuit in Fig. 12 is obtained by realizing the formula (12).

本发明充分量子并行性和量子叠加性等量子计算的独特性能,采用扩展张的张量积,首先实现单层量子D(4)小波变换和单层量子D(4)小波逆变换的迭代公式,然后建立多层量子D(4)变换的迭代公式和相应的量子D(4)小波逆变换的迭代公式。并采用量子线路来实现量子D(4)小波变换和相应的量子D(4)小波逆变换。The present invention fully possesses the unique properties of quantum computing such as quantum parallelism and quantum superposition, and adopts the tensor product of expansion tensor to first realize the iterative formula of single-layer quantum D (4) wavelet transform and single-layer quantum D (4) wavelet inverse transform , and then establish the iterative formula of the multi-layer quantum D (4) transform and the corresponding iterative formula of the quantum D (4) wavelet inverse transform. And the quantum circuit is used to realize the quantum D (4) wavelet transform and the corresponding quantum D (4) wavelet inverse transform.

以上已对本发明创造的较佳实施例进行了具体说明,但本发明并不限于实施例,熟悉本领域的技术人员在不违背本发明创造精神的前提下还可以作出种种的等同的变型或替换,这些等同的变型或替换均包含在本申请的范围内。The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to the embodiments. Those skilled in the art can also make various equivalent modifications or replacements without violating the spirit of the present invention. , these equivalent modifications or replacements are included within the scope of the present application.

Claims (5)

1. a kind of method that quantum D (4) wavelet transformation realizes quantum wire design, it is characterised in that:Methods described is by quantum meter Calculate and classics D(4)Wavelet transformation technique, which is combined, obtains quantum D(4)Wavelet transformation, D(4)Wavelet transformation is according to the tensor of extension Product principle of operation designs 2 quantum D(4)Wavelet transformation and 2 quantum D(4)Wavelet inverse transformation realizes circuit;
2 quantum D(4)Wavelet transformation realize circuit respectively include individual layer quantum D(4)Wavelet transformation realizes circuit and K+1 layers Quantum D(4)Wavelet transformation realizes circuit;
2 quantum D(4)Wavelet inverse transformation realize circuit respectively include individual layer quantum D(4)Wavelet inverse transformation realizes circuit and K+ 1 layer of quantum D(4)Wavelet inverse transformation realizes circuit.
2. the method that a kind of quantum D (4) wavelet transformation according to claim 1 realizes quantum wire design, its feature exists In the individual layer quantum D(4)The detailed process for realizing circuit of wavelet transformation is:The tensor product principle of operation of extension is so as to obtain Go out, D(4)Small echo nuclear matrix is defined as:
Wherein
Can be with tensor product representation
WhereinIt is tensor product oeprator,It is I2N tensor product,With withIt is two spin matrixs,
Unitary matriceIterative formula it is as follows:
Wherein X and I2It is single quantum bit door in Fig. 1,It is tensor product oeprator,It is I2N tensor product, Iteration initial value is Q2=X;
Assuming thatIt is one 2n×2nUnitary matrice, calculate tensor productWithIt is available
By formula (3), it can obtainIt is substituted into formula (2), from And obtain individual layer quantum D(4)Wavelet transformation:
Using formula (5), complexity is designed for Θ (n2) individual layer quantum D(4)Wavelet transformation realizes circuit.
3. the method that a kind of quantum D (4) wavelet transformation according to claim 2 realizes quantum wire design, its feature exists In:The individual layer quantum D(4)The design process for realizing circuit of wavelet inverse transformation is:
Formula (5) is inverted, D is can obtain(4)Wavelet Kernel matrix inverse transformation is iterative and unitary matriceIt is iterative:
Wherein iteration initial value is (Q2)-1=X;
With reference to formula (6), complexity is designed for Θ (n2) individual layer quantum D(4)Wavelet inverse transformation realizes circuit.
4. the method that a kind of quantum D (4) wavelet transformation according to claim 3 realizes quantum wire design, its feature exists In:The K+1 layers of quantum D(4)Wavelet transformation realize circuit design implementation process be:OrderFor k+1 layers of quantum D(4)Small echo becomes Change, using the tensor product of extension, can obtain:
Wherein I2It is single quantum bit door in Fig. 1,It is tensor product oeprator,It is I2N tensor product, For k layers of quantum D(4)Wavelet transformation,For individual layer quantum D (4) wavelet transformation, iteration initial value is1≤k≤n- 2, k, n is positive integer;
With reference to formula (5) and (7), complexity is designed for Θ (n2) K+1 layer quantum D(4)Wavelet transformation realizes circuit.
5. the method that a kind of quantum D (4) wavelet transformation according to claim 4 realizes quantum wire design, its feature exists In:The K+1 layers of quantum D(4)The detailed process of realizing for realizing circuit of wavelet inverse transformation is:
OrderFor k+1 layers of quantum D(4)Wavelet inverse transformation, inverts to formula (7), can obtain:
Wherein I2It is single quantum bit door in Fig. 1,It is tensor product oeprator,It is I2N tensor product,For k layers of quantum D(4)Wavelet inverse transformation,It is small for individual layer quantum D (4).
CN201710324459.0A 2017-05-10 2017-05-10 Method for realizing quantum circuit design by quantum D (4) wavelet transform Expired - Fee Related CN107180013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710324459.0A CN107180013B (en) 2017-05-10 2017-05-10 Method for realizing quantum circuit design by quantum D (4) wavelet transform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710324459.0A CN107180013B (en) 2017-05-10 2017-05-10 Method for realizing quantum circuit design by quantum D (4) wavelet transform

Publications (2)

Publication Number Publication Date
CN107180013A true CN107180013A (en) 2017-09-19
CN107180013B CN107180013B (en) 2021-02-09

Family

ID=59831456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710324459.0A Expired - Fee Related CN107180013B (en) 2017-05-10 2017-05-10 Method for realizing quantum circuit design by quantum D (4) wavelet transform

Country Status (1)

Country Link
CN (1) CN107180013B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255784A (en) * 2018-01-15 2018-07-06 广西师范大学 Multi-layer quantum D(4)The method that quantum wire design is realized in wavelet package transforms and inverse transformation
CN108363677A (en) * 2018-01-15 2018-08-03 广西师范大学 The method that quantum wire design is realized in two-dimentional quantum Haar wavelet package transforms and inverse transformation
CN108710951A (en) * 2018-05-17 2018-10-26 合肥本源量子计算科技有限责任公司 A kind of method and system of structure quantum wire
CN108898228A (en) * 2018-06-21 2018-11-27 广西师范大学 A kind of quantum adder designs method for not destroying source operand
CN110826719A (en) * 2019-10-14 2020-02-21 合肥本源量子计算科技有限责任公司 Quantum program processing method and device, storage medium and electronic device
TWI802206B (en) * 2022-01-04 2023-05-11 國立成功大學 Quantum circuit for daubechies' d6 wavelet transform and inverse transform and manufacturing method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118608A (en) * 2007-08-23 2008-02-06 清华大学 A Decomposition Method for Arbitrary Qubit Gates
CN101216939A (en) * 2008-01-04 2008-07-09 江南大学 Multi-resolution medical image registration method based on quantum behavioral particle swarm optimization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118608A (en) * 2007-08-23 2008-02-06 清华大学 A Decomposition Method for Arbitrary Qubit Gates
CN101216939A (en) * 2008-01-04 2008-07-09 江南大学 Multi-resolution medical image registration method based on quantum behavioral particle swarm optimization

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
AMIR FIJANY ET AL.: "Quantum Wavelet Transforms Fast Algorithms and Complete Circuits", 《ARXIV:QUANT-PH/9809004V1》 *
HE YUGUO ET AL.: "Complete quantum circuit of Haar wavelet based MRA", 《CHINESE SCIENCE BULLETIN》 *
孙才智 等: "量子Daubechies-D(4)小波变换算法及应用研究", 《计算机工程与应用》 *
朱轩溢 等: "量子小波变换算法及线路实现", 《计算机应用与软件》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255784A (en) * 2018-01-15 2018-07-06 广西师范大学 Multi-layer quantum D(4)The method that quantum wire design is realized in wavelet package transforms and inverse transformation
CN108363677A (en) * 2018-01-15 2018-08-03 广西师范大学 The method that quantum wire design is realized in two-dimentional quantum Haar wavelet package transforms and inverse transformation
CN108255784B (en) * 2018-01-15 2024-01-09 宁波亚翔电子科技有限公司 Multilayer quantum D (4) Method for realizing quantum circuit design by wavelet packet transformation and inverse transformation
CN108363677B (en) * 2018-01-15 2024-04-26 湖南哥禄安科技有限公司 Method for realizing quantum circuit design by two-dimensional quantum Haar wavelet packet transformation and inverse transformation
CN108710951A (en) * 2018-05-17 2018-10-26 合肥本源量子计算科技有限责任公司 A kind of method and system of structure quantum wire
CN108898228A (en) * 2018-06-21 2018-11-27 广西师范大学 A kind of quantum adder designs method for not destroying source operand
CN108898228B (en) * 2018-06-21 2024-03-08 广西师范大学 Quantum adder design method without damaging source operands
CN110826719A (en) * 2019-10-14 2020-02-21 合肥本源量子计算科技有限责任公司 Quantum program processing method and device, storage medium and electronic device
CN110826719B (en) * 2019-10-14 2022-08-16 合肥本源量子计算科技有限责任公司 Quantum program processing method and device, storage medium and electronic device
TWI802206B (en) * 2022-01-04 2023-05-11 國立成功大學 Quantum circuit for daubechies' d6 wavelet transform and inverse transform and manufacturing method thereof

Also Published As

Publication number Publication date
CN107180013B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN107180013A (en) A kind of method that quantum D (4) wavelet transformation realizes quantum wire design
CN107025206B (en) A Quantum Fourier Transform Method for Designing Quantum Circuits
Park et al. Minimum width for universal approximation
Li et al. Quantum implementation circuits of quantum signal representation and type conversion
CN107153632A (en) A kind of method that quantum Haar wavelet transformations realize quantum wire design
CN108984849B (en) Quantum comparator design method based on quantum superposition state
Li et al. The multi-level and multi-dimensional quantum wavelet packet transforms
CN110474769B (en) Quantum color image encryption method based on direction modification
Shao et al. Open-set adversarial defense with clean-adversarial mutual learning
Tang et al. A fast learning algorithm for multi-layer extreme learning machine
CN109002894B (en) A Design Method of Quantum Adder Based on Quantum Superposition State
Yuan et al. Quantum morphology operations based on quantum representation model
Li et al. Lst-net: Learning a convolutional neural network with a learnable sparse transform
Shiina et al. Inverse renormalization group based on image super-resolution using deep convolutional networks
Li et al. Three-dimensional quantum wavelet transforms
CN108255784A (en) Multi-layer quantum D(4)The method that quantum wire design is realized in wavelet package transforms and inverse transformation
Yan et al. Lessons from twenty years of quantum image processing
Yuan et al. Improved quantum dilation and erosion operations
Chen et al. Robustness and explainability of image classification based on qcnn
CN108898228B (en) Quantum adder design method without damaging source operands
WO2023231543A1 (en) Quantum state preparation circuit generation method, quantum state preparation method, and quantum device
WO2023207486A1 (en) Generation method and apparatus for quantum state preparation circuit, and quantum chip and electronic device
CN113138756B (en) Method and system for quantum computer to realize conditional statement
CN108964887B (en) Quantum image encryption method based on NASS quantum image representation
CN115470526A (en) Processing method and device for anti-attack data based on black box model

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210209