Mathematical model and topology evaluation of quantum key distribution network.