qutip / qutip-notebooks

A collection of IPython notebooks using QuTiP: examples, tutorials, development test, etc.
BSD 3-Clause "New" or "Revised" License
235 stars 236 forks source link

Example error regarding piqs #151

Open Htxxxg opened 1 year ago

Htxxxg commented 1 year ago

Hey: I am trying to learn PIQS, but I encountered some unpleasant errors while running the examples. The example path is: https://nbviewer.org/github/qutip/qutip-notebooks/blob/master/examples/piqs-overview.ipynb . The location is 1. N Qubits Dynamics. When running to the In [4] code block, an error occurred: RuntimeError: Factor is exactly singular.

Htxxxg commented 1 year ago

I was able to successfully run on my personal laptop when setting the system dimension N=5, but when the dimension increases, I will report an error: singular matrix. Can a system with a larger N be calculated using a more powerful computer? `QuTiP: Quantum Toolbox in Python

Copyright (c) QuTiP team 2011 and later. Current admin team: Alexander Pitchford, Nathan Shammah, Shahnawaz Ahmed, Neill Lambert, Eric Giguère, Boxi Li, Jake Lishman, Simon Cross and Asier Galicia. Board members: Daniel Burgarth, Robert Johansson, Anton F. Kockum, Franco Nori and Will Zeng. Original developers: R. J. Johansson & P. D. Nation. Previous lead developers: Chris Granade & A. Grimsmo. Currently developed through wide collaboration. See https://github.com/qutip for details.

QuTiP Version: 4.7.1 Numpy Version: 1.23.5 Scipy Version: 1.10.0 Cython Version: None Matplotlib Version: 3.7.0 Python Version: 3.10.9 Number of CPUs: 8 BLAS Info: INTEL MKL OPENMP Installed: False INTEL MKL Ext: False Platform Info: Windows (AMD64) Installation path: D:\software\Anaconda\lib\site-packages\qutip

Please cite QuTiP in your publication.

For your convenience a bibtex reference can be easily generated using `qutip.cite()``