ManySorted Algebras for Deep Learning and Quantum Technology