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

instance should be passed into QiskitFunctionsCatalog #8

Open
2 tasks
Tracked by #5
pandasa123 opened this issue Sep 17, 2024 · 0 comments
Open
2 tasks
Tracked by #5

instance should be passed into QiskitFunctionsCatalog #8

pandasa123 opened this issue Sep 17, 2024 · 0 comments
Labels
question Further information is requested

Comments

@pandasa123
Copy link
Collaborator

pandasa123 commented Sep 17, 2024

Description

This is an interesting issue, where we need to have a discussion. Currently, instance is passed in directly to a Qiskit Function, and is managed function-by-function. This is inconsistent with how instance is handled with Runtime, where QiskitRuntimeService consumes instance as an optional kwarg when instantiating the object

This opens the floor to an interesting question: beyond setting this an env_var for Function Providers, should QiskitFunctionsCatalog do anything in its underlying behaviours (authentication, list(), jobs(), etc)? (possibly out of scope for the first pass)

Acceptance Criteria

  • I should be able to pass in instance as an optional kwarg into QiskitFunctionsCatalog
  • If I pass in instance, functions (IBM + 3rd-party functions) should be able to access this with QISKIT_IBM_INSTANCE as an environment variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant