InitialPoint#

class InitialPoint[source]#

Bases: ABC

The initial point interface.

The interface for utility classes that provide an initial point for the VQE parameters for a particular EvolvedOperatorAnsatz.

Attributes

ansatz#

The evolved operator ansatz.

Raises:

NotImplementedError

problem#

The problem.

Raises:

NotImplementedError

Methods

compute(ansatz=None, problem=None)[source]#

Compute the initial point array.

abstract to_numpy_array()[source]#

Returns a NumPy array of the computed initial point.

Raises:

NotImplementedError

Return type:

ndarray