Quantum Neural Network Pre-Training for Reduced Training Time

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The long training time required for quantum neural networks (QNNs) due to the need for many measurements in each optimization step, which can erode the quantum advantage in solving problems like image classification.

Innovation Solution

The implementation of pre-training for quantum neural networks, where a first QNN is trained using a dataset different from the second dataset, and the pre-trained setting is used to generate outputs for the second QNN, which is then trained in a fixed setting.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the entire QNN is trained from scratch using many measurements in each optimization step, then the QNN can be trained to solve problems, but the training time becomes excessively long and erodes quantum advantage

Engineering Contradiction:
Improvetraining effectivenessVSAvoidtraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies pre-training by first training a first QNN on a first dataset to establish an initial set of weights and configurations. This preliminary training creates a foundation that is then transferred to a second QNN, which only needs to be trained on a second dataset using the pre-trained settings as initialization. This preliminary action significantly reduces the training time required for the second QNN while maintaining training effectiveness.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The training process is segmented into two distinct phases: a first training phase that trains a first QNN on a first dataset, and a second training phase that trains a second QNN on a second dataset using the pre-trained settings from the first phase. This segmentation allows each phase to focus on specific tasks, with the first phase establishing general features and the second phase refining them for specific problems, thereby reducing overall training time.

Inventive Principle:
Principle #1Segmentation

2Loss of time

If a first QNN is trained on a first dataset and then used to generate outputs for training a second QNN on a second dataset, then training time is reduced, but the complexity of the training process increases

Engineering Contradiction:
Improvetraining timeVSAvoidtraining process complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The pre-trained settings from the first QNN act as an intermediary that bridges the two training processes. Instead of training the second QNN from scratch, the pre-trained settings serve as a transferable intermediary that encapsulates useful features learned during the first training phase. This intermediary reduces the computational burden of the second training phase while organizing the complexity into a manageable transfer learning framework.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The first QNN's pre-trained settings are designed to be universally applicable to the second QNN's training process. The same pre-trained weights and configurations can be transferred across different datasets and tasks, making the training process more efficient and reducing the need for complete retraining. This multi-functionality of the pre-trained model reduces training time while the modular architecture manages complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12265887B2Apparatus and methods for quantum computing with pre-training
Publication Date: 2025.04.01 XANADU QUANTUM TECHNOLOGIES HOLDINGS ULC
  • US12265887B2 patent drawing
  • US12265887B2 patent drawing
  • US12265887B2 patent drawing

AI summary

A method includes training a first QNN by sending a first dataset into the first QNN to generate a first output and configuring the first QNN into a first setting based on the training. The method also includes receiving a second dataset, using at least a portion of the first QNN to generate a second output using the first setting, and sending the second output to a second QNN, operatively coupled to the first QNN, to train the second QNN. The second QNN is configured in a fixed setting during training of the first QNN.