IP Library Granted Patent US 12,725,065
Granted Patent B2
US 12,725,065 · App. 18/202,209 · Granted Sep 1, 2026

Method and apparatus for fabricating quantum circuit, device, medium, and product

Inventors: Yuqin Chen (Shenzhen, CN); Shengyu Zhang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06N10/20
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,725,065
App. No.
18/202,209
Granted
Sep 1, 2026
Kind
B2
Abstract

Disclosed are a method for obtaining a quantum circuit performed by a computer device, relating to the field of quantum technologies. The method includes: obtaining a combination of identity matrices and Pauli Z matrices as a diagonal matrix basis; determining a dynamical evolution relationship of imaginary time diagonal control based on the diagonal matrix basis and a dynamical evolution relationship of quantum imaginary time control; determining a first quantum circuit of imaginary time diagonal control based on the dynamical evolution relationship of imaginary time diagonal control; determining a second quantum circuit based on a variational quantum approximation algorithm; and cyclically alternating the first quantum circuit and the second quantum circuit to obtain a quantum circuit.

Claims (59)

1 . A method for obtaining a quantum circuit, performed by a computer device, the method comprising:

obtaining a combination of identity matrices and Pauli Z matrices as a diagonal matrix basis;

determining a dynamical evolution relationship of imaginary time diagonal control based on a dynamical evolution relationship of quantum imaginary time control and the diagonal matrix basis;

determining a first quantum circuit of imaginary time diagonal control based on the dynamical evolution relationship of imaginary time diagonal control;

determining a second quantum circuit based on a variational quantum approximation algorithm; and

obtaining a quantum circuit using a cyclic alternating circuit of the first quantum circuit and the second quantum circuit.

2 . The method according to claim 1 , wherein the determining a first quantum circuit of imaginary time diagonal control based on the dynamical evolution relationship of imaginary time diagonal control comprises:

performing unitary transformation on the dynamical evolution relationship of imaginary time diagonal control through an imaginary time evolution unitary approximation method to obtain the first quantum circuit of imaginary time diagonal control.

3 . The method according to claim 2 , wherein the performing unitary transformation on the dynamical evolution relationship of imaginary time diagonal control through an imaginary time evolution unitary approximation method to obtain the first quantum circuit of imaginary time diagonal control comprises:

transforming the dynamical evolution relationship of imaginary time diagonal control into a candidate quantum circuit; and

performing unitary transformation on the candidate quantum circuit through the imaginary time evolution unitary approximation method to obtain the first quantum circuit.

4 . The method according to claim 1 , wherein the determining a second quantum circuit based on a variational quantum approximation algorithm comprises:

obtaining a candidate quantum circuit;

obtaining a preset loss function, the preset loss function defining an expected value of a circuit parameter of the candidate quantum circuit;

determining a loss value of the candidate quantum circuit based on a quantum operation result of the candidate quantum circuit and the preset loss function; and

training the candidate quantum circuit based on the loss value to obtain the second quantum circuit.

5 . The method according to claim 4 , wherein the candidate quantum circuit is a variational circuit and the circuit parameter is a quantum gate parameter of the variational circuit.

6 . The method according to claim 4 , wherein the training the candidate quantum circuit based on the loss value to obtain the second quantum circuit comprises updating the circuit parameter to reduce the loss value of preset loss function until it satisfies a predefined threshold.

7 . The method according to claim 1 , wherein the obtaining a quantum circuit using a cyclic alternating circuit of the first quantum circuit and the second quantum circuit comprises:

alternately setting the first quantum circuit and the second quantum circuit with a preset imaginary time step as a cycle to obtain the quantum circuit.

8 . A computer device, the computer device comprising a processor and a memory, the memory storing at least one instruction, and the at least one instruction, when executed by the processor, causing the computer device to implement a method for obtaining a quantum circuit including:

obtaining a combination of identity matrices and Pauli Z matrices as a diagonal matrix basis;

determining a dynamical evolution relationship of imaginary time diagonal control based on a dynamical evolution relationship of quantum imaginary time control and the diagonal matrix basis;

determining a first quantum circuit of imaginary time diagonal control based on the dynamical evolution relationship of imaginary time diagonal control;

determining a second quantum circuit based on a variational quantum approximation algorithm; and

obtaining a quantum circuit using a cyclic alternating circuit of the first quantum circuit and the second quantum circuit.

9 . The computer device according to claim 8 , wherein the determining a first quantum circuit of imaginary time diagonal control based on the dynamical evolution relationship of imaginary time diagonal control comprises:

performing unitary transformation on the dynamical evolution relationship of imaginary time diagonal control through an imaginary time evolution unitary approximation method to obtain the first quantum circuit of imaginary time diagonal control.

10 . The computer device according to claim 9 , wherein the performing unitary transformation on the dynamical evolution relationship of imaginary time diagonal control through an imaginary time evolution unitary approximation method to obtain the first quantum circuit of imaginary time diagonal control comprises:

transforming the dynamical evolution relationship of imaginary time diagonal control into a candidate quantum circuit; and

performing unitary transformation on the candidate quantum circuit through the imaginary time evolution unitary approximation method to obtain the first quantum circuit.

11 . The computer device according to claim 8 , wherein the determining a second quantum circuit based on a variational quantum approximation algorithm comprises:

obtaining a candidate quantum circuit;

obtaining a preset loss function, the preset loss function defining an expected value of a circuit parameter of the candidate quantum circuit;

determining a loss value of the candidate quantum circuit based on a quantum operation result of the candidate quantum circuit and the preset loss function; and

training the candidate quantum circuit based on the loss value to obtain the second quantum circuit.

12 . The computer device according to claim 11 , wherein the candidate quantum circuit is a variational circuit and the circuit parameter is a quantum gate parameter of the variational circuit.

13 . The computer device according to claim 11 , wherein the training the candidate quantum circuit based on the loss value to obtain the second quantum circuit comprises updating the circuit parameter to reduce the loss value of preset loss function until it satisfies a predefined threshold.

14 . The computer device according to claim 8 , wherein the obtaining a quantum circuit using a cyclic alternating circuit of the first quantum circuit and the second quantum circuit comprises:

alternately setting the first quantum circuit and the second quantum circuit with a preset imaginary time step as a cycle to obtain the quantum circuit.

15 . A non-transitory computer-readable storage medium storing at least one instruction, and the at least one instruction, when executed by a processor of a computer device, causing the computer device to implement a method for obtaining a quantum circuit including:

obtaining a combination of identity matrices and Pauli Z matrices as a diagonal matrix basis;

determining a dynamical evolution relationship of imaginary time diagonal control based on a dynamical evolution relationship of quantum imaginary time control and the diagonal matrix basis;

determining a first quantum circuit of imaginary time diagonal control based on the dynamical evolution relationship of imaginary time diagonal control;

determining a second quantum circuit based on a variational quantum approximation algorithm; and

obtaining a quantum circuit using a cyclic alternating circuit of the first quantum circuit and the second quantum circuit.

16 . The non-transitory computer-readable storage medium according to claim 15 , wherein the determining a first quantum circuit of imaginary time diagonal control based on the dynamical evolution relationship of imaginary time diagonal control comprises:

performing unitary transformation on the dynamical evolution relationship of imaginary time diagonal control through an imaginary time evolution unitary approximation method to obtain the first quantum circuit of imaginary time diagonal control.

17 . The non-transitory computer-readable storage medium according to claim 16 , wherein the performing unitary transformation on the dynamical evolution relationship of imaginary time diagonal control through an imaginary time evolution unitary approximation method to obtain the first quantum circuit of imaginary time diagonal control comprises:

transforming the dynamical evolution relationship of imaginary time diagonal control into a candidate quantum circuit; and

performing unitary transformation on the candidate quantum circuit through the imaginary time evolution unitary approximation method to obtain the first quantum circuit.

18 . The non-transitory computer-readable storage medium according to claim 15 , wherein the determining a second quantum circuit based on a variational quantum approximation algorithm comprises:

obtaining a candidate quantum circuit;

obtaining a preset loss function, the preset loss function defining an expected value of a circuit parameter of the candidate quantum circuit;

determining a loss value of the candidate quantum circuit based on a quantum operation result of the candidate quantum circuit and the preset loss function; and

training the candidate quantum circuit based on the loss value to obtain the second quantum circuit.

19 . The non-transitory computer-readable storage medium according to claim 18 , wherein the training the candidate quantum circuit based on the loss value to obtain the second quantum circuit comprises updating the circuit parameter to reduce the loss value of preset loss function until it satisfies a predefined threshold.

20 . The non-transitory computer-readable storage medium according to claim 15 , wherein the obtaining a quantum circuit using a cyclic alternating circuit of the first quantum circuit and the second quantum circuit comprises:

alternately setting the first quantum circuit and the second quantum circuit with a preset imaginary time step as a cycle to obtain the quantum circuit.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 10, 2026
From: CHEN, YUQIN; ZHANG, SHENGYU
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 075234/0974 →
Priority Claims (1)
CN 202210066132.9 · Jan 20, 2022 · national
Continuity (2)
Continuation PCTCN2022136344 · Dec 2, 2022
Related Publication 20240005192A1 · Jan 4, 2024
References Cited (11)
US 20210011748A1 · Lee et al. · 2021 [cited by applicant]
US 20230016119A1 · Wei · 2023 [cited by examiner]
CN 113807525A · 2021 [cited by applicant]
CN 113935491A · 2022 [cited by applicant]
JP 2020201566A · 2020 [cited by applicant]
WO WO2020095051A2 · 2020 [cited by applicant]
WO WO2022217854A1 · 2022 [cited by examiner]
Tencent Technology, WO, PCT/CN2022/136344, Feb. 13, 2023, 3 pgs. [cited by applicant]
Tencent Technology, IPRP, PCT/CN2022/136344, Jul. 23, 2024, 4 pgs. [cited by applicant]
Tencent Technology, Japanese Office Action, JP Patent Application No. 2023-551962, Sep. 2, 2024, 5 pgs. [cited by applicant]
Tencent Technology, ISR, PCT/CN2022/136344, Feb. 13, 2023, 2 pgs. [cited by applicant]