norm {QuantumOps}R Documentation

norm

Description

Finds the norm of input column vector by taking the inner product with itself

Usage

norm(v)

Arguments

v

kcolumn vector

Value

Norm of the input column vector

Examples

 norm(ket(1,0))

[Package QuantumOps version 3.0.1 Index]