"typo" in codercise V1.1

def basic_entangling_ansatz(observable,params):
“”"Applies an ansatz with basic entanglement.
 
    Args:
        observable (qml.op): a pennylane operator whose expectation value we want to measure.
        params(np.array): an array with the trainable parameters of the ansatz. They have the shape of`qml.StronglyEntanglingLayers.shape(n_layers=1, n_wires=n_bits)`

This should be “they have the shape of qml.BasicEntanglerLayers.shape(n_layers=1, n_wires=n_bits)”.

  • bart

Hi @kasterma, welcome to the forum!
Yes, you are right. Thanks for pointing this out, I will fix it ASAP.

1 Like