def METHOD_NAME(self):
    """Tests that create_initial_state works with a real state-prep operator."""
    prep_op = qml.BasisState([0, 1, 0], wires=[0, 1, 2])
    state = create_initial_state([0, 1, 2], prep_operation=prep_op)
    assert state[0, 1, 0] == 1
    state[0, 1, 0] = 0  # set to zero to make test below simple
    assert qml.math.allequal(state, np.zeros((2, 2, 2)))