Closed frankharkins closed 1 year ago
This would mean that we can't build the docs on those platforms like macOS ARM because tweedledum cannot be installed there. Ideally we could error in certain environments and not others.
In the meantime, our approach is to check our generated docs to make sure it worked properly.
The Grover’s algorithm examples tutorial has some try/except blocks to catch missing libraries. For example:
I assume this is so the notebook runs for users with missing libraries. If so, I recommend letting the code raise an error, as the notebook doesn't produce any useful results if missing the libraries.