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

Support schema-based initialization for calibrators #2587

Open
natestemen opened this issue Nov 27, 2024 · 2 comments
Open

Support schema-based initialization for calibrators #2587

natestemen opened this issue Nov 27, 2024 · 2 comments

Comments

@natestemen
Copy link
Member

natestemen commented Nov 27, 2024

Once #2586 is closed we can start using the schema do to stuff! First, we should be able to instantiate a new Calibrator object using the schema.

To close this issue we should be able to run the following code block.

qem_experiment = {...}  # something that adheres to the schema

cal = Calibrator.from_schema(qem_experiment)

The code in from_schema should handle when qem_experiment is well defined, and when it is ill-formed, giving the user as helpful an error as possible.

cc @ecarlander @ruheenirodi let me know who I should assign! You'll have to comment on the issue in order to be assigned. Also, are the schemas with parameter sweeps ready to be added here? Should we keep that for a separate issue?

@ruheenirodi
Copy link

also commenting for assignment!

@ecarlander
Copy link
Contributor

Commenting to be assigned! The parameter sweeps are currently in the mitiq/schema directory from the other issue (#2586)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants