coherence_filter: Zero all coherence orders other than the one supplied as an argument.
Description
Zero all coherence orders other than the one supplied as an argument.
Usage
coherence_filter(sys, rho, order = 0)
Arguments
- sys
spin system object.
- rho
density matrix.
- order
coherence order to keep (default is 0).