https://github.com/fedonman/covex-quantum-circuit-simulator
CoveX is an ASP.NET Core framework for simulating quantum circuits written in C#
https://github.com/fedonman/covex-quantum-circuit-simulator
csharp csharp-library dotnet dotnet-core nuget-package quantum quantum-circuit quantum-computing
Last synced: 2 months ago
JSON representation
CoveX is an ASP.NET Core framework for simulating quantum circuits written in C#
- Host: GitHub
- URL: https://github.com/fedonman/covex-quantum-circuit-simulator
- Owner: fedonman
- License: mit
- Created: 2021-06-16T17:45:25.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-25T13:34:51.000Z (over 4 years ago)
- Last Synced: 2025-10-26T04:56:24.605Z (8 months ago)
- Topics: csharp, csharp-library, dotnet, dotnet-core, nuget-package, quantum, quantum-circuit, quantum-computing
- Language: C#
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CoveX: Quantum Circuit Simulator

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](https://www.nuget.org/packages/CoveX.LocalSimulation/):
```bash
dotnet add package CoveX.LocalSimulation
```
## Usage Example
Demostrate entanglement via an EPR pair:
```csharp
// 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][1] file for details.
## Author
Vyron Vasileiadis
## Links
- My BSc thesis on quantum computing:
[1]: https://github.com/fedonman/covex-quantum-circuit-simulator/blob/main/LICENSE