qib.algorithms.vqe.ansatz.ansatz.Ansatz¶
- class qib.algorithms.vqe.ansatz.ansatz.Ansatz[source]¶
Bases:
AbstractOperatorParent class for VQE ansatze.
Methods
Generate the (sparse) matrix representation of the operator.
List of all fields appearing in the operator.
Whether the operator is Hermitian.
Whether the operator is unitary.