Topological View on Entanglement and Complexity