RawFeatureVector¶
-
class
RawFeatureVector
(feature_dimension=2)[source]¶ Bases:
qiskit.aqua.components.feature_maps.feature_map.FeatureMap
Raw Feature Vector feature map.
The Raw Feature Vector can be directly used as a feature map, where the raw feature vectors will be automatically padded with ending 0s as necessary, to make sure vector length is a power of 2, and normalized such that it can be treated and used as an initial quantum state vector.
- Parameters
feature_dimension (
int
) – The feature dimension, has a minimum value of 1.
Methods
Construct the second order expansion based on given data.
get entangle map
validate entangler map
Attributes
-
feature_dimension
¶ returns feature dimension
-
num_qubits
¶ returns number of qubits
-
support_parameterized_circuit
¶ returns whether or not the sub-class support parameterized circuit