-
Notifications
You must be signed in to change notification settings - Fork 2
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
Metadata flags #61
base: dev
Are you sure you want to change the base?
Metadata flags #61
Conversation
…ument ordering in the estimate methods to be more consistent
…m EstimateMetaData
…spective estimator tool
…en functions and classes -> nsteps
…rizationMetaData in estimate_trotter()
I don't see a commit that merges dev to this branch. Has that been merged in? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WIP Review
…lso fixed the convention with using objects as arguments and defaulting them to None
…fied, added -d/--directory argument to specify
scripts/AP-RE.py
Outdated
pathways = [ | ||
pathway_info( | ||
pathway=[27, 1, 14, 15, 16, 24, 25, 26], | ||
fname='water_oxidation_Co2O9H12.xyz' | ||
fname=pathway_directory+'water_oxidation_Co2O9H12.xyz' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of string concatenating, its best to do string formatting.
fname = f'{pathway_directory}/[filename here]'
gsee_args=gsee_args, | ||
init_state=init_state, | ||
precision_order=1, | ||
phase_offset=phase_offset, | ||
bits_precision=bits_precision, | ||
circuit_name=name, | ||
metadata=metadata, | ||
is_extrapolated=is_extrapolated, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see previous comment
@@ -55,28 +56,36 @@ def main(args): | |||
print('starting') | |||
value_per_circuit = value/repetitions | |||
value_per_circuit=6 | |||
dicke_metadata = EstimateMetaData( | |||
#TODO: See if I need to refactor the size string to include the variable names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this comment?
…assed it into all calls of clifford_plus_t_direct_transform
…racy as an argument to estimate_trotter
New PR to merge into dev instead of main.
Added flags like is_extrapolated to the metadata per Zach's issue #51. Implemented these through three new metadata objects. I also made some of the variable naming more consistent. I also integrated these changes into the scripts and python notebooks and verified that they ran without error.