scqubits.core.circuit_utils.is_potential_term#

scqubits.core.circuit_utils.is_potential_term(term)[source]#

Determines if a given sympy expression term is part of the potential

Parameters:

term (sm.Expr) – a single terms in the form of Sympy expression.

Returns:

True if the term is part of the potential of this instance’s Hamiltonian

Return type:

bool