This example snippet was erroring out causing the manual build to fail. Seems the circuit was always valid for AerBackend and so the compiled_circ variable was unreachable. Not sure what changed here to explain this.
In any case I've updated the snippet so that the original circuit has a CnRy gate which needs to be compiled down for the circuit to be valid for AerBackend.
Related issues
Please mention any github issues addressed by this PR.
Checklist
[ ] I have performed a self-review of my code.
[ ] I have commented hard-to-understand parts of my code.
[ ] I have made corresponding changes to the public API documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have updated the changelog with any user-facing changes.
Description
This example snippet was erroring out causing the manual build to fail. Seems the circuit was always valid for
AerBackend
and so thecompiled_circ
variable was unreachable. Not sure what changed here to explain this.In any case I've updated the snippet so that the original circuit has a CnRy gate which needs to be compiled down for the circuit to be valid for
AerBackend
.Related issues
Please mention any github issues addressed by this PR.
Checklist