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.anglecal_1Q_circuits

anglecal_1Q_circuits(max_reps, qubits, angleerr=0.0) GitHub(opens in a new tab)

Generates circuit for measuring the angle error of the single qubit gate

Y90-(X90-X90-Y90-Y90)^n - X90

Parameters

  • max_reps (int) – the maximum number of repetitions. Circuits will increment by 1 rep up to max_rep
  • qubits (list) – a list of integers indices of the qubits to perform the calibration on
  • angleerr (float) – put in an artificial angle error (for testing)

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?