Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.PauliList.commutes_with_all

PauliList.commutes_with_all(other)[código fonte]

Return indexes of rows that commute other.

If other is a multi-row Pauli list the returned vector indexes rows of the current PauliList that commute with all Pauli’s in other. If no rows satisfy the condition the returned array will be empty.

Parâmetros

other (PauliList) – a single Pauli or multi-row PauliList.

Retorno

index array of the commuting rows.

Tipo de retorno

array