quantumsimulator

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2023 License: MIT

README

Quantum Simulator in Go

PkgGoDev Go Report Card

Introduction

A simple quantum simulator implemented in Go.

Requirements

  • Go 1.21 or higher

Usage

To get:

go get github.com/splch/quantumsimulator

To run:

go run main.go -qubits 3 -shots 10 -ops "H:0,CX:0:1,U:2:0.2:0.3:0.4"

To test:

go test ./pkg/quantumsimulator/... -v

To see an example:

gate_example.go

Contributing

Feel free to contribute to this project. Open an issue or a pull request.

License

MIT

Directories

Path Synopsis
cmd
pkg
quantumsimulator
Package quantumsimulator provides structures and functions for simulating quantum gates and circuits.
Package quantumsimulator provides structures and functions for simulating quantum gates and circuits.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL