qiskit.quantum_info.PauliTable.anticommutes_with_all¶
- PauliTable.anticommutes_with_all(other)[ソース]¶
Return indexes of rows that commute other.
If other is a multi-row Pauli table the returned vector indexes rows of the current PauliTable that anti-commute with all Pauli’s in other. If no rows satisfy the condition the returned array will be empty.
- パラメータ
other (PauliTable) – a single Pauli or multi-row PauliTable.
- 戻り値
index array of the anti-commuting rows.
- 戻り値の型
array