Patent ID: 11934464
Assignee: MULTIVERSE COMPUTING S.L.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 20:
21. The non-transitory computer-readable medium according to claim 19, wherein the cost function comprises an additional set of variational parameters, the additional set of variational parameters comprising at least one group of three variational parameters, and the additional set of variational parameters being common to all the labels, and wherein the computer-executable instructions, when executed by the processor, also cause the processor to, before calculating the cost of the cost function, send the initial label vector of each label one by one to the quantum computer, the quantum computer being configured to, for each initial label vector received from the classical digital computer:
translate said initial label vector into a corresponding initial quantum state of a qubit, and initialize the qubit in the quantum circuit in said quantum state;
implement the quantum circuit, each layer of the quantum circuit modifying the quantum state of the qubit based on the values of the three optimized variational parameters in each group of the additional set of variational parameters, and the last layer modifying the quantum state of the qubit to a final quantum state; and
measure and send the final quantum state of the qubit in the quantum circuit to the classical digital computer;, the computer-executable instructions, when executed by the processor, also causing the processor to translate the final quantum state of the qubit to a corresponding final label vector of the corresponding label, and to calculate the cost of the cost function based on the final position vectors of the data points of the data set and the final label vectors of the labels.