This PR adds functionality to construct circuits from compound operations.
In the process, it also improves the QASM dumping functionality by making it const.
Last, but not least, it refactors the corresponding IO tests to use more convenient interfaces that are now available.
Fixes #600
Checklist:
[x] The pull request only contains commits that are related to it.
[x] I have added appropriate tests and documentation.
[x] I have made sure that all CI jobs on GitHub pass.
[x] The pull request introduces no new warnings and follows the project's style guidelines.
Description
This PR adds functionality to construct circuits from compound operations. In the process, it also improves the QASM dumping functionality by making it
const
. Last, but not least, it refactors the corresponding IO tests to use more convenient interfaces that are now available.Fixes #600
Checklist: