# QuantumKernel.construct_circuit¶

QuantumKernel.construct_circuit(x, y=None, measurement=True, is_statevector_sim=False)[स्रोत]

Construct inner product circuit for given datapoints and feature map.

If using statevector_simulator, only construct circuit for $$\Psi(x)|0\rangle$$, otherwise construct $$Psi^dagger(y) x Psi(x)|0>$$ If y is None and not using statevector_simulator, self inner product is calculated.

मापदण्ड:
प्रदत्त प्रकार :

QuantumCircuit

प्रदत्त :

QuantumCircuit

उभारता है :
• x and/or y have incompatible dimension with feature map - unbound training parameters in the feature map circuit