MathGroup Archive 2005

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

Search the Archive

Re: New unary operator

  • To: mathgroup at
  • Subject: [mg55848] Re: New unary operator
  • From: dh <dh at>
  • Date: Thu, 7 Apr 2005 07:15:07 -0400 (EDT)
  • References: <d32ub2$ct4$>
  • Sender: owner-wri-mathgroup at

Hi Jason,
There is already some built in meaning for SuperDagger. You only need do 
define the operator, like:


 From then on, when you write a Dagger as a superscript, the argument 
will be wrapped into Transpose[Conjugate[..]] and eventually processed.
Note that it only works if the dagger is a superscript.


\!\({{1, 2}, {3, 4}}\^?\)
{{1, 3}, {2, 4}}

Sincerely, Daniel

jason.lee.quinn at 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.
> Any ideas?
> Jason

  • Prev by Date: Re: DirectedInfinity[1 + I], why does it get replaced by (1 + I)/(sqrt(2) ?
  • Next by Date: Re: Re: Recommendations for a programming book?
  • Previous by thread: Re: New unary operator
  • Next by thread: extracting decimal digits of Pi