# Compute entanglement entropy of an MPS # ### Sample code: include:docs/VERSION/formulas/entanglement_mps.cc Download the full example code