Skip to content

docs: clarify optimization cost function vs monetary cost in PennyLane Hybrid Jobs notebook - #966

Open
Anshu666666 wants to merge 2 commits into
amazon-braket:mainfrom
Anshu666666:fix/clarify-cost-vs-monetary-cost
Open

Anshu666666 wants to merge 2 commits into
amazon-braket:mainfrom
Anshu666666:fix/clarify-cost-vs-monetary-cost

Conversation

@Anshu666666

Copy link
Copy Markdown

Issue #, if available:
Fixes #173

Description of changes:
In examples/hybrid_jobs/2_Using_PennyLane_with_Braket_Hybrid_Jobs/Using_PennyLane_with_Braket_Hybrid_Jobs.ipynb, the term "cost" was used across several consecutive cells to refer to both the mathematical cost function being minimized and the customer monetary cost in USD.

This PR addresses all items in #173:

  1. Adds explicit axis labels (Cost Function Value, Iteration Number) and plot title (Optimization Cost Function vs. Iterations) to both loss metric plots.
  2. Adds a new markdown section header ## Tracking Customer Monetary Costs prior to the cost-tracking calls.
  3. Clarifies the summary print statement to explicitly state Estimated monetary cost to run quantum tasks in this notebook: ... USD.

Testing done:

  • Validated notebook JSON format using nbformat.
  • Verified that all cell structures and metadata remain valid.

Merge Checklist

  • I have read the CONTRIBUTING doc
  • If modifying a notebook, I have verified no broken outputs or missing imports

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Anshu666666
Anshu666666 requested a review from a team as a code owner September 24, 2026 20:45
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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.

Clarify cost function vs. monetary cost in Hybrid Jobs with PennyLane notebook

2 participants