35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
---
|
||
title: anglecal_1Q_circuits (v0.31)
|
||
description: API reference for qiskit.ignis.characterization.anglecal_1Q_circuits in qiskit v0.31
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.ignis.characterization.anglecal_1Q_circuits
|
||
---
|
||
|
||
<span id="qiskit-ignis-characterization-anglecal-1q-circuits" />
|
||
|
||
# qiskit.ignis.characterization.anglecal\_1Q\_circuits
|
||
|
||
<Function id="qiskit.ignis.characterization.anglecal_1Q_circuits" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.6/qiskit/ignis/characterization/gates/circuits.py" signature="anglecal_1Q_circuits(max_reps, qubits, angleerr=0.0)">
|
||
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
|
||
</Function>
|
||
|