qiskit.quantum_info.PauliTable.commutes_with_all¶
- PauliTable.commutes_with_all(other)[source]¶
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 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 commuting rows.
- রিটার্ন টাইপ
array