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

allow setting multicircuit names from run method #200

Merged
merged 4 commits into from
Oct 16, 2024
Merged

Conversation

splch
Copy link
Collaborator

@splch splch commented Oct 14, 2024

Summary

can do:

multi_result = backend.run([qc_1, qc_2], name="multi-circuit").result().get_counts()

Details and comments

when running many jobs, concatenating child circuit names wont scale. this lets you set a short name

Copy link
Collaborator

@Cynocracy Cynocracy left a comment

Choose a reason for hiding this comment

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

Can you add a test case demonstrating what you mean? This seems to allow you to override every circuit name in the passed arguments, is that what you want?

@splch
Copy link
Collaborator Author

splch commented Oct 14, 2024

Can you add a test case demonstrating what you mean? This seems to allow you to override every circuit name in the passed arguments, is that what you want?

yeah i shouldve made this a draft pr - ill add some tests once it's working :)

@splch splch merged commit 48a8686 into main Oct 16, 2024
16 checks passed
@splch splch deleted the name-multicircuit-jobs branch October 16, 2024 19:26
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