US 12,106,179 B2
Measurement aggregation in quantum programs
Zachary Schoenfeld, New York, NY (US); Helena Zhang, White Plains, NY (US); and Soolu Thomas, White Plains, NY (US)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Dec. 17, 2020, as Appl. No. 17/125,312.
Prior Publication US 2022/0198309 A1, Jun. 23, 2022
Int. Cl. G06N 10/00 (2022.01); G06F 16/242 (2019.01)
CPC G06N 10/00 (2019.01) [G06F 16/244 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
a memory that stores computer executable components; and
a processor that executes at least one of the computer-executable components that:
accesses a quantum program comprising quantum instructions, wherein the quantum instructions comprise quantum measurement instructions and quantum non-measurement instructions, wherein the quantum measurement instructions perform operations that measure current states of qubits, and wherein the quantum non-measurement instructions perform operations associated with the qubits other than the operations that measure the current states of the qubits; and
generates a measurement aggregated quantum program that reduces a total quantity of the quantum measurement instructions in the quantum program by swapping at least one pair of adjacent quantum instructions of the quantum program, and merging at least one group of adjacent quantum measurement instructions of the quantum program into a multi-qubit quantum measurement instruction.