diff --git a/src/transpile/fusion.hpp b/src/transpile/fusion.hpp index c0caa2ad04..c65160fed9 100644 --- a/src/transpile/fusion.hpp +++ b/src/transpile/fusion.hpp @@ -1039,7 +1039,7 @@ bool CostBasedFusion::aggregate_operations(oplist_t &ops, estimate_cost(ops, (uint_t)j, i) // fusion gate from j-th to i-th, and + (j <= fusion_start ? 0.0 : costs[j - 1 - fusion_start]); - // cost of (j-1)-th + // cost of (j-1)-th // update cost if (estimated_cost <= costs[i - fusion_start]) {