EncodingCommutationVerifier#

class EncodingCommutationVerifier(encoding, estimator)[source]#

Bases: object

Class for verifying that the relaxation commutes with the objective function.

Parameters:
  • encoding (QuantumRandomAccessEncoding) – The encoding to verify.

  • estimator (BaseEstimator) – The estimator to use for the verification.

Methods