Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wave function compact visualization #376

Merged
merged 5 commits into from
Dec 15, 2024

Conversation

davibinco
Copy link
Contributor

No description provided.

return sum(1 for (k, v) in self.raw_items() if abs(v) > 1e-6)
return sum(1 for _ in self.raw_items())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change on purpose? I'm guessing you branched off before #375?

Copy link
Contributor Author

@davibinco davibinco Dec 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it but I overwrote the code by mistake. Should I make a new one?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A new commit? Yes, or amend this one to remove the change. (Unless I misunderstood and you mean the change was on purpose?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it wasn't on purpose. I made a new commit.

src/tequila/wavefunction/qubit_wavefunction.py Outdated Show resolved Hide resolved
src/tequila/wavefunction/qubit_wavefunction.py Outdated Show resolved Hide resolved
@kottmanj
Copy link
Collaborator

Good to go?
@davibinco, @ohuettenhofer

@ohuettenhofer
Copy link
Contributor

I think so, yes.

for h2 hcb is a bit slower (overhead due to changes in orbopt function, not dramatic)
@kottmanj
Copy link
Collaborator

merging. No idea what the issue is with the psi4 installation in the tests (works locally)

@kottmanj kottmanj merged commit aab6c33 into tequilahub:devel Dec 15, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants