Learn R Programming

QuantumOps (version 3.0.1)

ket: ket

Description

Returns a normalized ket (column vector)

Usage

ket(...)

Arguments

...

Variable number of numbers representing the amplitudes of the ket

Value

Column vector containing normalized amplitudes of a ket

Examples

Run this code
# NOT RUN {
 ket(1,0,1,2)
# }

Run the code above in your browser using DataLab