TeamGraphix / graphix

measurement-based quantum computing (MBQC) compiler and simulator
https://graphix.readthedocs.io
Apache License 2.0
55 stars 20 forks source link

Performance improvement to make readthedocs build work #61

Closed shinich1 closed 1 year ago

shinich1 commented 1 year ago

Before submitting, please check the following:

Then, please fill in below:

Context (if applicable): readthedocs build failed due to memory usage exceeding 8GB.

Description of the change: reduced burden by changing some configs for the examples (to be run with sphinx-gallery during build) Also fixed the bug in the code snippet on docs, as per #59

Related issue: closes #59

also see that checks (github actions) pass. If lint check keeps failing, try installing black==22.8.0 as behavior seems to vary across versions.