MathGroup Archive 2005

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

Search the Archive

Re: New unary operator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55844] Re: New unary operator
  • From: Marcus Stollsteimer <marcus314 at yahoo.com>
  • Date: Thu, 7 Apr 2005 07:15:03 -0400 (EDT)
  • Organization: Comp.Center (RUS), U of Stuttgart, FRG
  • References: <d32ub2$ct4$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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