inner {QuantumOps} | R Documentation |
inner
Description
Finds the inner product of two kets, <w|v>. w and v can be the same
Usage
inner(w,v)
Arguments
w |
ket (column vector) that is the left side of the innter product, converted to a bra before the dot product |
v |
ket (column vector) that is the right side of the inner product |
Value
Value of the inner product
Examples
inner(ket(1,0),ket(1,1))
[Package QuantumOps version 3.0.1 Index]