Skip to content

Commit 44aaf56

Browse files
fix doc url in vmap note
1 parent f21aacf commit 44aaf56

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

docs/source/whitepaper/6-3-vmap.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@
497497
"\n",
498498
"Use case: accelerating evaluation of Pauli string sum by parallel the parameterized measurement.\n",
499499
"\n",
500-
"For applications on evaluation of parameterized measurements via vmap on large-scale systems, see [large-scale vqe example script](../../../examples/vqe_extra.py)."
500+
"For applications on evaluation of parameterized measurements via vmap on large-scale systems, see [large-scale vqe example script](https://github.com/tencent-quantum-lab/tensorcircuit/blob/master/examples/vqe_extra.py)."
501501
]
502502
},
503503
{

docs/source/whitepaper/6-3-vmap_cn.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
"\n",
475475
"用例:通过并行参数化测量加速泡利字符串和的评估。\n",
476476
"\n",
477-
"有关在大型系统上通过 vmap 评估参数化测量的应用,请参阅 [大型 vqe 示例脚本](../../../examples/vqe_extra.py)。"
477+
"有关在大型系统上通过 vmap 评估参数化测量的应用,请参阅 [大型 vqe 示例脚本](https://github.com/tencent-quantum-lab/tensorcircuit/blob/master/examples/vqe_extra.py)。"
478478
]
479479
},
480480
{

examples/vqe_extra_mpo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def opt_reconf(inputs, output, size, **kws):
5151

5252
dtype = np.complex64
5353

54-
nwires, nlayers = 150, 7
54+
nwires, nlayers = 150, 7 # 600, 7
5555

5656

5757
Jx = np.array([1.0 for _ in range(nwires - 1)]) # strength of xx interaction (OBC)

examples/vqe_extra_mpo_spopt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def opt_reconf(inputs, output, size, **kws):
5353

5454
dtype = np.complex64
5555

56-
nwires, nlayers = 8, 2
56+
nwires, nlayers = 8, 2 # 600, 7
5757

5858

5959
Jx = np.array([1.0 for _ in range(nwires - 1)]) # strength of xx interaction (OBC)

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
install_requires.append("tensorflow")
1414
# avoid the embarassing macos M1 chip case, where the package is called tensorflow-macos
1515

16+
# TODO(@refraction-ray): add better check_m1 function
17+
1618
setuptools.setup(
1719
name="tensorcircuit",
1820
version=__version__,

0 commit comments

Comments
 (0)