CPC G06N 10/00 (2019.01) [G06F 12/1416 (2013.01)] | 20 Claims |
1. A system, comprising:
a memory that stores computer executable components;
a processor that executes the computer executable components stored in the memory, wherein the computer executable components comprise:
a circuit rewriting component that:
determines instrumentation information that defines at least one effect on a qubit state that is caused by instrumentation employed on the source quantum circuit to perform a qubit state measurement of a qubit, wherein the at least one effect comprises the qubit state no longer being valid resulting in dead code with respect to further measurements;
propagates the instrumentation information through the source quantum circuit to identify at least one other qubit of the source quantum circuit whose state is causally connected to the qubit state measurement of the qubit using the instrumentation, based on the at least one other qubit interacting with the qubit via at least one gate; and
rewrites the source quantum circuit into instrumented circuits based on the at least one other qubit of the source quantum circuit whose state is causally connected to the qubit state measurement of the qubit using the instrumentation.
|