pub fn entanglement_entropy_sector<State>(
amplitudes: &[Complex64],
basis_states: &[State],
total_sites: usize,
retained_sites: &[usize],
noncommuting_groups: &[NoncommutingGroup],
order: EntropyOrder,
) -> Result<f64>where
State: BinaryState,Expand description
Entanglement entropy of a pure state represented in a binary sector.