{"id":32157632,"url":"https://github.com/quantumkithub/tensoroperationstblis.jl","last_synced_at":"2025-10-21T12:51:46.251Z","repository":{"id":158803891,"uuid":"634249055","full_name":"QuantumKitHub/TensorOperationsTBLIS.jl","owner":"QuantumKitHub","description":"Julia wrapper for TBLIS with TensorOperations.jl","archived":false,"fork":false,"pushed_at":"2025-08-12T08:20:20.000Z","size":35,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T12:51:42.892Z","etag":null,"topics":["tensor","tensor-contraction","tensor-operations","tensor-trace"],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QuantumKitHub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-29T14:22:10.000Z","updated_at":"2025-08-12T08:20:22.000Z","dependencies_parsed_at":"2024-04-05T17:37:46.353Z","dependency_job_id":"4e0ca78d-e56c-484d-ad1a-d1171878771d","html_url":"https://github.com/QuantumKitHub/TensorOperationsTBLIS.jl","commit_stats":null,"previous_names":["quantumkithub/tensoroperationstblis.jl","lkdvos/tensoroperationstblis.jl"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/QuantumKitHub/TensorOperationsTBLIS.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumKitHub%2FTensorOperationsTBLIS.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumKitHub%2FTensorOperationsTBLIS.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumKitHub%2FTensorOperationsTBLIS.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumKitHub%2FTensorOperationsTBLIS.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuantumKitHub","download_url":"https://codeload.github.com/QuantumKitHub/TensorOperationsTBLIS.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantumKitHub%2FTensorOperationsTBLIS.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280264177,"owners_count":26300771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tensor","tensor-contraction","tensor-operations","tensor-trace"],"created_at":"2025-10-21T12:51:40.140Z","updated_at":"2025-10-21T12:51:46.237Z","avatar_url":"https://github.com/QuantumKitHub.png","language":"Julia","readme":"# TensorOperationsTBLIS.jl\n\nJulia wrapper for [TBLIS](https://github.com/devinamatthews/tblis) with [TensorOperations.jl](https://github.com/Jutho/TensorOperations.jl).\n\n[![CI][ci-img]][ci-url] [![CI (Julia nightly)][ci-julia-nightly-img]][ci-julia-nightly-url] [![][codecov-img]][codecov-url]\n\n[ci-img]: https://github.com/QuantumKitHub/TensorOperationsTBLIS.jl/actions/workflows/ci.yml/badge.svg\n[ci-url]: https://github.com/QuantumKitHub/TensorOperationsTBLIS.jl/actions/workflows/ci.yml\n\n[ci-julia-nightly-img]: https://github.com/QuantumKitHub/TensorOperationsTBLIS.jl/actions/workflows/ci-julia-nightly.yml/badge.svg\n[ci-julia-nightly-url]: https://github.com/QuantumKitHub/TensorOperationsTBLIS.jl/actions/workflows/ci-julia-nightly.yml\n\n[codecov-img]: https://codecov.io/gh/QuantumKitHub/TensorOperationsTBLIS.jl/graph/badge.svg?token=wTWrpf2Pzh\n[codecov-url]: https://codecov.io/gh/QuantumKitHub/TensorOperationsTBLIS.jl\n\nCurrently provides implementations of `tensorcontract!`, `tensoradd!` and `tensortrace!` for array types compatible with Strided.jl, i.e. `StridedView{\u003c:BlasFloat}`.\nThese can be accessed through the backend system of TensorOperations, i.e.\n\n```julia\nusing TensorOperations\nusing TensorOperationsTBLIS\n\ntblisbackend = TBLIS()\nα = randn()\nA = randn(5, 5, 5, 5, 5, 5)\nB = randn(5, 5, 5)\nC = randn(5, 5, 5)\nD = zeros(5, 5, 5)\n\n@tensor backend = tblisbackend begin\n    D2[a, b, c] = A[a, e, f, c, f, g] * B[g, b, e] + α * C[c, a, b]\n    E2[a, b, c] := A[a, e, f, c, f, g] * B[g, b, e] + α * C[c, a, b]\nend\n```\n\nAdditionally, the number of threads used by TBLIS can be set by:\n\n```julia\nTensorOperationsTBLIS.set_num_threads(4)\n@show TensorOperationsTBLIS.get_num_threads()\n```\n\n## Notes\n\n- This implementation of TBLIS for TensorOperations.jl is only supported from v5 of\n  TensorOperations.jl onwards. For v4, an earlier version of this package exists.\n  For older versions, you could look for\n  [BliContractor.jl](https://github.com/xrq-phys/BliContractor.jl) or\n  [TBLIS.jl](https://github.com/FermiQC/TBLIS.jl).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantumkithub%2Ftensoroperationstblis.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantumkithub%2Ftensoroperationstblis.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantumkithub%2Ftensoroperationstblis.jl/lists"}