qiskit-ibm-runtime icon indicating copy to clipboard operation
qiskit-ibm-runtime copied to clipboard

Add method to return `Sampler` transpiled circuits

Open mberna opened this issue 1 year ago • 2 comments

What is the expected feature or enhancement? Transpiled circuits are available for Sampler jobs. We need to provide a way to be able to retrieve these transpiled circuits from this package.

Acceptance criteria Proposal: add a SamplerJob class that inherits from RuntimeJob . Add a transpiled_circuits() method to the SamplerJob class. Transpiled circuits are only available for Sampler jobs, not Estimator.

mberna avatar Jun 08 '23 21:06 mberna

Not having access to the transpiled circuits with the specific decomposition of the gates that was deployed on the backend seems really urgent to me. Equally important would be to know on which qubits was finally executed and the state of the machine at the moment via calibration. For publication-quality results, specifics are extremely important! Therefore Runtime should be more transparent to be able to use it for results that can actually be published. One could say the same about the implementation of the noise resilience and circuit optimization levels.

cacosomoza avatar Jun 27 '23 17:06 cacosomoza

Is there any progress on giving user access to transpiled circuit? It is important to know which qubits have been chosen. Is there any hack in the meantime?

balewski avatar Nov 27 '23 21:11 balewski

Let's just close this for now. With ISA circuit change, SamplerV2 doesn't do transpilation anymore.

jyu00 avatar May 22 '24 17:05 jyu00