Text this: A Quantum Algorithm for the Classification of Patterns of Boolean Functions