EncodingCommutationVerifier¶
- class EncodingCommutationVerifier(encoding, estimator, pass_manager=None)[source]¶
Bases:
object
Class for verifying that the relaxation commutes with the objective function.
- Parameters:
encoding (QuantumRandomAccessEncoding) – The encoding to verify.
estimator (BaseEstimatorV1 | BaseEstimatorV2) – The estimator to use for the verification.
pass_manager (BasePassManager | None) – The pass manager to transpile the circuits
Methods