CQCL/pytket-cutensornet

Dagger should not depend on Circuit

Opened this issue · 2 comments

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.

I guess this will be fixed when we migrate to the Network class.

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!