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

Add hamiltonian builder, fix sum_z without weights, closes #16 #19

Merged
merged 2 commits into from
Feb 16, 2022

Conversation

zmorrell
Copy link
Collaborator

@ccoffrin I think that this fits the functionality we described for the hamiltonian builder. I made sure to include tests. I also fixed a bug I noticed when someone would call sum_z without any weights - now it assumes default weights as it should.

@codecov
Copy link

codecov bot commented Feb 16, 2022

Codecov Report

Merging #19 (3c7f1ee) into main (37c5ba8) will increase coverage by 2.26%.
The diff coverage is 90.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   94.58%   96.84%   +2.26%     
==========================================
  Files           5        5              
  Lines         443      444       +1     
==========================================
+ Hits          419      430      +11     
+ Misses         24       14      -10     
Impacted Files Coverage Δ
src/simulate.jl 94.59% <88.88%> (+7.45%) ⬆️
src/simulate_de.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37c5ba8...3c7f1ee. Read the comment docs.

@ccoffrin
Copy link
Member

LGTM, happy to merge this.

@zmorrell zmorrell merged commit 783dbf4 into main Feb 16, 2022
@zmorrell zmorrell deleted the ham-builder branch February 16, 2022 21:37
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

2 participants