strong_ent_layer_uniform

Module: pennylane.init

strong_ent_layer_uniform(n_wires, low=0, high=6.283185307179586, seed=None)[source]

Creates a list of a single parameter array for StronglyEntanglingLayer(), drawn from a uniform distribution.

The shape of the parameter array is (n_wires, 3) and each parameter is drawn uniformly at random from between low and high. The parameters define the three rotation angles applied to each layer.

Parameters:

n_wires (int) – number of qubits

Keyword Arguments:
 
  • low (float) – minimum value of non-angle gate parameters
  • high (float) – maximum value of non-angle gate parameters
  • seed (int) – seed used in sampling the parameters, makes function call deterministic
Returns:

list of parameter array