Unitary operator bases and q-deformed algebras