Comments (5)
This particular example seems to converge relatively fast (and correctly) in both cases for me. To get to the root of this problem, can you tell me if eigsh work for you in other circumstances? For example on just a simple 4x4 matrix? If you watch your resources, are you running out of memory when you get the SIGSEGV error?
from openfermion.
This example runs just fine for me as well. Which version of OpenFermion are you running? What about your scipy version?
from openfermion.
Hello Jarrod, Ryan
I have scipy version 1.0.0 and eigsh never work fine for me even in _hydrogen_integration_test.py or _lih_integration_test.py where eigsh is used in get_ground_state() function
Openfermion is latest from master (2 march commit)
best vladimir
from openfermion.
Hi Vladimir
It sounds like the test is failing at the level of ARPACK. If your python distribution was self-contained you may want to reinstall scipy and/or numpy. If it's linking to existing linear algebra packages or ARPACK, you may need to reinstall those and ensure they are working.
from openfermion.
Hi Jarrod
I created a simpler test that reproduces an issue on my computer
#!/usr/bin/env python3
import numpy as np
from scipy.sparse.linalg import eigsh
m = np.matrix(
[[-2.77555756e-17+0.j, 0.00000000e+00+0.j, 0.00000000e+00+0.j, 0.00000000e+00+0.j],
[ 0.00000000e+00+0.j, -4.66581850e-01+0.j, 0.00000000e+00+0.j, 0.00000000e+00+0.j],
[ 0.00000000e+00+0.j, 0.00000000e+00+0.j, -1.58557755e-01+0.j, 0.00000000e+00+0.j],
[ 0.00000000e+00+0.j, 0.00000000e+00+0.j, 0.00000000e+00+0.j, -4.66581850e-01+0.j]]
)
energy, state = eigsh(m, 2, which='SA', maxiter=1e7)
I think I need to write to scipy tech support, sorry.
from openfermion.
Related Issues (20)
- Help with one-body and two-body coefficients for orbital removal
- UHF energy with openfermion HOT 1
- scipy > 1.9.3 breaks QuarticFermionicSimulationGate decompose method. HOT 5
- Incorrect Bounds on Trotter Error
- Incorrect formula to calculate required Trotter steps HOT 1
- Resource estimation code not tested as part of the CI
- Should move to black for formatting.
- Why does MajoranaOperator not subclass SymbolicOperator? HOT 1
- Some inconsistencies in molecular single factorization costings HOT 1
- Inconsistencies in the double factorized chemistry resource estimate costing function
- 91 tests fail HOT 7
- Nightly tests are broken HOT 1
- slight modification to function generate_hamiltonian ?
- Operation between MajoranaOperator and numbers? HOT 5
- QuadraticFermionicSimulationGate tests fail with cirq == 1.3.0 HOT 5
- Hubbard model notebook is flaky
- Trotter evolution time may be off by a factor of 2 HOT 2
- 1 test fails HOT 1
- get_sparse_operator fails on non-simplified QubitOperators
- Bad behavior when working with sympy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfermion.