documentation icon indicating copy to clipboard operation
documentation copied to clipboard

add/change code to run on simulator

Open romeokienzler opened this issue 2 weeks ago • 3 comments

fixes #4281

I've realized it is hard to work with the notebooks since it is not explained how and where to obtain the token/crn.

I've added this explaination and also added a fallback to the simulator in case the token is not set

Also the free backend doesn't seem to support the 'with Session:' directive, therefore I've changed that code block as well.

The notebook now runs fine up to 'Part II. Scale it up!' since 'backend.coupling_map' is called and neither the AerSimulator nor the free tier backend seem to support it

romeokienzler avatar Nov 19 '25 10:11 romeokienzler

Thanks for contributing to Qiskit documentation!

Before your PR can be merged, it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. Thanks! 🙌

One or more of the following people are relevant to this code:

  • @a-matsuo
  • @annaliese-estes
  • @miamico

qiskit-bot avatar Nov 19 '25 10:11 qiskit-bot

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 19 '25 10:11 CLAassistant

closing as rejected by @miamico

romeokienzler avatar Dec 03 '25 07:12 romeokienzler