# Symbolically integrating tensor networks over various random tensors by the second version of Python RTNI

arXiv: https://arxiv.org/abs/2309.01167 · HTML: https://mlsanity.com/paper/2309.01167/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 6 of its 38 references that are in the map.
- First posted on arXiv 3 Sep 2023.

## Builds on (most cited first, 6 of 6)

- [Absence of Barren Plateaus in Quantum Convolutional Neural Networks](https://mlsanity.com/paper/2011.02966/) (2020)
- [Trainability of Dissipative Perceptron-Based Quantum Neural Networks](https://mlsanity.com/paper/2005.12458/) (2020)
- [TensorNetwork: A Library for Physics and Machine Learning](https://mlsanity.com/paper/1905.01330/) (2019)
- [Analytic theory for the dynamics of wide quantum neural networks](https://mlsanity.com/paper/2203.16711/) (2022)
- [Symmetric Pruning in Quantum Neural Networks](https://mlsanity.com/paper/2208.14057/) (2022)
- [Mitigating barren plateaus of variational quantum eigensolvers](https://mlsanity.com/paper/2205.13539/) (2022)

## Abstract (arXiv)

We are upgrading the Python-version of RTNI, which symbolically integrates tensor networks over the Haar-distributed unitary matrices. Now, PyRTNI2 can treat the Haar-distributed orthogonal matrices and the real and complex normal Gaussian tensors as well. Moreover, it can export tensor networks in the format of TensorNetwork so that one can make further calculations with concrete tensors, even for low dimensions, where the Weingarten functions differ from the ones for high dimensions. The tutorial notebooks are found at GitHub: https://github.com/MotohisaFukuda/PyRTNI2. In this paper, we explain maths behind the program and show what kind of tensor network calculations can be made with it. For the former, we interpret the element-wise moment calculus of the above random matrices and tensors in terms of tensor network diagrams, and argue that the view is natural, relating delta functions in the calculus to edges in tensor network diagrams.
