It's largely a skill matchup, Yasuos main strength against zed is levels 1-2, where zed can't really fight back if the yasuo knows what he is doing. So those early levels you should farm from safety with Q. If the yasuo does something stupid like trying to fight in your creep wave, you can punish him, but if he's playing smart he'll only try and fight under favorable conditions.
At level three, you can start poking yasuo down. While generally you want to W Q E combo a mobile target, against yasuo you want to W E Q, because slowing him down makes his movements much more predictable. It also might bait out his windwall, and once that's down yasuo is basically vulnerable to all your Q poke unless he is godlike at using minions.
Level six is basically death for yasuo (unless he massively outplays), you do much more damage than him provided he didn't rape you early, and then hopefully you can snowball from there. However, it should be noted that yasuo's teamfighting can be a lot more useful than zed's because he has his ult and really good DPS, however zed should win all duels.