Zero all coherences including and above a given order.

zero_higher_orders(sys, rho, order)

Arguments

sys

spin system object.

rho

density matrix.

order

states higher than or equal to this argument will be set to zero.

Value

density matrix.