From: ehm <eri...@gm...> - 2024-10-17 13:19:01
|
Hi Daniel, If you use wxMaxima, then load the packages in the following order: load(qm); load("wx.lisp"); The file wx.lisp redefines the pretty printing of the kets in wxMaxima. If you only run maxima in a terminal window, you do not need to load wx.lisp. I'm glad the package is working for you! Let me know if you have other questions. Best, Eric On Thu, 2024-10-17 at 09:20 +0000, Daniel Volinski via Maxima-discuss wrote: > Thank you for your help. I changed the comment-out as you indicated. > Now I am able to run the package. > I am using qm-examples-1.wxm and I compare it with the original qm- > examples-1.wxmx for reference. > > I get the following output: > > k: ket([a]); => ket([a]) > b: bra([b]); => bra([b]) > b . k; => braket(bra([b]),ket([a])) > > Not at all like the original: > > k: ket([a]); => |[a]> > b: bra([b]); => <[b]| > b . k; => kron_delta(a,b) > > What am I missing? Is it possible this depends on the commented-out > packages? |