MathGroup Archive 2004

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

Search the Archive

Quantum algebra package

  • To: mathgroup at
  • Subject: [mg45416] Quantum algebra package
  • From: "Iain Chapman" <i.chapman at>
  • Date: Wed, 7 Jan 2004 01:09:06 -0500 (EST)
  • Organization: University College London
  • Sender: owner-wri-mathgroup at


I've been using this package under Mathematica 4.1 and 4.2 with no problems.
If you haven't tried it, and use Dirac notation, do check it out - it's
excellent. However, it will not even load with Mathematica 5.

After converting the various parts of the package to a single notebook, and
stepping through line by line, the problem seems to occur when it comes to
defining notations.  The first of these

Notation|x__><=> Ket[x__]];

loads fine. However, the following line

Notation[<x__| <=> Bra[x__]];

seems to send Mathematica off into a loop. The evaluation goes on and on
(indeed, overnight...). If I abort the evaluation and then evaluate the cell
again, it works fine.

I seem to recall an earlier thread suggesting that something mysterious
might be happening with the Notation package under version 5.

Does anyone have any suggestions? The Wolfram website doesn't seem to have
much in the way of tech notes on version 5 issues.

Thank you.

Iain Chapman
University College London

  • Prev by Date: Re: Typing functions using subscripts
  • Next by Date: Re: Experimentian with Bayesian statistics
  • Previous by thread: Re: Cell Format - Output Cell, Format Change After Evaluation
  • Next by thread: multiple list plot and frameticks