Dagger should not depend on Circuit
Opened this issue · 2 comments
NathanCQC commented
Dagger not depend on the self._circuit It should only depend on the _cuquantum_interleaved() method.
This is because once the circuit is post selected by adding caps to the post select qubits. When this network is daggered. It does not know about the caps and returns an un post selected network.
NathanCQC commented
I guess this will be fixed when we migrate to the Network class.
yapolyak commented
I think cuQuantum actually has this functionality now, so we could totally look into adding it. Or we can discuss how to fix this ourselves!