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

Add convenience function for building the UCCSD ansatz #69

Merged
merged 10 commits into from
Jan 23, 2024
Merged

Conversation

chmwzc
Copy link
Contributor

@chmwzc chmwzc commented Jan 3, 2024

Un-commenting and fixing the (previously buggy) function to build the entire UCCSD ansatz using the Molecule class as an input

chmwzc added 4 commits January 2, 2024 08:25
Aka:just return 0.0 if input excitation is a single excitation
Haiz, first time working in office in 2024, somehow the mind is sooooo sloppy and careless
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2718de5) 100.00% compared to head (5e0bc37) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #69   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          401       433   +32     
=========================================
+ Hits           401       433   +32     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chmwzc chmwzc marked this pull request as ready for review January 4, 2024 02:02
@damarkian damarkian merged commit ad1277b into main Jan 23, 2024
@chmwzc chmwzc added this to the Qibochem 0.0.2 milestone Jan 24, 2024
@chmwzc chmwzc deleted the ucc-ansatz branch January 24, 2024 02:32
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.

2 participants