Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.37 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.37 KB

CoveX: Quantum Circuit Simulator

Nuget

CoveX is a .NET Core framework for simulating quantum circuits written in C#.

It was originally written in .NET Framework 4.5 in the context of my BSc thesis on quantum computing. It is now updated to .NET Core 3.1 and listed on GitHub for reference reasons. There are no plans for further active development, however some code samples will be created for educational purposes and .NET version may update.

Getting Started

CoveX is available on NuGet:

dotnet add package CoveX.LocalSimulation

Usage Example

Demostrate entanglement via an EPR pair:

// Create a Quantum Register
IQuantumRegister qRegister = new QuantumRegister(2);

// Entangle via Hadamard followed by CNot
(qRegister.SliceTo(0)).OperationHadamard();
qRegister.OperationCNot();

// Measure and display the result
ClassicalResult cResult = qRegister.Measure();
Console.WriteLine("Result: " + cResult.ToString());

License

CoveX is released under the MIT License. See LICENSE file for details.

Author

Vyron Vasileiadis [email protected]

Links