Quantum average pooling calculation method
A computing method and quantum technology, applied in the field of quantum neural network computing, can solve problems such as incomparable supercomputing capabilities, and achieve the effects of reducing parameter dimensions, efficient storage and parallel processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Example 1: 4-qbit quantum information average pooling calculation:
[0046] Such as Figure 9As shown, the length and width of the convolution result information are 2-qbit each, and contain a total of 4-qbit quantum information, which is expanded by rows and recorded as the quantum state|f 4 >,|f 4 >=(c 0 ,c 1 ,c 2 ,c 3 ,c 4 ,c 5 ,c 6 ,c 7 ,c 8 ,c 9 ,c 10 ,c 11 ,c 12 ,c 13 ,c 14 ,c 15 ) T . Use the set average pooling kernel to perform an average pooling operation on the convolution result information, and the output contains a total of 2-qbit average pooling results, denoted as |g 2 >=(d 0 , d 1 , d 2 , d 3 ) T , take some values for illustration, namely
[0047] In order to obtain the above average pooling result|g 2 >, the quantum state |f 4 > enter as Figure 7 In the quantum average pooling circuit model shown, the quantum state |f 4 > first via exchange gate D 4 After the action, the position of the ground state of the quantum st...
Embodiment 2
[0051] Example 2: 6-qbit quantum information average pooling calculation:
[0052] The convolution result information of each 3-qbit length and width|f 6 > After the average pooling kernel operation, the pooling result information is obtained|g 4 >, the schematic diagram of quantum average pooling is as follows Figure 12 , take part of the value to illustrate that is
[0053] First, the quantum state |f 6 >=(c 0 ,c 1 ,c 2 ,c 3 ,c 4 ,c 5 ,c 6 ,c 7 ,...,c 60 ,c 61 ,c 62 ,c 63 ) T Input into Quantum Circuit Model Figure 10 In , the position of the ground state of the quantum state is changed through the operation of the switch gate of 3 qubits, and the quantum state after the change is (c 0 ,c 1 ,c 8 ,c 9 ,c 2 ,c 3 ,c 10 ,c 11 ,...,c 54 ,c 55 ,c 62 ,c 63 ) T , the specific truth table of the exchange gate operation is as follows Figure 11 as shown in the table. At the next moment, the exchanged quantum state passes through the H gate and the id...
Embodiment 3
[0054] Embodiment 3: 8-qbit quantum information average pooling calculation: the calculation method is the same as the calculation method of embodiment 1 and embodiment 2, and the 8-qbit quantum average pooling circuit model is as follows Figure 13 shown.
[0055] Through the calculation process of the above-mentioned embodiment 1, embodiment 2 and embodiment 3, it can be extended to the 2n-qbit quantum average pooling circuit model, such as image 3 As shown, the length and width of the quantum convolution result information are each n-qbit, and expanded by row to get |f 2n >=(c 0 ,c 1 ,c 2 ,...,c 2n ) T As input information, the following steps are required to obtain the quantum average pooling result:
[0056] 1), the quantum state|f 2n >Input into the built quantum average pooling circuit model image 3 middle.
[0057] 2), through the exchange gate D 2n role, |f 2n > The position of the quantum state ground state changes.
[0058] 3) The first qubit and the 2...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com