QuantumMatter.Core 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package QuantumMatter.Core --version 1.2.0
                    
NuGet\Install-Package QuantumMatter.Core -Version 1.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QuantumMatter.Core" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QuantumMatter.Core" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="QuantumMatter.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QuantumMatter.Core --version 1.2.0
                    
#r "nuget: QuantumMatter.Core, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package QuantumMatter.Core@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QuantumMatter.Core&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=QuantumMatter.Core&version=1.2.0
                    
Install as a Cake Tool

QuantumMatter SDK

QuantumMatter is an MIT-licensed quantum simulator built from scratch in C# using double-precision System.Numerics.Complex. Libraries target .NET 9; package-only consumer checks also run on .NET 10. Starting with v1.1, the full xUnit suite runs on both runtimes using the same net9.0 library assets.

Package Contents Runtime dependencies
QuantumMatter.Core Circuits, pure states, channel descriptions, backend ports .NET runtime
QuantumMatter.Application Simulation, terminal sampling, algorithms, noisy trajectories Core
QuantumMatter.Infrastructure Scalar, parallel/SIMD, CUDA, reference noise kernels Core, ILGPU 1.5.3

Install Application and Infrastructure at the same version; Core is transitive.

dotnet add package QuantumMatter.Application
dotnet add package QuantumMatter.Infrastructure

These commands select the latest stable version. For a local/prerelease candidate, specify its version and feed. See the repository release record for publication status and validation evidence.

using QuantumMatter.Application;
using QuantumMatter.Core;
using QuantumMatter.Infrastructure;

var circuit = new QuantumCircuit(2).H(0).CNot(0, 1);
var simulator = new StateVectorSimulator(new CpuStateVectorBackend());
var result = simulator.Run(circuit, shots: 1000, seed: 42);
foreach (var (bits, count) in result.Counts)
    Console.WriteLine($"{bits}: {count}");

Qubit zero is the least significant bit; printed kets show the highest bit first. Angles are radians, gates act on column vectors in insertion order, and phases are retained. Memory budgets apply before allocating state/estimator arrays.

CPU execution needs no GPU driver. CUDA is explicitly selected with CudaStateVectorBackend and requires a compatible NVIDIA driver/device; dispose the backend after use. v1.0 CUDA support is validated on Windows x64; Linux CUDA is experimental. SIMD is opt-in. Noise uses a separate trajectory API and CPU channel kernels; it is not represented by one final ensemble ket.

Version 1.2 adds partial-register measurement, normalized marginals and Pauli-string expectations on host states; see docs/observations.md. These preserve the existing unitary circuit and terminal sampling contracts.

The package contains XML IntelliSense documentation, declared public API files, LICENSE, CHANGELOG.md, third-party notices, and the docs directory. Start with docs/api/1.2.0.md, docs/compatibility.md, docs/noise.md and docs/gpu-execution.md. See the repository for validated hardware, raw benchmarks, known limitations and the release checklist and repository.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on QuantumMatter.Core:

Package Downloads
QuantumMatter.Application

Quantum simulation workflows, algorithms, terminal sampling and noisy trajectory estimates.

QuantumMatter.Infrastructure

Scalar CPU, parallel/SIMD CPU, NVIDIA CUDA and stochastic noise reference kernels.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.8.0 73 10/27/2026
1.8.0-rc.1 59 10/27/2026
1.6.0 83 10/26/2026
1.5.0 122 10/25/2026
1.4.0 120 10/25/2026
1.3.0 109 10/25/2026
1.2.0 121 10/25/2026
1.1.0 116 10/25/2026
1.0.0 1,460 10/25/2026

Partial-register measurement, marginal probabilities and Pauli-string expectations. See CHANGELOG.md and docs/releases/1.2.0-notes.md in the package.