-
公开(公告)号:US20230244459A1
公开(公告)日:2023-08-03
申请号:US17589647
申请日:2022-01-31
Applicant: Intel Corporation
Inventor: XIANG ZOU , JUSTIN HOGABOAM , PRADNYA LAXMAN KHALATE , XIN-CHUAN WU , ANNE MATSUURA , SHAVINDRA PREMARATNE
IPC: G06F8/41
CPC classification number: G06F8/447
Abstract: Apparatus and method for compiling and executing hybrid classical-quantum programs. For example, one embodiment of a method comprises: reading source code specifying both non-quantum operations to be performed by a host processor and quantum operations to be performed by a quantum accelerator; compiling the source code to generate a target object file, wherein portions of the source code specifying the quantum operations are compiled into quantum basic blocks (QBBs) in the target object file, each QBB comprising one or more quantum instructions to be executed by the quantum accelerator and wherein portions of the source code specifying the non-quantum operations are compiled into native instructions to be executed by the host processor.