# 実機（backend）で1000回実行
result = execute(compiled_circuit, backend, shots=1000).result()
# 結果の出力
print(result.get_counts(circuit))

# 結果のヒストグラムを表示
plot_histogram(result.get_counts(circuit))