LegacyBaseOperator¶
- class LegacyBaseOperator(basis=None, z2_symmetries=None, name=None)[source]¶
Operators relevant for quantum applications.
Constructor.
Attributes
returns basis
returns name
Returns number of qubits for operator
returns z2 symmetries
Methods
LegacyBaseOperator.__mul__
(other)Overload *
LegacyBaseOperator.chop
(threshold[, copy])Build circuits to compute the expectation w.r.t the wavefunction.
Consume the result from the quantum computer to build the expectation, will be only used along with the
construct_evaluation_circuit()
method.LegacyBaseOperator.evolve
(state_in, …)Time evolution, exp^(-jt H).
Check Operator is empty or not
print details
Convert to new Operator format.