Module: pennylane.init

strong_ent_layers_normal(n_layers, n_wires, mean=0, std=0.1, seed=None)[source]

Creates a list of a single parameter array for StronglyEntanglingLayers(), drawn from a normal distribution.

The shape of the parameter array is (n_layers, n_wires, 3) and each parameter is drawn from a normal distribution with mean mean and standard deviation std. The parameters define the three rotation angles applied in each layer.

  • n_layers (int) – number of layers
  • n_wires (int) – number of qubits
Keyword Arguments:
  • mean (float) – mean of parameters
  • std (float) – standard deviation of parameters
  • seed (int) – seed used in sampling the parameters, makes function call deterministic

list of parameter array