Text this: Quantum Latin squares and quantum functions: applications in quantum information