PennyLaneAI / pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
https://pennylane.ai
Apache License 2.0
2.38k stars 606 forks source link

fix doc #6597

Closed JerryChen97 closed 1 week ago

JerryChen97 commented 1 week ago

Context: a simplest doc-fix. This fix is important since it is dealing with an example in docs that generates a bug.

Description of the Change: change the non-existing variable in docstr to correct variable name

Benefits: Make the example code in docstring runnable

Possible Drawbacks: No

Related GitHub Issues:

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.45%. Comparing base (dff5d70) to head (89af9af). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6597 +/- ## ======================================= Coverage 99.45% 99.45% ======================================= Files 450 450 Lines 42085 42085 ======================================= Hits 41854 41854 Misses 231 231 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: