WASHINGTON (Reuters) - The United States and China both have advanced cyber warfare capabilities and must work to avoid miscalculations that could lead to conflict, Defense Secretary Leon Panetta said on Monday as he hosted the first visit by a Chinese defense minister in nine years.