Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ch10 preview, update Quantum Development Kit to 0.10.2002.2610. #8

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

Merged
crazy4pi314 merged 25 commits into master from cgranade/0.10.2002.2610
Mar 15, 2020
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
85b5be8
Adding some line comments for Ch 9
Jan 25, 2020
ee0cc5e
Added required \n
cgranade Jan 26, 2020
11bc8b5
Renamed and added callouts.
cgranade Jan 27, 2020
dc09c1e
Merge branch 'master' of github.com:cgranade/qc-book-code
cgranade Jan 27, 2020
8a23c9c
Fixes to EvolveUnderHamiltonian.
cgranade Jan 27, 2020
86a5f9d
Slighty tweeking printing
Jan 27, 2020
775709f
Merge branch 'master' of github.com:cgranade/qc-book-code
Feb 1, 2020
3c65c5d
adding working ch10 code
crazy4pi314 Feb 2, 2020
d98a24e
Update to 0.10.2001.
cgranade Feb 2, 2020
1fcdb86
Merge branch 'master' of github.com:cgranade/qc-book-code
cgranade Feb 2, 2020
dd718dc
Millstead work on 10
Feb 3, 2020
3997879
Rest of millstead ch10 progress
Feb 3, 2020
eaddeb2
Added to IQ# notebook for 10.
cgranade Feb 3, 2020
2e46386
New ch10 nb.
cgranade Feb 4, 2020
2f207fb
Updated execution counts.
cgranade Feb 5, 2020
6aed7f4
Reorder things a bit.
cgranade Feb 5, 2020
2f1259f
Fixed end tag.
cgranade Feb 5, 2020
fa65adc
Added one more plot.
cgranade Feb 8, 2020
e8e4ab9
updating for text complete, and fixing bug
crazy4pi314 Feb 10, 2020
12baf85
Swapping to match ch 07
crazy4pi314 Feb 10, 2020
6361f82
Reset cell numbering.
cgranade Feb 12, 2020
ed86477
Update Dockerfiles and environment.yml to 0.10.2002.2610.
cgranade Mar 15, 2020
1d68767
Fix typo in ch04.
cgranade Mar 15, 2020
cd005b8
Update csproj files in chapter 6 to 0.10.2002.2610.
cgranade Mar 15, 2020
3501bc8
Updated a couple more versions.
cgranade Mar 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Slighty tweeking printing
  • Loading branch information
Sarah Kaiser committed Jan 27, 2020
commit 86a5f9d19ac52c5ac1a3d332a2e8f66e1dbee368
2 changes: 1 addition & 1 deletion ch09/host.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def estimate_energy(bond_index: float, # <3>
n_measurements_per_scale: int = 3
) -> float:
print(f"Estimating energy of {bond_lengths[bond_index]}.")
print(f"Estimating energy for bond length of {bond_lengths[bond_index]} Å.")
return min([H2Simulation.EstimateH2Energy.simulate(idxBondLength=bond_index)
for _ in range(n_measurements_per_scale)])

Expand Down

AltStyle によって変換されたページ (->オリジナル) /