technical notes
entanglement estimation