Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.PauliTable.commutes

PauliTable.commutes(pauli)[ソース]

Return list of commutation properties for each row with a Pauli.

The returned vector is the same length as the size of the table and contains True for rows that commute with the Pauli, and False for the rows that anti-commute.

パラメータ

pauli (PauliTable) – a single Pauli row.

戻り値

The boolean vector of which rows commute or anti-commute.

戻り値の型

array

例外

QiskitError – if input is not a single Pauli row.