I'm following this tutorial to try and implement a QSVC on the Iris dataset. The tutorial uses ZZFeatureMap to create the kernel with FidelityQuantumKernel, but I want to try and use different feature maps (such as the ones described in Section III in this). However, I'm unable to implement such feature maps. I tried, for example:
feature_map = RawFeatureVector(X_train.shape[1])
but when I train the SVC it says
QiskitError: 'Cannot define a ParameterizedInitialize with unbound parameters'
How can I implement feature maps to create kernels as
kernel = FidelityQuantumKernel(fidelity=fidelity, feature_map=feature_map)?