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

Metadata flags #61

Open
wants to merge 38 commits into
base: dev
Choose a base branch
from
Open

Metadata flags #61

wants to merge 38 commits into from

Conversation

gsgrattan
Copy link
Collaborator

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.

George Stuart Grattan Jr and others added 19 commits October 25, 2024 14:36
…ument ordering in the estimate methods to be more consistent
@JonhasSC
Copy link
Collaborator

JonhasSC commented Nov 6, 2024

I don't see a commit that merges dev to this branch. Has that been merged in?

Copy link
Collaborator

@JonhasSC JonhasSC left a comment

Choose a reason for hiding this comment

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

WIP Review

src/qca/utils/utils.py Show resolved Hide resolved
src/qca/utils/utils.py Outdated Show resolved Hide resolved
src/qca/utils/algo_utils.py Outdated Show resolved Hide resolved
scripts/AP-RE.py Outdated Show resolved Hide resolved
scripts/HTSC-one-band-RE.py Outdated Show resolved Hide resolved
src/qca/utils/algo_utils.py Outdated Show resolved Hide resolved
src/qca/utils/utils.py Outdated Show resolved Hide resolved
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'
Copy link
Collaborator

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]'

src/qca/utils/utils.py Outdated Show resolved Hide resolved
src/qca/utils/utils.py Show resolved Hide resolved
src/qca/utils/utils.py Outdated Show resolved Hide resolved
src/qca/utils/algo_utils.py Outdated Show resolved Hide resolved
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,
Copy link
Collaborator

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
Copy link
Collaborator

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?

notebooks/MagneticLattices.ipynb Outdated Show resolved Hide resolved
notebooks/RuClExample.ipynb Outdated Show resolved Hide resolved
notebooks/HighTemperatureSuperConductorExample.ipynb Outdated Show resolved Hide resolved
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