French
Langues
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.aqua.operators.legacy.check_commutativity

check_commutativity(op_1, op_2, anti=False)[source]

Check the (anti-)commutativity between two operators.

Paramètres
Renvoie

whether or not two operators are commuted or anti-commuted.

Type renvoyé

bool