Patent ID: 11966815
Assignee: ORIGIN QUANTUM COMPUTING TECHNOLOGY (HEFEI) CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 6:
7. The method according to claim 6, wherein the constructing, based on the first qubit and a breakpoint of the piecewise linear function, a first quantum sub-circuit for comparing the independent variable with an abscissa of the breakpoint comprises:
obtaining the second qubit for outputting the piecewise linear function;
obtaining an auxiliary bit corresponding to the first qubit, and the comparison bit for outputting the comparison result; and
determining, based on the abscissa of the breakpoint, a quantum logic gate of the to-be-constructed first quantum sub-circuit for comparing the independent variable with the abscissa of the breakpoint, and constructing the first quantum sub-circuit in combination with the first qubit, the auxiliary bit, and the comparison bit.