Qiskit / qiskit-aer

Aer is a high performance simulator for quantum circuits that includes noise models
https://qiskit.github.io/qiskit-aer/
Apache License 2.0
465 stars 354 forks source link

Fix init of EstimatorV2 and SamplerV2 #2120

Closed doichanj closed 1 month ago

doichanj commented 2 months ago

Summary

Fixes #2117

Details and comments

This PR fixes init function of EstimatorV2 and SamplerV2 to store method option in self.options.backend_options if method is not specified as input parameter