QuantumKernel.assign_training_parameters¶
- QuantumKernel.assign_training_parameters(parameter_values)[source]¶
Assign training parameters in the quantum kernel’s feature map.
- Parameters:
parameter_values (dict or iterable) – Either a dictionary or iterable specifying the new
dict (parameter values. If a) –
to (it specifies the mapping from current_parameter) –
new_parameter –
a (where new_parameter can be a parameter expression or) –
iterable (numeric value. If an) –
parameters (the elements are assigned to the existing) –
QuantumKernel.training_parameters. (in the order of) –
- Raises:
ValueError – Incompatible number of training parameters and values
- Return type:
None