This PR fixes a corner case where an empty circuit could lead to a division by zero error when trying to compute the gate ration between both circuits.
Furthermore, a shortcut is added for when both circuits are empty.
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 fixes a corner case where an empty circuit could lead to a division by zero error when trying to compute the gate ration between both circuits. Furthermore, a shortcut is added for when both circuits are empty.
Checklist: