Operational calculus on programming spaces and generalized tensor networksarxiv.org·166 pts·hcarvalhoalves·50