Recovery of 40 Gbps PAM4 in a 50 km optical link through a delayed complex perceptron