adjoint: adjoint

Description Usage Arguments Value Examples

View source: R/adjoint.R

Description

Finds the adjoint of the input. An input ket will become a bra and input bra will become a ket

Usage

1

Arguments

x

A ket (column vector), bra (row vecor), or gate (matrix)

Value

The adjoint of x

Examples

1
 adjoint(ket(1,5))

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