QuForge: A Library for Qudits Simulation

Tiago de Souza Farias, Lucas Friedrich, Jonas Maziero
9/26/2024
quant-phcs.LG

No official code found. Best implementation: tiago939/QuForge (21 stars, Apache-2.0, last commit 2025-08-19).

Abstract

Quantum computing with qudits, an extension of qubits to multiple levels, is a research field less mature than qubit-based quantum computing. However, qudits can offer some advantages over qubits, by representing information with fewer separated components. In this article, we present QuForge, a Python-based library designed to simulate quantum circuits with qudits. This library provides the necessary quantum gates for implementing quantum algorithms, tailored to any chosen qudit dimension. Built on top of differentiable frameworks, QuForge supports execution on accelerating devices such as GPUs and TPUs, significantly speeding up simulations. It also supports sparse operations, leading to a reduction in memory consumption compared to other libraries. Additionally, by constructing quantum circuits as differentiable graphs, QuForge facilitates the implementation of quantum machine learning algorithms, enhancing the capabilities and flexibility of quantum computing research.

View on arXivView PDF

Code Implementations(1)

tiago939/QuForgeCommunity100%
Apache-2.0

Quantum simulator of qudits

213Python, Jupyter NotebookJan 3, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{farias2024quforge,
  title  = {QuForge: A Library for Qudits Simulation},
  author = {Tiago de Souza Farias and Lucas Friedrich and Jonas Maziero},
  year   = {2024},
  eprint = {2409.17716},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.17716v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.17716.svg)](https://codeofpaper.com/paper/2409.17716)

Discussion