### Abstract

We present a systematic numerical method to compute the elementary braiding operations for topological quantum computation (TQC). Braiding non-Abelian anyons is a crucial technique in TQC, offering a topologically protected implementation of quantum gates. However, obtaining matrix representations for braid generators can be challenging, especially for systems with numerous anyons or complex fusion patterns. Our proposed method addresses this challenge, allowing for the inclusion of an arbitrary number of anyons per qubit or qudit. This approach serves as a fundamental component in a general topological quantum circuit simulator, facilitating the exploration and analysis of intricate quantum circuits within the TQC framework. We have implemented and tested the method using algebraic conditions. Furthermore, we provide a proof of concept by successfully reproducing the CNOT gate.

###### Ph.D student in Theoretical Physics

PhD student in mathematical physics at LPMPS. Working on topological quantum computing.

###### Ph.D student in Theoretical Physics

PhD student in Theoretical Physics. Working on Cold Atoms and Quantum Computing.

###### Ph.D student in Theoretical Physics

PhD student in Theoretical Physics and member of CQTech working on Quantum Simulation and on Optimization Problems.

###### Professor of Physics

PhD in Theoretical Physics, September 1999.

###### Associate Professor of Physics

ARISE Fellow, Principal Investigator at Constantine Quantum Technologies, Associate Professor at University of Constantine 1 (Algeria).