RoundingContext#
- class RoundingContext(encoding, expectation_values, circuit=None)[source]#
Bases:
object
Information that is provided for rounding
Attributes
- circuit: QuantumCircuit | None = None#
Circuit corresponding to the encoding and expectation values.
- encoding: QuantumRandomAccessEncoding#
Encoding containing the problem information.
Methods