LegacyBaseOperator¶
-
class
LegacyBaseOperator
(basis=None, z2_symmetries=None, name=None)[source]¶ Bases:
abc.ABC
Operators relevant for quantum applications.
Constructor.
Methods
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.Time evolution, exp^(-jt H).
Check Operator is empty or not
print details
Convert to new Operator format.
Attributes
-
basis
¶ returns basis
-
name
¶ returns name
-
num_qubits
¶ Returns number of qubits for operator
-
z2_symmetries
¶ returns z2 symmetries
-