Mathematica 5.0 notebook does not work in Mathematica 9.0

  • Thread starter Thread starter Qubix
  • Start date Start date
  • Tags Tags
    Mathematica Work
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Qubix
Messages
82
Reaction score
1
1. I have managed to find the following notebook that would prove useful for me in calculating the concurrence of a 2-qubit state.

http://library.wolfram.com/infocenter/MathSource/6227/





2. The problem is that the code is for Mathematica 5.0, and try as I may, I could not make it work in Mathematica 9.0.


Can someone please help me make this code compatible with the newest version of Mathematica?

Thanks
 
Physics news on Phys.org
If you open up that notebook from the Wolfram library, click to open up the cell containing the code in the notebook, position the cursor at the end of BlockMatrix, click the mouse and tap <f1> then the help system should open in version 9 showing

LinearAlgebra`MatrixManipulation` (Mathematica Compatibility Information)

and click on that to open up a long list of "how you did it in V5.2 versus how you do it now."

Try all that and see if you can get it to work.