Supercharge Your Innovation With Domain-Expert AI Agents!

Lightweight and rapid quantum circuit simulation implementation system based on PyTorch

A quantum circuit and system implementation technology, applied in the field of quantum computing, can solve problems such as inflexible computing and slowness, and achieve the effect of increasing flexibility and optimizing operating efficiency

Pending Publication Date: 2022-05-24
SHANGHAI JIAO TONG UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problems existing in the existing quantum circuit simulation framework, such as inflexibility and slow calculation, the present invention proposes a light and fast quantum circuit simulation implementation system based on PyTorch, and utilizes the characteristics of quantum gate circuits to convert the matrix in quantum circuit simulation into The multiplication calculation process is modularized to reduce the time complexity of calculation; at the same time, the appropriate calculation backend is automatically selected according to the user's computing equipment, which greatly improves the calculation speed and can more efficiently and flexibly deal with complex quantum circuit simulation implementation scenarios

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Lightweight and rapid quantum circuit simulation implementation system based on PyTorch
  • Lightweight and rapid quantum circuit simulation implementation system based on PyTorch
  • Lightweight and rapid quantum circuit simulation implementation system based on PyTorch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] like figure 1 As shown, this embodiment relates to a quantum circuit model for image classification based on the quantum circuit simulation implementation system, including: the quantum circuit design module, the quantum circuit conversion module, and the quantum circuit calculation module and user-defined input images and category labels, wherein: the quantum circuit design module obtains the quantum circuit object according to the quantum circuit description defined by the user; the quantum circuit conversion module compiles and converts the quantum circuit object to obtain the quantum circuit PyTorch module, The quantum circuit calculation module performs calculation processing according to the quantum circuit PyTorch module and the quantum state input by the user, and obtains the measurement result of the quantum circuit; the result is combined with the user-defined PyTorch optimizer to realize the image classification task. The quantum circuit input by the user des...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A PyTorch-based lightweight and rapid quantum circuit simulation implementation system comprises a quantum circuit design module, a quantum circuit conversion module and a quantum circuit calculation module, and the quantum circuit design module constructs a corresponding quantum circuit object according to a quantum circuit description input by a user; the quantum circuit conversion module performs conversion and compiling according to the quantum circuit object to obtain a corresponding quantum circuit PyTorch object; and the quantum circuit calculation module performs quantum circuit analog calculation according to the quantum circuit PyTorch object and a quantum state input by a user to obtain a measurement result used for forming a complete quantum circuit model. According to the invention, a complex quantum circuit simulation implementation scene can be more efficiently and flexibly dealt with.

Description

technical field [0001] The invention relates to a technology in the field of quantum computing, in particular to a lightweight and fast quantum circuit simulation implementation system based on PyTorch. Background technique [0002] It is increasingly difficult for classical computers to provide sufficient computing speed, and the birth of quantum computing has brought new solutions to many computer-related problems. The existing quantum circuit computing simulation framework implemented in Python mainly supports the definition and modular operation of quantum circuits. After the definition of the quantum circuit is completed, the functions in it can be directly called to obtain the unitary matrix form corresponding to the quantum circuit, which greatly facilitates the realization of the quantum autoencoder and logarithmic encoding. However, since each time the parameters are updated, the unitary matrix needs to be recalculated, which greatly slows down the operation speed ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06N10/20
CPCG06N10/00Y02E60/00
Inventor 谢哲申倬豪唐豪金贤敏
Owner SHANGHAI JIAO TONG UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More