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

Changes to the Benchmark Suite #2 #198

Merged
merged 2 commits into from
Jun 5, 2020
Merged

Conversation

Jeriimiah
Copy link
Contributor

Signed-off-by: Jerimiah Jerimiah.wright@utexas.edu

Added a toggle to the output logs generated by the benchmark suite. The default is no output log. Also added a return statement for the buffer, so you can interact with the data after running the suite. (xacc.py)

Fixed an initialization issue with the pyscf observable (pyscf_observable.py)

Added pyscf and adapt-vqe and its keywords to the benchmark suite (chemistry_benchmark.py)

Signed-off-by: Jerimiah <Jerimiah.wright@utexas.edu>
@gitpod-io
Copy link

gitpod-io bot commented Jun 5, 2020

@@ -36,13 +36,18 @@ def execute(self, inputParams):
elif inputParams['Observable']['name'] == 'fermion':
obs_str = inputParams['Observable']['obs_str']
H = xacc.getObservable('fermion', obs_str)

elif inputParams['Observable']['name'] == 'psi4':
Copy link
Contributor

Choose a reason for hiding this comment

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

These 2 elifs provide the same code, you should remove the pyscf one and replace the one elif with

elif inputParams['Observable']['name'] in ['pyscf','psi4']:

Copy link
Contributor Author

@Jeriimiah Jeriimiah Jun 5, 2020

Choose a reason for hiding this comment

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

I fixed this - Do I need to make a new pull request in order for the new changes to take effect?

python/xacc.py Show resolved Hide resolved
…stry_benchmark.py

Signed-off-by: Jerimiah <Jerimiah.wright@utexas.edu>
@amccaskey amccaskey merged commit 912ea0b into eclipse:master Jun 5, 2020
danclaudino pushed a commit to danclaudino/xacc that referenced this pull request Sep 16, 2020
Changes to the Benchmark Suite #2
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