VSCFInitialPoint

class VSCFInitialPoint[source]

Bases: InitialPoint

Compute the vibrational self-consistent field (VSCF) initial point.

A class that provides an all-zero initial point for the VQE parameter values.

If used in concert with the VSCF initial state (which will be prepended to the UVCC circuit) the all-zero initial point will correspond to the VSCF initial point.

Attributes

ansatz

The UVCC ansatz.

The excitation_list and reps used by the UVCC ansatz is obtained to ensure that the shape of the initial point is appropriate.

problem

The problem.

The problem is not required to compute the VSCF initial point.

Methods

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

Compute the initial point parameter for each excitation.

See class documentation for more information.

Parameters:
Raises:

QiskitNatureError – If ansatz is not set.

to_numpy_array()[source]

The initial point as an array.

Return type:

ndarray