# decouple.m

From Spinach Documentation Wiki

Obliterates all interactions and populations in the subspace of states that involve the specified spins in any way. The specified spins would not contribute to the system dynamics until the Liouvillian is rebuilt from scratch.

## Contents

## Syntax

[L,rho]=decouple(spin_system,L,rho,spins)

## Arguments

L - Liouvillian superoperator rho - state vector or a horizontal stack thereof spins - spins to be wiped, specified either by name, such as '13C', or by a list of numbers, such as [1 2 3].

## Outputs

rho - state vector(s) with all populations of the states involving the target spins set to zero L - Liouvillian superoperator with all terms in- volving the target spins set to zero

## Notes

- This function is an analytical equivalent of a perfect decoupling pulse sequence on the specified spins.
- This function requires sphten-liouv formalism and supports Fokker-Planck direct products.

## See also

correlation.m, coherence.m, homospoil.m

*Version 2.2, authors: Ilya Kuprov*