Quantum machine learning model training method and device based on block coding
The block-coded quantum machine learning model training method utilizes non-unitary matrices to operate on quantum circuits, solving the problems of insufficient function fitting and excessive number of runs in existing technologies, and improving the training efficiency of quantum machine learning models.
CN121920563APending Publication Date: 2026-04-24ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD
0 Cites 0 Cited by
Patent Information
- Application Number
- CN202411441037.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2026-04-24
AI Technical Summary
Technical Problem
Existing quantum machine learning model training methods cannot perform non-unitary matrix operations, resulting in fewer classical neural network functions that can be fitted and simulated, and a greater number of quantum circuit runs, which reduces training efficiency.
Method used
The input data and target gradient are encoded into the quantum circuit using a block encoding method. The parameters are updated using a non-unitary matrix until the loss function reaches the training cutoff condition. The parameters are then optimized using a gradient optimization algorithm.
Benefits of technology
It enables more functional classical neural network fitting and simulation, reduces the number of times quantum circuits are run, and improves training efficiency.
✦ Generated by Eureka AI based on patent content.
Abstract
The invention relates to the technical field of quantum machine learning, in particular to a quantum machine learning model training method and device based on block coding, and the method comprises the steps: obtaining input data and a loss function of a target layer in a to-be-trained quantum machine learning model; coding a transpose matrix of the input data and a target first gradient block to the quantum circuit to obtain a first quantum circuit; the target first gradient is a gradient of an output data relative loss function obtained by the input data passing through a target layer; operating the first quantum circuit to obtain a second gradient of the parameter of the parameter-containing non-unitary matrix relative to the loss function; and updating the parameter of the parameter-containing non-unitary matrix according to the second gradient so as to update the value of the loss function and the target first gradient until the loss function reaches a training cut-off condition. According to the method, more functions of the classic neural network can be fitted and simulated, the loss function of the classic neural network can be optimized more easily by combining the parallel computing advantage of quantum computing, the parameter gradient in a quantum machine learning model can be calculated conveniently, and the number of quantum line operation times is greatly reduced.
Need to check novelty before this filing date? Find Prior Art