It depends on what you are trying to say.
I think what you want to say is that you will or would have learned something in two years. In that case, you should say "You will/would have learned [something] after two years."
Also, the word "learned" is an adjective, but it is not very common these days. So, you could also say "You will be learned after two years," to mean something like "you will have an education after two years" or "you will be knowledgeable after two years".