![]() |
Determine whether a hamiltonian (instance of QubitOperator) is contextual,
openfermion.contextuality.is_contextual(
hamiltonian: openfermion.ops.QubitOperator
) -> bool
in the sense of https://arxiv.org/abs/1904.02260
Args | |
---|---|
hamiltonian (QubitOperator): the hamiltonian whose contextuality is to be evaluated. |
Returns | |
---|---|
boolean indicating whether hamiltonian is contextual or not. |