Applications of Optical and Electronic Instrumentation on Secure Long-Distance Quantum Communications in Optical Fibers