Skip to content

Commit

Permalink
Update document .md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoyaYasuda committed Feb 18, 2024
1 parent 373d115 commit 1fd0933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document .md
Expand Up @@ -34,7 +34,7 @@ q = [symbols(f'q{i}') for i in range(5)] #[q0, q1, q2, q3, q4]
また、1次元~多次元の量子ビットを一度に定義できる関数が2種類あります。

文字シンボルを配列に定義する場合、次のようにndarray配列を得ます。
第2引数は省略するとデフォルトの添字形式になります。
第2引数は省略できません!(2024/02/18修正より)
```python
q = symbols_list([3, 3], 'q{}_{}')
print(q)
Expand Down

0 comments on commit 1fd0933

Please sign in to comment.