Text this: Probabilistic Links Between Quantum Classification of Patterns of Boolean Functions and Hamming Distance.