# qiskit.ignis.verification.twoQ_clifford_error¶

twoQ_clifford_error(ngates, gate_qubit, gate_err)[소스]

The two qubit Clifford gate error given measured errors in the primitive gates used to construct the Clifford (see arxiv:1712.06550). Assumes the error in the underlying gates is depolarizing.

매개변수
• ngates (Dict[int, Dict[str, float]]) – list of the number of gates per 2Q Clifford.

• gate_qubit (List[int]) – list of the qubit corresponding to the gate (0, 1 or -1). -1 corresponds to the 2Q gate. Note that 0 (1) corresponds to the single qubit gate counts in ngates which has smaller (larger) qubit index.

• gate_err (List[float]) – list of the gate errors.

참고

This function presupposes the basis gate consists of u1, u2, u3 and cx.

반환값

Error per 2Q Clifford.

반환 형식

float

예외

QiskitError – when number of qubit contained in ngates is not 2.