qcpydev/qcpy

qlog optimization: remove gates next to each other that are the same

Opened this issue · 0 comments

qlog optimizer needs to remove all gates that are identical to each other (starting with single gates). The optimizer struct needs to hold acyclic information about gates in each new version of the qlog as it is optimized.