boschmitt / tweedledum

C++17 Library for analysis, compilation/synthesis, and optimization of quantum circuits
MIT License
97 stars 36 forks source link

Fix barenco decomp #139

Closed boschmitt closed 3 years ago

boschmitt commented 3 years ago

Description

During barenco_decomp, we need to check if there is no more clean ancilla before possibly applying the more expensive v_dirty method.

Suggested changelog entry: