QuantumKernelTrainerResult

class QuantumKernelTrainerResult[source]

Bases: VariationalResult

Quantum Kernel Trainer Result.

Attributes

optimal_circuit

The optimal circuits. Along with the optimal parameters, these can be used to retrieve the minimum eigenstate.

optimal_parameters

Returns the optimal parameters in a dictionary

optimal_point

Returns optimal point

optimal_value

Returns optimal value

optimizer_evals

Returns number of optimizer evaluations

optimizer_result

Returns the optimizer result

optimizer_time

Returns time taken for optimization

quantum_kernel

Return the optimized quantum kernel object.

Methods

combine(result)

Any property from the argument that exists in the receiver is updated. :param result: Argument result with properties to be set.

Raises:

TypeError – Argument is None