Skip to content

Conversation

@nkanazawa1989
Copy link
Collaborator

@nkanazawa1989 nkanazawa1989 commented Jul 17, 2025

In the current implementation QuantumRuntime.sampler, for example, calls a private method ._setup_runner to create a Prefect task to execute the Qiskit Primitives. This means the Prefect Task object is hidden from the end users, which was intention of this package to better align with the conventional Qiskit programming syntax.

However, as a Prefect user, I also want to handle raw Task object to customize execution. This PR turns the task factory method into public so that experienced Prefect users can control more Prefect features.

The default tag of primitive-execute is also dropped because tags depend on the design of flow.

@nkanazawa1989 nkanazawa1989 added the feature implementation of new feature label Jul 17, 2025
@nkanazawa1989 nkanazawa1989 merged commit 860256d into qiskit-community:main Jul 17, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature implementation of new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant