Korean
언어
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.