# qml.init.simplified_two_design_initial_layer_uniform¶

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

Creates a parameter array for the initial_layer argument of SimplifiedTwoDesign(), drawn from a uniform distribution.

The shape of the parameter array is (n_wires,) and each parameter is drawn uniformly at random from between low and high. The parameters define the Pauli-Y rotation angles applied in the initial layer.

Parameters
• n_wires (int) – number of qubits

• low (float) – minimum value of uniform distribution

• high (float) – maximum value of uniform distribution

• seed (int) – seed used in sampling the parameters, makes function call deterministic

Returns

parameter array

Return type

array