Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

MatrixExpectation

class MatrixExpectation[ソース]

ベースクラス: ExpectationBase

An Expectation converter which converts Operator measurements to be matrix-based so they can be evaluated by matrix multiplication.

Methods Defined Here

compute_variance

Compute the variance of the expectation estimator.

convert

Accept an Operator and return a new Operator with the Pauli measurements replaced by Matrix based measurements.