gulps.analysis.coverage.empirical_cost

gulps.analysis.coverage.empirical_cost(decomposer, targets)[source]

Select a sentence for every target and summarize the costs.

Supply targets as a list of gates, Operator objects, 4-by-4 unitaries, or invariant classes. You can also supply a circuit to evaluate its consolidated two-qubit blocks, counting each branch and loop body once.

Parameters:
Return type:

SampledCost