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

bugfix for measurement-log copy of GPU quantum state #242

Merged

Conversation

corryvrequan
Copy link
Contributor

@corryvrequan corryvrequan commented Jul 8, 2020

QuantumStateBase::copy and its overrides must copy not only the state vector but also previous measurement results. It works for CPU state, However, in the case of GPU state, only state vector was copied and measurement results are not copied. I've fixed this point.

@corryvrequan
Copy link
Contributor Author

This is simple bugfix, so self merged.

@corryvrequan corryvrequan merged commit a35a499 into qulacs:dev Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant