Skip to main content

adjointed

Method of Operator.

adjointed() -> Operator

Returns the adjoint of the given operator.

Returns

A new operator representing the adjoint.

Example

var a1 = adjointed(Sgate(0))   // returns PhaseShift(-pi/2, 0)
var a2 = Sgate(0).adjointed()
var a3 = adjointed(Splus(0)) // returns Sminus(0)