Update examples
Compare changes
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
This MR updated most of the examples to make sure they're using up to date syntax. I also took the opportunity to enforce flake8 in the examples, so this is now part of the CI testing.
I also added an example which uses non-tensor modes, I'm happy to move this to a separate MR if people think that's better.