QMEstimatorV2¶
- class QMEstimatorV2(backend: QMBackend, options: QMEstimatorOptions | dict | None = None)[source][source]¶
Bases:
BaseEstimatorV2QOP-aware Qiskit V2 Estimator for
QMBackend.Computes expectation values and standard errors from QUA execution with optional abelian grouping and real-time parameter streaming.
Create an estimator bound to a QM backend.
- Parameters:
backend – Target backend with QuAM-derived
Target.options –
QMEstimatorOptionsinstance or options dict.
- run(pubs: Iterable[EstimatorPub | tuple[QuantumCircuit, str | Pauli | SparsePauliOp | SparseObservable | Mapping[str | Pauli, float] | _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | _NestedSequence[complex | bytes | str]] | tuple[QuantumCircuit, str | Pauli | SparsePauliOp | SparseObservable | Mapping[str | Pauli, float] | _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | _NestedSequence[complex | bytes | str], Mapping[Parameter | str | tuple[Parameter | str, ...], _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]]] | tuple[QuantumCircuit, str | Pauli | SparsePauliOp | SparseObservable | Mapping[str | Pauli, float] | _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | _NestedSequence[complex | bytes | str], Mapping[Parameter | str | tuple[Parameter | str, ...], _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]], Real]], *, precision: float | None = None)[source][source]¶
Run the estimator on the given pubs.
- Parameters:
pubs – Estimator pubs (circuit, observables, parameter values, precision).
precision – Target precision. Defaults to
default_precision.
- Returns:
QMEstimatorJob(or IQCC variant) after submission.
- property options: QMEstimatorOptions¶
Return the options for this estimator.