Safe Haskell | None |
---|---|

Language | Haskell2010 |

- Module : MeasurementPerformer
- Description : Definition of qubit measure function
- Copyright : (c) Mihai Sebastian Ardelean, 2018
- License : BSD3
- Maintainer : ardeleanasm@gmail.com
- Portability : POSIX

## Synopsis

- class MeasurementPerformer a where

# Documentation

class MeasurementPerformer a where Source #

Class MeasurementPerformer used to define measure operation that can be made with `Qubit`

- measure function is used to perform qubit measurement

`>>>`

Qubit {qubitState = (4><1) [ 0.0 :+ 0.0 , 1.0 :+ 0.0 , 0.0 :+ 0.0 , 0.0 :+ 0.0 ]}`measure circuit`