gulps.analysis.calibration.strength_sweep¶
- gulps.analysis.calibration.strength_sweep(base_gate, strengths=GRID, local_layer_cost=0.0, workload=None, max_depth=MAX_DEPTH, *, pulse_overhead=0.0)[source]¶
Score
base_gate ** kfor everykinstrengths.- Parameters:
base_gate (Gate) – The Qiskit gate to power.
strengths (Sequence[float]) – The powers to score, in
(0, 1].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 instead of the Haar average.
max_depth (int) – Maximum two-qubit sentence depth. Candidates that exceed it score infinity; an all-infinite search raises
SearchDepthError.pulse_overhead (float) – Fixed cost per entangling pulse, added to its strength. A pulse of strength k costs k + pulse_overhead.
- Return type: