-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add tests for the circuit plotting #178
Comments
Examples can be found in https://github.com/qutip/qutip-tutorials/blob/main/.github/workflows/notebook_ci.yaml |
Hello! is this open? |
Hi, yes this is still open. You are welcome to contribute! |
Could you assign it to me please? |
Could you tell me what circuit plotting tests are you looking for? A related issue mentioned SWAP gate i think. |
Hi, @Anika-Roy sorry for the delay. And thank you for your interest! The main goal is to run one or a few circuit plotting tasks during the test action so that if something goes wrong, errors will be detected. There is no way to check if the plotted circuit is exactly what we want. But this will at least get our attention when an error is raised. We don't have a default circuit to test against. But you can find a few examples in the documentation. Ideally the test should cover as many types of gates (and some measurements) as possible. The circuit itself does not to have any meaning. You can find a guide on how to contribute in the doc. Please let me know if you have more questions! |
Thank you for replying! |
It is designed for the notebook but should also work in an ipython console or pure python. But your error looks independent on that. Have you installed LaTeX and the other external packages? And are you using You can have a look at the installation guide in the documentation. There are a few additional softwares that needs to be installed for the plotting. |
Got it, |
I'm facing trouble with running circuit plots. I have downloaded all the dependencies that were mentioned. Could you help me fix this? |
I have never seen this but this is certainly related to Imagemagick. May you need this instead https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion. |
Close as it is addressed in the GSoC project |
Install texlive and the circuit plotting dependencies in one of the test actions and add a few tests.
The text was updated successfully, but these errors were encountered: