qutip / qutip-tutorials

QuTiP Tutorials
BSD 3-Clause "New" or "Revised" License
33 stars 34 forks source link

Update broken links and add cython to environment.yml #50

Closed hodgestar closed 1 year ago

hodgestar commented 1 year ago

Minor fixes:

hodgestar commented 1 year ago

@christian512 There are three strange failures in this PR that are unrelated to the PR itself. Any chance you could take a look?

christian512 commented 1 year ago

After a re-run of the jobs, it looks like there is only a problem with pdflatex. The CI installs the package texlive-latex-extra. This also includes the installation of texlive-picture, which contains the required qcircuit package.

I am not sure if there were recent changes in qutip-qip that broke this plotting function. @BoxiLi, do you have an idea?

BoxiLi commented 1 year ago

Okay, I'll have a look. Let me try testing pdflatex directly in the command line on the GitHub action machine.

christian512 commented 1 year ago

I ran pdflatex manually in a GitHub action in this job: https://github.com/christian512/qutip-tutorials/actions/runs/3426603357/jobs/5708606925

There is an error with Xy-pic, which I don't understand. Maybe you can take a look.

BoxiLi commented 1 year ago

Okay, I tried it locally. The generated tex code is wrong (should have checked it earlier...). This seems to be related to https://github.com/qutip/qutip-qip/issues/166.

BoxiLi commented 1 year ago

I pushed a fix on https://github.com/qutip/qutip-qip/pull/177

BoxiLi commented 1 year ago

Seems the circuit plotting error is gone now but there are a few others.