Quantum annealing algorithms for Boolean tensor networks