Skip to content

Commit bab23f7

Browse files
Merge branch 'master' into beta
2 parents dc3047b + 8091968 commit bab23f7

File tree

5 files changed

+145
-56
lines changed

5 files changed

+145
-56
lines changed

Diff for: README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ We also have [Docker support](/docker).
105105

106106
- Tensor network simulation engine based
107107

108-
- JIT, AD, vectorized parallelism compatible, GPU support
108+
- JIT, AD, vectorized parallelism compatible
109+
110+
- GPU support, quantum device access support, hybrid deployment support
109111

110112
- Efficiency
111113

Diff for: README_cn.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ pip install tensorcircuit-nightly
103103

104104
- 基于张量网络模拟引擎
105105

106-
- 即时编译、自动微分、向量并行化兼容,GPU 支持
106+
- 即时编译、自动微分、向量并行化兼容
107+
108+
- GPU 支持、量子硬件支持、混合部署方案支持
107109

108110
- 效率
109111

Diff for: docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ TensorCircuit is an open-source high-performance quantum computing software fram
2121

2222
* It is compatible with machine learning engineering paradigms: automatic differentiation, just-in-time compilation, vectorized parallelism and GPU acceleration. 🛠
2323

24-
With the help of TensorCircuit, now get ready to efficiently and elegantly solve interesting and challenging quantum computing problems from academic research prototype to industry application deployment.
24+
With the help of TensorCircuit, now get ready to efficiently and elegantly solve interesting and challenging quantum computing problems: from academic research prototype to industry application deployment.
2525

2626

2727

Diff for: docs/source/locale/zh/LC_MESSAGES/api.po

+57-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: tensorcircuit\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-05-07 10:47+0800\n"
11+
"POT-Creation-Date: 2023-05-10 22:01+0800\n"
1212
"PO-Revision-Date: 2022-04-13 14:58+0800\n"
1313
"Last-Translator: Xinghan Yang\n"
1414
"Language: cn\n"
@@ -587,6 +587,8 @@ msgstr ""
587587
#: tensorcircuit.cloud.apis.submit_task tensorcircuit.cloud.tencent.submit_task
588588
#: tensorcircuit.cloud.utils.set_proxy
589589
#: tensorcircuit.cloud.wrapper.batch_expectation_ps
590+
#: tensorcircuit.compiler.composed_compiler.DefaultCompiler.__init__
591+
#: tensorcircuit.compiler.qiskit_compiler.qiskit_compile
590592
#: tensorcircuit.cons.get_contractor tensorcircuit.cons.get_dtype
591593
#: tensorcircuit.cons.plain_contractor tensorcircuit.cons.runtime_backend
592594
#: tensorcircuit.cons.runtime_dtype tensorcircuit.cons.set_contractor
@@ -1526,6 +1528,7 @@ msgstr ""
15261528
#: tensorcircuit.cloud.apis.submit_task tensorcircuit.cloud.tencent.submit_task
15271529
#: tensorcircuit.cloud.utils.set_proxy
15281530
#: tensorcircuit.cloud.wrapper.batch_expectation_ps
1531+
#: tensorcircuit.compiler.qiskit_compiler.qiskit_compile
15291532
#: tensorcircuit.cons.get_contractor tensorcircuit.cons.get_dtype
15301533
#: tensorcircuit.cons.plain_contractor tensorcircuit.cons.set_contractor
15311534
#: tensorcircuit.cons.set_dtype tensorcircuit.cons.set_function_backend
@@ -2307,6 +2310,7 @@ msgstr ""
23072310
#: tensorcircuit.cloud.apis.set_provider tensorcircuit.cloud.apis.set_token
23082311
#: tensorcircuit.cloud.apis.submit_task tensorcircuit.cloud.tencent.submit_task
23092312
#: tensorcircuit.cloud.wrapper.batch_expectation_ps
2313+
#: tensorcircuit.compiler.qiskit_compiler.qiskit_compile
23102314
#: tensorcircuit.cons.get_contractor tensorcircuit.cons.get_dtype
23112315
#: tensorcircuit.cons.plain_contractor tensorcircuit.cons.runtime_backend
23122316
#: tensorcircuit.cons.runtime_contractor tensorcircuit.cons.runtime_dtype
@@ -14324,6 +14328,24 @@ msgstr ""
1432414328
msgid "object oriented compiler pipeline"
1432514329
msgstr ""
1432614330

14331+
#: of tensorcircuit.compiler.composed_compiler.DefaultCompiler:1
14332+
msgid "Bases: :py:class:`~tensorcircuit.compiler.composed_compiler.Compiler`"
14333+
msgstr ""
14334+
14335+
#: of tensorcircuit.compiler.composed_compiler.DefaultCompiler.__init__:1
14336+
msgid ""
14337+
"A fallback choice to compile circuit running on tencent quantum cloud "
14338+
"with rz as native gate"
14339+
msgstr ""
14340+
14341+
#: of tensorcircuit.compiler.composed_compiler.DefaultCompiler.__init__:3
14342+
msgid ""
14343+
"qiskit compiled options to be added options documented in "
14344+
"`qiskit.transpile` method, to use tencent quantum cloud, "
14345+
"`{\"coupling_map\": d.topology()}` is in general enough, where d is a "
14346+
"device object, defaults to None, i.e. no qubit mapping is applied"
14347+
msgstr ""
14348+
1432714349
#: ../../source/api/compiler/qiskit_compiler.rst:2
1432814350
msgid "tensorcircuit.compiler.qiskit_compiler"
1432914351
msgstr ""
@@ -14332,6 +14354,40 @@ msgstr ""
1433214354
msgid "compiler interface via qiskit"
1433314355
msgstr ""
1433414356

14357+
#: of tensorcircuit.compiler.qiskit_compiler.qiskit_compile:1
14358+
msgid ""
14359+
"compile the circuit using ``qiskit.transpile`` method with some tricks "
14360+
"and hacks"
14361+
msgstr ""
14362+
14363+
#: of tensorcircuit.compiler.qiskit_compiler.qiskit_compile:3
14364+
msgid "circuit in ``tc.Circuit`` or ``qiskit.QuantumCircuit`` form"
14365+
msgstr ""
14366+
14367+
#: of tensorcircuit.compiler.qiskit_compiler.qiskit_compile:5
14368+
msgid "info for qubit mappings, defaults to None"
14369+
msgstr ""
14370+
14371+
#: of tensorcircuit.compiler.qiskit_compiler.qiskit_compile:7
14372+
msgid "output circuit format, defaults to \"tc\""
14373+
msgstr ""
14374+
14375+
#: of tensorcircuit.compiler.qiskit_compiler.qiskit_compile:9
14376+
msgid "``qiskit.transpile`` options in a dict, defaults to None"
14377+
msgstr ""
14378+
14379+
#: of tensorcircuit.compiler.qiskit_compiler.qiskit_compile:11
14380+
msgid "Tuple containing the output circuit and the qubit mapping info dict"
14381+
msgstr ""
14382+
14383+
#: ../../source/api/compiler/simple_compiler.rst:2
14384+
msgid "tensorcircuit.compiler.simple_compiler"
14385+
msgstr ""
14386+
14387+
#: of tensorcircuit.compiler.simple_compiler:1
14388+
msgid "Very simple transformations that qiskit may even fail or hard to control"
14389+
msgstr ""
14390+
1433514391
#: ../../source/api/cons.rst:2
1433614392
msgid "tensorcircuit.cons"
1433714393
msgstr ""

Diff for: docs/source/locale/zh/LC_MESSAGES/index.po

+81-52
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: tensorcircuit\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-05-07 10:47+0800\n"
12-
"PO-Revision-Date: 2023-05-07 11:00+0800\n"
11+
"POT-Creation-Date: 2023-05-10 22:52+0800\n"
12+
"PO-Revision-Date: 2023-05-10 22:54+0800\n"
1313
"Last-Translator: Xinghan Yang\n"
1414
"Language-Team: \n"
1515
"Language: cn\n"
@@ -20,156 +20,179 @@ msgstr ""
2020
"X-Generator: Poedit 3.2.2\n"
2121

2222
#: ../../source/index.rst:2
23-
msgid "Guide to TensorCircuit"
24-
msgstr "TensorCircuit 指南"
23+
msgid "TensorCircuit Documentation"
24+
msgstr "参考文档"
25+
26+
#: ../../source/index.rst:8
27+
msgid "**Welcome and congratulations! You have found TensorCircuit.** 👏"
28+
msgstr "**祝贺你发现了 TensorCircuit!** 👏"
2529

26-
#: ../../source/index.rst:7
30+
#: ../../source/index.rst:10
2731
msgid ""
28-
"TensorCircuit is an open source quantum circuit and algorithm simulation "
29-
"framework."
30-
msgstr "TensorCircuit 是开源的量子线路和量子算法模拟软件框架。"
32+
"TensorCircuit is an open-source high-performance quantum computing software "
33+
"framework in Python."
34+
msgstr "TensorCircuit 是基于 Python 的开源高性能量子计算软件框架。"
3135

32-
#: ../../source/index.rst:9
33-
msgid "It is built for human beings. 👽"
36+
#: ../../source/index.rst:12
37+
msgid "It is built for humans. 👽"
3438
msgstr "适合人类。👽"
3539

36-
#: ../../source/index.rst:11
40+
#: ../../source/index.rst:14
3741
msgid "It is designed for speed, flexibility and elegance. 🚀"
3842
msgstr "速度,灵活,优雅。🚀"
3943

40-
#: ../../source/index.rst:13
44+
#: ../../source/index.rst:16
4145
msgid "It is empowered by advanced tensor network simulator engine. 🔋"
4246
msgstr "先进张量网络引擎赋能。🔋"
4347

44-
#: ../../source/index.rst:15
48+
#: ../../source/index.rst:18
4549
msgid ""
46-
"It is ready for quantum hardware access with CPU/GPU/QPU hybrid deployment "
50+
"It is ready for quantum hardware access with CPU/GPU/QPU (local/cloud) hybrid "
4751
"solutions. 🖥"
4852
msgstr "量子硬件支持,优雅 CPU/GPU/QPU 混合部署方案。 🖥"
4953

50-
#: ../../source/index.rst:17
54+
#: ../../source/index.rst:20
5155
msgid ""
5256
"It is implemented with industry-standard machine learning frameworks: "
5357
"TensorFlow, JAX, and PyTorch. 🤖"
5458
msgstr "业界标准机器学习框架 TensorFlow,JAX,PyTorch 实现。🤖"
5559

56-
#: ../../source/index.rst:19
60+
#: ../../source/index.rst:22
5761
msgid ""
5862
"It is compatible with machine learning engineering paradigms: automatic "
5963
"differentiation, just-in-time compilation, vectorized parallelism and GPU "
6064
"acceleration. 🛠"
6165
msgstr "与机器学习工程实践兼容:自动微分,即时编译,向量并行化和 GPU 加速。🛠"
6266

63-
#: ../../source/index.rst:23
64-
msgid "Links"
65-
msgstr "重要链接"
67+
#: ../../source/index.rst:24
68+
msgid ""
69+
"With the help of TensorCircuit, now get ready to efficiently and elegantly "
70+
"solve interesting and challenging quantum computing problems: from academic "
71+
"research prototype to industry application deployment."
72+
msgstr ""
73+
"有了 TensorCircuit,你现在可以高效优雅地解决量子计算中的各种问题:从学术研究的原"
74+
"型开发到工业应用的部署。"
6675

67-
#: ../../source/index.rst:25
76+
#: ../../source/index.rst:29
77+
msgid "Relevant Links"
78+
msgstr "相关链接"
79+
80+
#: ../../source/index.rst:31
6881
msgid ""
6982
"TensorCircuit is created and maintained by `Shi-Xin Zhang <https://github.com/"
70-
"refraction-ray>`_ and this version of the software is released by `Tencent "
71-
"Quantum Lab <https://quantum.tencent.com/>`_. The current core authors of "
72-
"TensorCircuit are `Shi-Xin Zhang <https://github.com/refraction-ray>`_ and `Yu-"
73-
"Qin Chen <https://github.com/yutuer21>`_. We also thank `contributions <https://"
74-
"github.com/tencent-quantum-lab/tensorcircuit/graphs/contributors>`_ from the "
75-
"lab and the open source community."
83+
"refraction-ray>`_ and this version is released by `Tencent Quantum Lab <https://"
84+
"quantum.tencent.com/>`_."
7685
msgstr ""
86+
"TensorCircuit 由 `Shi-Xin Zhang <https://github.com/refraction-ray>`_ 创建和维"
87+
"护;此版本由 `腾讯量子实验室 <https://quantum.tencent.com/>`_ 发布。"
7788

78-
#: ../../source/index.rst:29
89+
#: ../../source/index.rst:33
90+
msgid ""
91+
"The current core authors of TensorCircuit are `Shi-Xin Zhang <https://github."
92+
"com/refraction-ray>`_ and `Yu-Qin Chen <https://github.com/yutuer21>`_. We also "
93+
"thank `contributions <https://github.com/tencent-quantum-lab/tensorcircuit/"
94+
"graphs/contributors>`_ from the lab and the open source community."
95+
msgstr ""
96+
"TensorCircuit 当前主要作者为 `Shi-Xin Zhang <https://github.com/refraction-"
97+
"ray>`_,`Yu-Qin Chen <https://github.com/yutuer21>`_。同时感谢来自实验室和开源社"
98+
"区的 `贡献 <https://github.com/tencent-quantum-lab/tensorcircuit/graphs/"
99+
"contributors>`_。"
100+
101+
#: ../../source/index.rst:36
102+
msgid ""
103+
"If you have any further questions or collaboration ideas, please use the issue "
104+
"tracker or forum below, or send email to shixinzhang#tencent.com."
105+
msgstr ""
106+
"如果关于 TensorCircuit 有任何问题咨询或合作意向,请在 issue 或 discussion 提问,"
107+
"或发送邮件到 shixinzhang#tencent.com。"
108+
109+
#: ../../source/index.rst:39
79110
msgid "Source code: https://github.com/tencent-quantum-lab/tensorcircuit"
80111
msgstr "源代码: https://github.com/tencent-quantum-lab/tensorcircuit"
81112

82-
#: ../../source/index.rst:31
113+
#: ../../source/index.rst:41
83114
msgid "Documentation: https://tensorcircuit.readthedocs.io"
84115
msgstr "文档: https://tensorcircuit.readthedocs.io"
85116

86-
#: ../../source/index.rst:33
117+
#: ../../source/index.rst:43
87118
msgid ""
88119
"Software Whitepaper (published in Quantum): https://quantum-journal.org/papers/"
89120
"q-2023-02-02-912/"
90121
msgstr ""
91122
"软件白皮书 (发表于 Quantum): https://quantum-journal.org/papers/"
92123
"q-2023-02-02-912/"
93124

94-
#: ../../source/index.rst:35
125+
#: ../../source/index.rst:45
95126
msgid "Issue Tracker: https://github.com/tencent-quantum-lab/tensorcircuit/issues"
96127
msgstr "问题跟踪: https://github.com/tencent-quantum-lab/tensorcircuit/issues"
97128

98-
#: ../../source/index.rst:37
129+
#: ../../source/index.rst:47
99130
msgid "Forum: https://github.com/tencent-quantum-lab/tensorcircuit/discussions"
100131
msgstr ""
101132
"论坛社区: https://github.com/tencent-quantum-lab/tensorcircuit/discussions"
102133

103-
#: ../../source/index.rst:39
134+
#: ../../source/index.rst:49
104135
msgid "PyPI page: https://pypi.org/project/tensorcircuit"
105136
msgstr "PyPI 页面: https://pypi.org/project/tensorcircuit"
106137

107-
#: ../../source/index.rst:41
138+
#: ../../source/index.rst:51
108139
msgid ""
109140
"DockerHub page: https://hub.docker.com/repository/docker/tensorcircuit/"
110141
"tensorcircuit"
111142
msgstr ""
112143
"DockerHub 页面: https://hub.docker.com/repository/docker/tensorcircuit/"
113144
"tensorcircuit"
114145

115-
#: ../../source/index.rst:43
146+
#: ../../source/index.rst:53
116147
msgid ""
117148
"Research and projects based on TensorCircuit: https://github.com/tencent-"
118149
"quantum-lab/tensorcircuit#research-and-applications"
119150
msgstr ""
120151
"基于 TensorCircuit 的研究和项目: https://github.com/tencent-quantum-lab/"
121152
"tensorcircuit#research-and-applications"
122153

123-
#: ../../source/index.rst:45
154+
#: ../../source/index.rst:55
124155
msgid "Tencent Quantum Cloud Service: https://quantum.tencent.com/cloud/"
125156
msgstr "腾讯量子云服务: https://quantum.tencent.com/cloud/"
126157

127-
#: ../../source/index.rst:47
128-
msgid ""
129-
"If you have any further questions or collaboration ideas in terms of "
130-
"TensorCircuit, please send email to shixinzhang#tencent.com."
131-
msgstr ""
132-
"如果关于 TensorCircuit 有任何其他问题咨询或合作意向,请发送邮件到 "
133-
"shixinzhang#tencent.com。"
134-
135-
#: ../../source/index.rst:51
158+
#: ../../source/index.rst:61
136159
msgid "Reference Documentation"
137160
msgstr "参考文档"
138161

139-
#: ../../source/index.rst:53
162+
#: ../../source/index.rst:63
140163
msgid ""
141164
"The following documentation sections briefly introduce TensorCircuit to the "
142165
"users and developpers."
143166
msgstr "以下文档向用户和开发者简要介绍了 TensorCircuit 软件。"
144167

145-
#: ../../source/index.rst:66
168+
#: ../../source/index.rst:76
146169
msgid "Tutorials"
147170
msgstr "教程"
148171

149-
#: ../../source/index.rst:68
172+
#: ../../source/index.rst:78
150173
msgid ""
151174
"The following documentation sections include integrated examples in the form of "
152175
"Jupyter Notebook."
153176
msgstr ""
154177
"以下 Jupyter Notebook 格式的文档包括了一系列使用 TensorCircuit 的集成案例。"
155178

156-
#: ../../source/index.rst:82
179+
#: ../../source/index.rst:92
157180
msgid "API References"
158181
msgstr "API 参考"
159182

160-
#: ../../source/index.rst:91
183+
#: ../../source/index.rst:101
161184
msgid "Indices and Tables"
162185
msgstr "索引和表格"
163186

164-
#: ../../source/index.rst:93
187+
#: ../../source/index.rst:103
165188
msgid ":ref:`genindex`"
166189
msgstr ":ref:`genindex`"
167190

168-
#: ../../source/index.rst:94
191+
#: ../../source/index.rst:104
169192
msgid ":ref:`modindex`"
170193
msgstr ":ref:`modindex`"
171194

172-
#: ../../source/index.rst:95
195+
#: ../../source/index.rst:105
173196
msgid ":ref:`search`"
174197
msgstr ":ref:`search`"
175198

@@ -184,3 +207,9 @@ msgstr ":ref:`search`"
184207

185208
#~ msgid "Software Whitepaper: https://arxiv.org/abs/2205.10091"
186209
#~ msgstr "白皮书文章: https://arxiv.org/abs/2205.10091"
210+
211+
#~ msgid "Guide to TensorCircuit"
212+
#~ msgstr "TensorCircuit 指南"
213+
214+
#~ msgid "Links"
215+
#~ msgstr "重要链接"

0 commit comments

Comments
 (0)