Learn R Programming

QuantumOps (version 3.0.1)

adjoint: 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

Run this code
# NOT RUN {
 adjoint(ket(1,5))
# }

Run the code above in your browser using DataLab