quantax.utils.tree_split_cpl#

quantax.utils.tree_split_cpl(tree: PyTree) Tuple[PyTree, PyTree]#

Split a pytree potentially with complex values to two real pytrees, one for the real part and the other for the imaginary part