Skip to content

Catch validation errors in rt flow if option set to none/warn#1079

Draft
ryanhill1 wants to merge 1 commit intomainfrom
runtime-validation-skip
Draft

Catch validation errors in rt flow if option set to none/warn#1079
ryanhill1 wants to merge 1 commit intomainfrom
runtime-validation-skip

Conversation

@ryanhill1
Copy link
Copy Markdown
Member

Summary of changes

  • Within the QbraidDevice.run pipeline, if load_program fails while constructing the auxillary payload and if the user has switched off program validation (i.e. RuntimeOptions "validate" option set to ValidationLevel.WARN or ValidationLevel.NONE) then return aux payload as empty dict instead of raising exception, and let job submission go through.
  • Add public property options to QbraidDevice (returns RuntimeOptions so can inspect after setting via QbraidDevice.set_options(...))

@ryanhill1 ryanhill1 changed the title Runtime validation - skip all Catch validation errors in rt flow if option set to none/warn Oct 28, 2025
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.

1 participant