Currently, barriers can only be added through the synthesis (e.g. LieTrotter). In some cases, this leads to a barrier after every single gate (e.g. when passing a single sum of Paulis). What's more desirable, however, is to add barriers between Trotter-layers, which are appended to the evolution circuit in TrotterQRTE, not in the synthesis.
What should we add?
Currently, barriers can only be added through the synthesis (e.g.
LieTrotter
). In some cases, this leads to a barrier after every single gate (e.g. when passing a single sum of Paulis). What's more desirable, however, is to add barriers between Trotter-layers, which are appended to the evolution circuit inTrotterQRTE
, not in the synthesis.