Mathematica 5.0 notebook does not work in Mathematica 9.0

  • Thread starter Thread starter Qubix
  • Start date Start date
  • Tags Tags
    Mathematica Work
Click For Summary
SUMMARY

The discussion centers on the compatibility issues between Mathematica 5.0 notebooks and Mathematica 9.0. A user seeks assistance in adapting a specific notebook for calculating the concurrence of a 2-qubit state from Mathematica 5.0 to work in Mathematica 9.0. A suggested solution involves using the help system in Mathematica 9.0 to access compatibility information for LinearAlgebra`MatrixManipulation`, which provides guidance on transitioning from version 5.2 to version 9.0.

PREREQUISITES
  • Familiarity with Mathematica 5.0 and 9.0
  • Understanding of qubit states and their calculations
  • Basic knowledge of Linear Algebra functions in Mathematica
  • Ability to navigate the Mathematica help system
NEXT STEPS
  • Research how to adapt Mathematica 5.0 code for use in Mathematica 9.0
  • Learn about the LinearAlgebra`MatrixManipulation` package in Mathematica 9.0
  • Explore the Wolfram library for additional resources on qubit state calculations
  • Investigate community forums for similar compatibility issues and solutions
USEFUL FOR

Mathematica users, quantum computing researchers, and developers needing to update legacy code for compatibility with newer versions of Mathematica.

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.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K