Skip to content

Instantly share code, notes, and snippets.

@hariby
Last active October 21, 2021 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hariby/f1a0519f344951f9e29d67c5d10ebd31 to your computer and use it in GitHub Desktop.
Save hariby/f1a0519f344951f9e29d67c5d10ebd31 to your computer and use it in GitHub Desktop.

Amazon Braket を使った量子化学計算

2021-10-21 10:00-12:00

Time Table (予定)

ハンズオン環境 (AWS Management Console) へのログイン

10:00-10:15 (15 min)

  • User 名 (WorkshopUser-n) の最後に付いている数字 n を3で割った余りでリージョンを割り振っています:
    • n%3 == 0: N. Virgnia (us-east-1)
    • n%3 == 1: N. California (us-west-1)
    • n%3 == 2: Oregon (us-west-2)

ハンズオン1. IonQ (イオントラップ) での VQE タスク実行

10:15-10:55 (40 min)

  • Terminal を開き、以下のコマンドでサンプルノートブックをダウンロード:
cd SageMaker
git clone -b qparc https://github.com/hariby/amazon-braket-examples.git
  • Jupyter のファイルブラウザからノートブックを開く amazon-braket-examples / examples / hybrid_quantum_algorithms / VQE_Chemistry / [VQE_chemistry_braket_backend_devices.ipynb](https://github.com/hariby/amazon-braket-examples/blob/qparc/examples/hybrid_quantum_algorithms/VQE_Chemistry/VQE_chemistry_braket_backend_devices.ipynb)

Amazon Braket の紹介

10:55-11:30 (35 min)

ハンズオン2. PennyLane を使った VQE の実行

11:30-11:50 (20 min) 予定でしたが、時間が足りなさそうだったのでスキップして質疑の時間にあてました。

  • 上と同様に、日本語サンプルリポジトリを ~/SageMaker ディレクトリにクローンします:
git clone https://github.com/hariby/amazon-braket-examples-jp.git

参考

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment