method

pipeline.StackReduce.__call__

def __call__(self, exprs: list[CostExpression]) -> CostExpression

Return the reducer's output as a cost expression.

Returns

CostExpression — ``(N, M)`` matrix from :attr:`reducer` with gates combined according to :attr:`gate_mode`.

Source: unitrack/pipeline/merge.py:240