pdft.coherence.operator_coherence

pdft.coherence.operator_coherence#

pdft.coherence.operator_coherence(u)[source]#

mu of an explicit matrix, as a traceable scalar.

coherence takes a basis and returns a Python float; this is the same quantity kept inside JAX, so a loss may carry lam * mu under jax.jit.

Parameters:

u (Array)

Return type:

Array