Closed Cryoris closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
It seems you are getting a timeout error now. You might want to change the following lines from conf.py
to change the 180 seconds timeout to another value. If you want to remove it entirely you can do it by changing the 180 to a -1.
cell_timeout = int(os.getenv('QISKIT_CELL_TIMEOUT', 180)) nbsphinx_timeout = cell_timeout
Do we still want to run these notebooks in a short amount of time? Because indeed the gradient descent cell does take some minutes to run. Alternatively we could reduce the number of timesteps, e.g. to 10 instead of 100, which might be fast enough for whatever the default is?
Do we still want to run these notebooks in a short amount of time? Because indeed the gradient descent cell does take some minutes to run. Alternatively we could reduce the number of timesteps, e.g. to 10 instead of 100, which might be fast enough for whatever the default is?
Ideally yes. It's better to reduce the timesteps to make sure you don't surpass the 180 second limit. It's possible that your local machine takes a bit less than CI to run the cells.
I reduced the number of timesteps to 10, locally that runs about 60s -- let's see if that worked 🙂
@Guillermo-Mijares-Vilarino the checks seem to have passed, even though the status is not reported to GitHub 😄
Edit: I merged the master branch to re-trigger the build and hopefully fix the reporting.
Summary
Add a tutorial on the p-VQD algorithm implemented in Qiskit as
PVQD
.Closes: #1373