gulps.analysis.calibration.strength_sweep¶
- gulps.analysis.calibration.strength_sweep(candidates, local_layer_cost=0.0, workload=None, max_depth=MAX_DEPTH)[source]¶
Score each candidate on its own.
- Parameters:
candidates (Sequence[tuple[float, Gate]]) – The pulses to score, each as
(cost, gate); seepower_candidates().local_layer_cost (float) – The cost of one simultaneous local-gate layer. A sentence of n pulses has n + 1 such layers.
workload (QuantumCircuit | Sequence[Gate | Operator | ndarray | LocalEquivalenceClass] | None) – A circuit or a list of targets to score. Defaults to the Haar average.
max_depth (int) – Maximum two-qubit sentence depth. Candidates that exceed it score infinity; an all-infinite search raises
SearchDepthError.
- Return type: