adjoint {QuantumOps}R Documentation

adjoint

Description

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

Usage

adjoint(x)

Arguments

x

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

Value

The adjoint of x

Examples

 adjoint(ket(1,5))

[Package QuantumOps version 3.0.1 Index]