Skip to content

Commit 4fb57df

Browse files
fix example pylint error
1 parent a55a169 commit 4fb57df

File tree

3 files changed

+4
-177
lines changed

3 files changed

+4
-177
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ TensorCircuit-NG is the only actively maintained official version and a [fully c
3535

3636
Please begin with [Quick Start](/docs/source/quickstart.rst) in the [full documentation](https://tensorcircuit-ng.readthedocs.io/).
3737

38-
For more information on software usage, sota algorithm implementation and engineer paradigm demonstration, please refer to 90+ [example scripts](/examples) and 40+ [tutorial notebooks](https://tensorcircuit-ng.readthedocs.io/en/latest/#tutorials). API docstrings and test cases in [tests](/tests) are also informative. One can also refer to AI-native docs for tensorcircuit-ng: [Devin Deepwiki](https://deepwiki.com/tensorcircuit/tensorcircuit-ng) and [Context7 MCP](https://context7.com/tensorcircuit/tensorcircuit-ng).
38+
For more information on software usage, sota algorithm implementation and engineer paradigm demonstration, please refer to 100+ [example scripts](/examples) and 40+ [tutorial notebooks](https://tensorcircuit-ng.readthedocs.io/en/latest/#tutorials). API docstrings and test cases in [tests](/tests) are also informative. One can also refer to AI-native docs for tensorcircuit-ng: [Devin Deepwiki](https://deepwiki.com/tensorcircuit/tensorcircuit-ng) and [Context7 MCP](https://context7.com/tensorcircuit/tensorcircuit-ng).
3939

4040
For beginners, please refer to [quantum computing lectures with TC-NG](https://github.com/sxzgroup/qc_lecture) to learn both quantum computing basics and representative usage of TensorCircuit-NG.
4141

examples/multihost_vqe.py

Lines changed: 0 additions & 174 deletions
This file was deleted.

examples/vqe_toric.py renamed to examples/vqe_toric_code.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212
from itertools import product
13-
from typing import Dict, Tuple, Optional
13+
from typing import Dict, Tuple
1414

1515
import numpy as np
1616
import tensorflow as tf
@@ -531,7 +531,8 @@ def main():
531531
fldc_num_layers = 3
532532
maxiter = 1000
533533
# For each ansatz, there are 100 independent VQE trials
534-
# And the data are averaged over the best half of the 100 training trajectories starting from different initializations.
534+
# And the data are averaged over the best half of the 100 training trajectories
535+
# starting from different initializations.
535536
# It's time consuming to run GLDC ansatz with 100 trials; consider reducing trials for testing.
536537
# And GLDC ansatz requires NUM_QUBITS layers FDC structure, which may lead to very long training time.
537538
trials = 100

0 commit comments

Comments
 (0)