Weitang Li
Weitang Li
Hi everyone! I met the same problem: `fatal error LNK1181: cannot open input file 'lapack.lib'`. I tried `conda install mkl-devel` but got no luck. I've also tried moving on to...
I gave up hacking and read a little about the `setup.py` code. It appears that `primme` relies on `numpy` to determine where to find BLAS and so on. So I:...
Same problem leads to this issue. Probably should add this to the document or add a resize preprocessing procedure on test data?
There's already an in-production solution implemented by IPython, easy to use and cross-platform, [hardly documented](https://ipython.readthedocs.io/en/stable/api/generated/IPython.core.page.html?#IPython.core.page.page) though. Try: ```python import IPython IPython.core.page.page("\n".join(map(str, range(100)) ``` The output would be pretty much like...
> I'm not quite sure what you mean by "refactor PrettyDir to a single function like dir". What I meant is to define a new interface for users: ```python def...
1. `fh` is an openfermion object. Please refer to the [official document](https://quantumai.google/openfermion/tutorials/intro_to_openfermion) for the data structure. If you wish to print one-body integrals, the following code works ```python one_body_terms =...
> @liwt31 Why did you remove the line `if i[0] == "c" and j[0] == "c":` ? i, j are tuples of integers. No string is contained.
> @liwt31 I suppose that I cannot use `one_body_terms = fh.terms` to do point group symmetry for determining orbital removal index ? No, I believe more advanced tools are necessary....
This is certainly a viable method. If you do not care so much about accuracy, you can directly remove orbitals with the highest and lowest energy and retain the ones...
I believe it is currently supported in the master branch. The pypi version is too old indeed.