Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

qiskit.ignis.characterization.ampcal_cx_circuits

ampcal_cx_circuits(max_reps, qubits, control_qubits)

GitHub

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.