dist {QuantumOps}R Documentation

dist

Description

Reports the distance between two vectors/kets

Usage

dist(a,b)

Arguments

a

column vector

b

column vector

Value

Distance between two vectors

Examples

 dist(ket(1,1,1,1),ket(1,0,0,1))

[Package QuantumOps version 3.0.1 Index]