Generating square wave AC

Do you want a true AC wave. If so then you want a h-bridge, the sort you use for driving motors.