{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/tensorcircuit-a-quantum-software-framework","title":"TensorCircuit: a Quantum Software Framework for the NISQ Era","arxiv_id":"2205.10091","date":"2022-05-20","proceeding":null,"authors":["Shi-Xin Zhang","Jonathan Allcock","Zhou-Quan Wan","Shuo Liu","Jiace Sun","Hao Yu","Xing-Han Yang","Jiezhong Qiu","Zhaofeng Ye","Yu-Qin Chen","Chee-Kong Lee","Yi-Cong Zheng","Shao-Kai Jian","Hong Yao","Chang-Yu Hsieh","Shengyu Zhang"],"abstract":"TensorCircuit is an open source quantum circuit simulator based on tensor network contraction, designed for speed, flexibility and code efficiency. Written purely in Python, and built on top of industry-standard machine learning frameworks, TensorCircuit supports automatic differentiation, just-in-time compilation, vectorized parallelism and hardware acceleration. These features allow TensorCircuit to simulate larger and more complex quantum circuits than existing simulators, and are especially suited to variational algorithms based on parameterized quantum circuits. TensorCircuit enables orders of magnitude speedup for various quantum simulation tasks compared to other common quantum software, and can simulate up to 600 qubits with moderate circuit depth and low-dimensional connectivity. With its time and space efficiency, flexible and extensible architecture and compact, user-friendly API, TensorCircuit has been built to facilitate the design, simulation and analysis of quantum algorithms in the Noisy Intermediate-Scale Quantum (NISQ) era.","url_abs":"https://arxiv.org/abs/2205.10091v2","url_pdf":"https://arxiv.org/pdf/2205.10091v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"tensorcircuit-a-quantum-software-framework","repo_url":"https://github.com/tensorcircuit/tensorcircuit-ng","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"jax","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2205.10091","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.10091"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tensorcircuit/tensorcircuit-ng","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":5},"by_repo_kind":{"official":{"samples":5,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"5369768297703d55","entry":"adaptive_vmap","repo":"tensorcircuit/tensorcircuit-ng","repo_kind":"official","path":"tensorcircuit/experimental.py","file_url":"https://github.com/tensorcircuit/tensorcircuit-ng/blob/HEAD/tensorcircuit/experimental.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5369768297703d55"}},{"code_sha256_prefix":"417eea44d0dfc073","entry":"cite","repo":"tensorcircuit/tensorcircuit-ng","repo_kind":"official","path":"tensorcircuit/about.py","file_url":"https://github.com/tensorcircuit/tensorcircuit-ng/blob/HEAD/tensorcircuit/about.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"417eea44d0dfc073"}},{"code_sha256_prefix":"84d2719355b07177","entry":"get_message","repo":"tensorcircuit/tensorcircuit-ng","repo_kind":"official","path":"tensorcircuit/asciiart.py","file_url":"https://github.com/tensorcircuit/tensorcircuit-ng/blob/HEAD/tensorcircuit/asciiart.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"84d2719355b07177"}},{"code_sha256_prefix":"35be0f52f73e8073","entry":"qng","repo":"tensorcircuit/tensorcircuit-ng","repo_kind":"official","path":"tensorcircuit/experimental.py","file_url":"https://github.com/tensorcircuit/tensorcircuit-ng/blob/HEAD/tensorcircuit/experimental.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"35be0f52f73e8073"}},{"code_sha256_prefix":"010b93c2f4ba9ea1","entry":"qng2","repo":"tensorcircuit/tensorcircuit-ng","repo_kind":"official","path":"tensorcircuit/experimental.py","file_url":"https://github.com/tensorcircuit/tensorcircuit-ng/blob/HEAD/tensorcircuit/experimental.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"010b93c2f4ba9ea1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}