def METHOD_NAME() -> wid.Box:
    """Create a circuit diagram widget.
    Returns:
        Output widget.
    """
    # The max circuit height corresponds to a 20Q circuit with flat
    # classical register.
    top_out = wid.Output(
        layout=wid.Layout(
            width="100%",
            height="auto",
            max_height="1000px",
            overflow="hidden scroll",
        )
    )
    top = wid.Box(children=[top_out], layout=wid.Layout(width="100%", height="auto"))
    return top