-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe there's a bug in 'apply_unitary_density_bmm' function? #254
Comments
I use
The output is :
But after applying Y gate, maybe the density is |
In https://github.com/mit-han-lab/torchquantum/blob/f1c3dfe01d7f347e80211bbac5f1369bf49876d4/torchquantum/functional/gate_wrapper.py , it seems right. |
Hi, thanks for letting us know! We are actively working on rebooting our density matrix in the branch dev-zhuoyang-dm and I've added @yezhuoyang to the issue to keep him in the loop. Feel free to open a PR to that branch as well so it's integrated in the next DM release! |
https://github.com/mit-han-lab/torchquantum/blob/c8a1ab64e2c0e9a6b570e2307e5ad10a5560f2b1/torchquantum/functional/gate_wrapper.py
LIne 301
maybe$U^\dagger$ .
matdag = torch.conj(mat)
is notThe text was updated successfully, but these errors were encountered: