 entanglement swapping method that maximizes the entanglement rate of a quantum repeater at the different entanglement swapping sets as a function of the noise level of the local memory and local operations.  