1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Mathematica 5.0 notebook does not work in Mathematica 9.0

  1. Jun 23, 2014 #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.


    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?

  2. jcsd
  3. Jun 23, 2014 #2


    Staff: Mentor

  4. Jun 23, 2014 #3
    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted