Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

qiskit.ignis.characterization.ampcal_cx_circuits

ampcal_cx_circuits(max_reps, qubits, control_qubits)

GitHub(opens in a new tab)

Generates circuit for measuring the amplitude error of the cx gate

The cx gate is repeatedly applied and we look at the population of the target qubit in the xy axis (amplitude erorr amplification sequence)

X(control)-X90(target)-(CX)^n

Note: the circuit may not behave as intended if the target-control pairs are not in the coupling map

Parameters

  • max_reps (int) – the maximum number of repetitions. Circuits will increment by 1 rep up to max_rep
  • qubits (list) – a list of integer indices of the qubits to perform the calibration on
  • control_qubits (list) – a list of integer indices of the control qubits to perform the calibration on

Returns

A tuple of the form (circuits, xdata) where

circuits is a list of QuantumCircuit and xdata is a list of gate repetitions (number of u2 gates)

Return type

tuple

Was this page helpful?
Report a bug or request content on GitHub.