Skip to content

Conversation

matanvax2
Copy link
Member

@matanvax2 matanvax2 commented Sep 1, 2025

PR Description

Clean up tutorial notebooks

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Comment on lines +181 to +183
"with ExecutionSession(qprog) as es:\n",
" res = es.sample()\n",
" display(res.dataframe)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"with ExecutionSession(qprog) as es:\n",
" res = es.sample()\n",
" display(res.dataframe)"
"with ExecutionSession(qprog) as es:\n",
" res = es.sample()\n",
"display(res.dataframe)"

It's recommended to have the with block contain the minimum that's required to be inside, and have the rest outside the block

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