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

Update changelog for the v0.15 release #1204

Merged
merged 14 commits into from
Apr 20, 2021
Merged

Update changelog for the v0.15 release #1204

merged 14 commits into from
Apr 20, 2021

Conversation

josh146
Copy link
Member

@josh146 josh146 commented Apr 13, 2021

No description provided.

@josh146 josh146 requested a review from co9olguy April 13, 2021 06:35
.github/CHANGELOG.md Outdated Show resolved Hide resolved
.github/CHANGELOG.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Apr 13, 2021

Codecov Report

Merging #1204 (a5c64a0) into master (ee9436c) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1204   +/-   ##
=======================================
  Coverage   98.13%   98.13%           
=======================================
  Files         145      145           
  Lines       10984    10984           
=======================================
  Hits        10779    10779           
  Misses        205      205           
Impacted Files Coverage Δ
pennylane/interfaces/jax.py 89.74% <ø> (ø)
pennylane/_version.py 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 ee9436c...a5c64a0. Read the comment docs.

Copy link
Member

@co9olguy co9olguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @josh146! This thing is getting massive!

I made a few cosmetic changes manually (you should check my commits to see if you like them).
Otherwise I have two main suggestions for polishing before release:

  • Let's put the Hessians much lower. This was already advertised last release (though lower in the UI), and I want to give space for the newer changes like shots control, transforms, and new operations
  • I got annoyed at how inconsistent the usage of pycon was (whether to have >>> or not (sometimes even in the same example!). I tried to change a few, but eventually I gave up. We could either enforce a uniform style here or just not bother. What do you think?

qchem/CHANGELOG.md Outdated Show resolved Hide resolved
In addition, if computing the expectation value of a Hamiltonian, weighted random sampling can be
used to further distribute the shot budget across the local terms from which the Hamiltonian is
constructed.
* A new transform `qml.transforms.invisible` has been added.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not keen on a few things here:

  • the name invisible
  • having it exposed as a public function
  • encouraging its use at the QNode level
  • having .queue() in the example
  • having it as a "new feature"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I remove it from the changelog? I originally was not going to include it here (just have it in 'improvements'), but I had a couple of discussions with some power users that indicated it might be useful to make this more discoverable.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed it 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing it from this PR only solves 2 of the 5 pain points above 😆

josh146 and others added 2 commits April 16, 2021 14:45
Co-authored-by: Nathan Killoran <co9olguy@users.noreply.github.com>
@josh146
Copy link
Member Author

josh146 commented Apr 16, 2021

Let's put the Hessians much lower. This was already advertised last release (though lower in the UI), and I want to give space for the newer changes like shots control, transforms, and new operations

done 👍

I got annoyed at how inconsistent the usage of pycon was (whether to have >>> or not (sometimes even in the same example!). I tried to change a few, but eventually I gave up. We could either enforce a uniform style here or just not bother. What do you think?

tbh it doesn't really bother me; as long as the intention of the example is clear, I am happy. Enforcing consistency here I feel would result in a reduction in readability. So I am in favour of 'just not bother'.

I had a look at other projects, and they also mix-and-match as needed, c.f. NumPy v1.20 release notes, and PyTorch.

Personally, my preference is typically the examples that use a mix of both styles:

image

I find it nicely separates the code example vs. showing expected output.

.github/CHANGELOG.md Outdated Show resolved Hide resolved
quantum operation processing from being recorded by the QNode:

```pycon
>>> @qml.transforms.invisible
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm afraid I'm not a fan of this implementation. It just feels like the wrong UI compared to everything else we've already established. Would recommend revisiting.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@josh146 josh146 requested a review from co9olguy April 16, 2021 17:07
.github/CHANGELOG.md Outdated Show resolved Hide resolved
@josh146 josh146 merged commit 6252d3e into master Apr 20, 2021
@josh146 josh146 deleted the v0.15-bump branch April 20, 2021 06:03
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.

2 participants