-
Notifications
You must be signed in to change notification settings - Fork 11
Documentation Improvements #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It would be nice to revisit the documentation at some point. The code in the doc seems wrong as the Hamiltonian is defined as
without providing a gradient while the GOAD algorithm is used:
This gives an error on my machine. |
@BoxiLi @flowerthrower I came across this issue as well. What is the fix for this? I'm trying to learn qutip-qoc |
Maybe for now you can check the test code in https://github.com/qutip/qutip-qoc/blob/main/tests/test_fidelity.py. |
You can also have a look at the examples in this PR: qutip/qutip-tutorials#104 |
I tried building the documentation locally and found that the search function works perfectly. However, on the deployed website, the search panel doesn't work as expected. When I enter a query, the browser console logs an error indicating that jQuery is missing. It seems that jQuery is not being loaded before the document is fully built, which causes the issue. Adding a jQuery script as a pre-loader in doc/conf.py appears to resolve the problem:
Additionally, updating the dependencies related to Sphinx in doc/requirements.txt to their latest versions may also help. Let me know if this solution makes sense or if you'd like me to create a PR with the fix. |
(These are issues that I believe could be tackled after the first proper release of qutip-qoc.)
The text was updated successfully, but these errors were encountered: