dirac: dirac

Description Usage Arguments Value Examples

View source: R/dirac.R

Description

Prints the dirac notation of the input ket

Usage

1

Arguments

ket

Ket (column vector) to print dirac notation of

Value

String of dirac notation

Examples

1
 dirac(ket(1,0,1,0))

Example output

Attaching package: ‘QuantumOps’

The following object is masked from ‘package:stats’:

    dist

The following objects are masked from ‘package:base’:

    I, norm, single

[1] "0.707|00> + 0.707|10>"

QuantumOps documentation built on Feb. 3, 2020, 5:07 p.m.

Related to dirac in QuantumOps...