Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoyaYasuda committed Jun 7, 2023
1 parent 0a51bdb commit 424e8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ for r in result:
```

### サンプルコード1
3個の量子ビットのうち2個だけを1にする例です。基本的な使用方法と結果の形式をご確認ください
3個の量子ビットのうち2個だけを1にする例です。基本的な使用方法と結果をご確認ください

```python
from tytan import symbols, Compile, sampler
Expand Down Expand Up @@ -154,7 +154,7 @@ for r in result:


### サンプルコード2
3ルーク問題は、3×3マスに3つのルーク(飛車)を互いに利きが及ばないように置く方法を探す問題です。2次元配列的な量子ビットの設定方法と、Auto_arrayクラスによる4種の結果可視化方法をご確認ください
3ルーク問題は、3×3マスに3つのルーク(飛車)を互いに利きが及ばないように置く方法を探す問題です。二次元配列的な問題では量子ビットに「q_0_0」「q0_a」「q(0)(0)」のように英数字の添え字を付けます。サンプリングの乱数シードは固定できます。結果はAuto_arrayクラスを使って二次元配列で可視化できます(3種)

```python
from tytan import symbols, Compile, sampler, Auto_array
Expand Down

0 comments on commit 424e8cc

Please sign in to comment.