# qml.init.simplified_two_design_weights_normal¶

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

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

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

Parameters
• n_layers (int) – number of layers

• n_wires (int) – number of qubits

• mean (float) – mean of parameters

• std (float) – standard deviation of parameters

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

Returns

parameter array

Return type

array