Quantum neural network training method and device, electronic equipment and medium

A quantum neural and network training technology, applied in the computer field, can solve the problem of difficult adjustment of model hyperparameters, and achieve the effect of convenient simulation

Active Publication Date: 2022-03-22
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the DNN model requires a lot of parameters. For large-scale DNNs, the number of parameters is often hundreds of millions. In addition, the hyperparameters of the model are also difficult to adjust, and it is easy to overfit during training.

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
  • Quantum neural network training method and device, electronic equipment and medium
  • Quantum neural network training method and device, electronic equipment and medium
  • Quantum neural network training method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0021] In the present disclosure, unless otherwise stated, using the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, temporal relationship or importance relationship of these elements, and such terms are only used for Distinguishes one element from another. In some examples, the first element and the second ...

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

The invention provides a quantum neural network training method and device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the field of computers, in particular to the technical field of quantum computers. According to the implementation scheme, L + 1 parameterized quantum circuits and L data coding circuits are determined; acquiring a plurality of training data pairs including independent variable data and dependent variable data; for each training data pair, alternately connecting parameterized quantum circuits and data coding circuits in series to form a quantum neural network, wherein the data coding circuits respectively code independent variable data in the training data pair; running the quantum neural network from an initial quantum state, and measuring the obtained quantum state to obtain a measurement result; calculating a loss function according to the measurement results corresponding to all the training data pairs and the corresponding dependent variable data; and adjusting to-be-trained parameters of the parameterized quantum circuit and the data coding circuit to minimize the loss function.

Description

technical field [0001] The present disclosure relates to the field of computers, in particular to the technical field of quantum computers, and in particular to a quantum neural network training method, device, electronic equipment, computer-readable storage medium, and computer program product. Background technique [0002] Many problems in daily production and life belong to the problem of function simulation, such as stock trend forecasting, weather forecasting, etc. With the development of artificial intelligence technology, Deep Neural Network (DNN) is widely used to solve the above problems. However, the DNN model requires a lot of parameters. For large-scale DNNs, the number of parameters is often hundreds of millions. In addition, the hyperparameters of the model are also difficult to adjust, and it is easy to overfit during training. [0003] With the rapid development of the field of quantum computing, recent quantum computing equipment can already support some sh...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06N3/04G06N3/08G06N10/20G06N10/60
CPCG06N3/08G06N10/00G06N3/045G06N3/084G06N10/20G06N3/04G06N10/60
Inventor 王鑫幺宏顺于思拙赵炫强
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products