8000 GitHub - twarzo/QuantumPerceptron: Implementation of Perceptron using quantum gate in Q#
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

twarzo/QuantumPerceptron

Repository files navigation

QuantumPerceptron

Problem Statement

Implement a Perceptron using quantum gates in Q#.

Prerequisites

  • Programming Background, preferably C#
  • Basic Knowledge of Quantum gates, matrices, and unitary operations
  • Q# knowledge is addon.

Technology Used

  • C#
  • Q#

Instructions to run the demo

  • There should support of running C# on system. Visual Studio can help you in this.

  • To run Q#, Quantum Develop Kit is required. For Visual Studio, the SDK kit can be downloaded from here. There is extension available for the same in VS Code as well.

  • Length of Input Vector should be in terms of 2^n.

  • Iteration value is just to improve the probability of the quantum state.

Inputs

  • Number of Quantum Bits: 4
  • Input Vector : 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1
  • Weight Vector: 1, 1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
  • Iterations: 8196
Detailed explanation can be found here

About

Implementation of Perceptron using quantum gate in Q#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0