MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: New unary operator


jason.lee.quinn at gmail.com wrote:

> I'm trying to get mathematica to define the dagger operation of
> quantum mechanics, which stands for the conjugate transpose. I've
> been attempting it using
> 
> Notation[u_^\[Dagger] <==> Transpose[Conjugate[u_]]]
> 
> but it doesn't seem to do it. I'm entering the Notation with the
> Notations Pallete.

Hi Jason,

I don't have any experience with Notation[], I simply use

SuperDagger[A_] := Adjoint[A]
Adjoint[A_?MatrixQ] := Conjugate[Transpose[A]]

Regards,
Marcus

-- 
What is life but a series of inspired follies? -- George Bernard Shaw


  • Prev by Date: Re: ploting functions slowly
  • Next by Date: Re: extracting decimal digits of Pi
  • Previous by thread: Re: New unary operator
  • Next by thread: Re: New unary operator