QUANTUM COMPUTING

Topoi Quantum

Quantum computing for .NET.

Build quantum circuits, run local state-vector simulations, execute OpenQASM and explore quantum algorithms using C# and .NET 10.

TOOLKIT

Built for .NET developers.

Circuit Builder

Build reusable quantum circuits through a fluent C# API.

State-vector Simulation

Run dense pure-state simulations locally without requiring cloud hardware.

OpenQASM

Parse, execute and export practical OpenQASM 3 programs.

Sampling

Sample quantum measurements and inspect observed outcomes.

Observables

Estimate Pauli expectation values from simulated quantum states.

Developer Tools

CLI tooling, circuit drawing, automated tests and BenchmarkDotNet benchmarks.

QUICK START

Get started with Topoi Quantum.

1. Install the SDK

Topoi Quantum requires the .NET 10 SDK. Add the core package to your .NET project:

dotnet add package Topoi.Quantum --version 0.1.0

If your application needs OpenQASM 3 parsing, execution or export, add the OpenQASM package:

dotnet add package Topoi.Quantum.OpenQasm --version 0.1.0

For command-line and interactive use, install the tq .NET tool globally:

dotnet tool install --global Topoi.Quantum.Tool --version 0.1.0
tq --help

2. Create your first circuit

Create a Bell-state circuit using the Topoi Quantum C# API.

using Topoi.Quantum;
using Topoi.Quantum.Primitives;

QuantumCircuit bell = QuantumToolkit
    .Circuit(2)
    .H(0)
    .CX(0, 1)
    .Build();

More examples, package details and API information are available in the project repository.

OPEN SOURCE

Build with us.

Topoi Quantum is released under the MIT licence. Explore the source, report issues and contribute through GitHub.

View Source