Open
Conversation
Collaborator
|
errors in test seem to be unrelated to tq, but an internal issue in excitation_solve |
Author
|
A few errors are similar to this: /opt/hostedtoolcache/Python/3.9.24/x64/lib/python3.9/site-packages/excitationsolve/excitation_solve.py:7: in <module>
parameter_variations: list | np.ndarray,
E TypeError: unsupported operand type(s) for |: 'type' and 'type'excitationsolve uses the Is it possible to use python3.10 or newer in the git runner or should I make excitationsolve compatible with python3.9? |
Collaborator
|
Ah, thanks for digging that up. |
Update recommended Python version in installation instructions.
Comment out h5py installation to prevent conflicts.
Collaborator
|
Issue is on the openfermion end. Issues with numpy.int64 which is not recognized as int anymore. Will remove affected transformations for now. |
Comment out problematic test cases related to openfermion.
too much work to maintain
Added a check for zero norm before eigenvalue computation.
Added debug print statements for troubleshooting.
Added error handling for basis state conversion.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey everyone,
I'd like to add the ExcitationSolve (code, preprint) optimizer to tequila. See a code example below using the implemented ExcitationSolve optimizer.
Open questions:
historymember variable correctly.Code example