QrackCircuit improvements
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.)