Skip to content
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

CalcQuregDerivs invalid on density-matrices #79

Open
TysonRayJones opened this issue Jan 10, 2020 · 1 comment
Open

CalcQuregDerivs invalid on density-matrices #79

TysonRayJones opened this issue Jan 10, 2020 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@TysonRayJones
Copy link
Member

For state-vectors, CalcQuregDerivs computes

d/dx ( U(x) U(y) |z> )  = dU(x)/dx U(y) |z>

For density-matrices, it makes sense that this function should perform

d/dx ( U(x) U(y) |z><z| U(y)^ U(x)^ ) 

= dU(x)/dx U(y) |z><z| U(y)^ U(x)^ + U(x) U(y) |z><z| U(y)^ dU(x)^/dx

However, currently this function will effect on density-matrices

U(x) U(y) |z><z| U(y)^ U(x)^   ->    c dU(x)dx U(y) |z><z| U(y)^ (dU(x)/dx)^

where c is an incorrect normalisation.

  • In the meantime, disable CalcQuregDerivs for density matrices.
  • Update CalcQuregDerivs to calculate the correct derivatives of the channel.
@TysonRayJones TysonRayJones added bug Something isn't working enhancement New feature or request labels Jan 10, 2020
@TysonRayJones TysonRayJones self-assigned this Jan 10, 2020
@TysonRayJones
Copy link
Member Author

CalcQuregDerivs disabled on density matrices in 5bcdae2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant