Iterative algorithm for reconstruction of entangled states | Synapse