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
Assignees
Labels
calibration priority/low A non-urgent issue to fix or idea to discuss. schema

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)

@purva-thakre purva-thakre added this to the 0.43.0 milestone Dec 20, 2024
@purva-thakre purva-thakre modified the milestones: 0.43.0, 0.44.0 Feb 11, 2025
@natestemen natestemen removed this from the 0.44.0 milestone Feb 14, 2025
@natestemen natestemen added the priority/low A non-urgent issue to fix or idea to discuss. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calibration priority/low A non-urgent issue to fix or idea to discuss. schema
Projects
None yet
Development

No branches or pull requests

4 participants