Text this: Resource optimized quantum squaring circuit