Skip to content

correct job type inference#1350

Merged
richrines1 merged 4 commits into
mainfrom
rich/job-types
Feb 26, 2026
Merged

correct job type inference#1350
richrines1 merged 4 commits into
mainfrom
rich/job-types

Conversation

@richrines1

Copy link
Copy Markdown
Contributor

currently jobs submitted to external targets ending in "_simulator" are marked as JobType.SIMULATE, however these should be treated as normal submissions ("simulate" is reserved for local simulations by superstaq)

if target.endswith("_simulator") or method == "sim":
if method == "sim":
job_type = "simulate"
if method == "sim":

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this second conditional necessary as it's within a conditional block where method is already "sim"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oops nope good catch

@cdbf1 cdbf1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One nit otherwise lgtm

@richrines1 richrines1 merged commit d79e591 into main Feb 26, 2026
21 checks passed
@richrines1 richrines1 deleted the rich/job-types branch February 26, 2026 19:06
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