Skip to content

QrackCircuit improvements

Compare
Choose a tag to compare
@WrathfulSpatula WrathfulSpatula released this 10 Sep 14:43
· 22 commits to main since this release

This adds inverse() and past_light_cone() methods to QrackCircuit. (inverse() returns a new QrackCircuit that is the exact overall inverse of the original, while past_light_cone() accepts a vector of qubits and returns a new QrackCircuit with just the gates on the "past light cone" of those qubits, i.e., having any potential causal influence.)