Remote entanglement preparation