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

Kupccgsd identify parameter #185

Merged
merged 15 commits into from
Aug 1, 2023
Merged

Kupccgsd identify parameter #185

merged 15 commits into from
Aug 1, 2023

Conversation

dchung0741
Copy link
Contributor

@dchung0741 dchung0741 commented Aug 1, 2023

Identify particular parameters in kupgccsd ansatz

  • (Fix): Non-Singlet excitation kUpGCCSD ansatz: parameter count reduced to $3N(N-1)/2$ where $N$ is the number of spatial orbitals.
  • (Add): Singlet excitation kUpGCCSD ansatz: parameter count reduced to $N(N-1)$ where $N$ is the number of spatial orbitals.

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

@kwkbtr
Copy link
Contributor

kwkbtr commented Aug 1, 2023

Can you write some comments in the PR description if there are breaking changes? (e.g. number/order of parameters etc.)

(By the way, #181 is already merged but could you add comments about breaking changes there too?)

@github-actions github-actions bot temporarily deployed to pull request August 1, 2023 03:11 Inactive
@dchung0741
Copy link
Contributor Author

I just added comments on this PR page and the PR page for the UCCSD

@@ -55,53 +60,142 @@ def __init__(
fermion_qubit_mapping: OpenFermionQubitMapping = jordan_wigner,
trotter_number: int = 1,
delta_sz: int = 0,
singlet_excitation: bool = False,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add docstring for singlet_excitation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just added the docstring for it

@github-actions github-actions bot temporarily deployed to pull request August 1, 2023 04:48 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 1, 2023 05:28 Inactive
@kwkbtr kwkbtr merged commit 0f257dc into main Aug 1, 2023
@kwkbtr kwkbtr deleted the kUpCCGSD_identify_parameter branch August 1, 2023 05:30
@github-actions github-actions bot locked and limited conversation to collaborators Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants