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

Remove forcehermitian, add plusadjoint #38

Merged
merged 1 commit into from
Apr 20, 2020
Merged

Remove forcehermitian, add plusadjoint #38

merged 1 commit into from
Apr 20, 2020

Conversation

pablosanjose
Copy link
Owner

@pablosanjose pablosanjose commented Apr 20, 2020

Closes #37

Settled on plusadjoint instead of addadjoint

The performance drop is exactly as expected. When plusadjoint=true there are two hoppings to process, so applyterm! for those two terms take almost twice as long as the single forcehermitian=true term before the PR, that processed elements and their adjoints in the same loop.

@pablosanjose pablosanjose changed the title remove forcehermitian, add plusadjoint Remove forcehermitian, add plusadjoint Apr 20, 2020
@pablosanjose pablosanjose merged commit b5b3767 into master Apr 20, 2020
@pablosanjose pablosanjose deleted the plusadjoint branch April 20, 2020 17:36
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.

forcehermitian is too surprising
1 participant