Kerr

Module: pennylane

class Kerr(kappa, wires)[source]

Kerr interaction.

\[K(\kappa) = e^{i \kappa \hat{n}^2}.\]

Details:

  • Number of wires: 1
  • Number of parameters: 1
  • Gradient recipe: None (uses finite difference)
Parameters:
  • kappa (float) – parameter
  • wires (Sequence[int] or int) – the wire the operation acts on