Formation probabilities and statistics of observables as defect problems in the free fermions and the quantum spin chains - M. N. Najafi; M. A. Rajabpour (2019)