Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ jobs:
matrix:
version:
- '1.12'
- '1.6'
- 'pre'
os:
- ubuntu-latest
arch:
- x64
- x86
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name = "TensorNetworkQuantumSimulator"
uuid = "4de3b72a-362e-43dd-83ff-3f381eda9f9c"
authors = ["JoeyT1994 <jtindall@flatironinstitute.org>", "MSRudolph <manuel.rudolph@web.de>"]
authors = ["JoeyT1994 <jtindall@flatironinstitute.org>", "MSRudolph <manuel.rudolph@web.de>","and contributors"]
description = "A Julia package for simulating quantum circuits and dynamics with tensor networks of near-arbritrary topology."
license = "MIT"
version = "0.1.01"
version = "0.1.02"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down
5 changes: 4 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
TensorNetworkQuantumSimulator = "fb4b0154-8226-4cf3-a39c-47b51461fc74"

[compat]
julia = "1.12"
Documenter = "1"
22 changes: 11 additions & 11 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
using TensorNetworkQuantumSimulator
using Documenter

DocMeta.setdocmeta!(TensorNetworkQuantumSimulator, :DocTestSetup, :(using TensorNetworkQuantumSimulator); recursive=true)
DocMeta.setdocmeta!(TensorNetworkQuantumSimulator, :DocTestSetup, :(using TensorNetworkQuantumSimulator); recursive = true)

makedocs(;
modules=[TensorNetworkQuantumSimulator],
authors="Xuanzhao Gao <xgao@flatironinstitute.org> and contributors",
sitename="TensorNetworkQuantumSimulator.jl",
format=Documenter.HTML(;
canonical="https://JoeyT1994.github.io/TensorNetworkQuantumSimulator.jl",
edit_link="main",
assets=String[],
modules = [TensorNetworkQuantumSimulator],
authors = "JoeyT1994 <jtindall@flatironinstitute.org>, MSRudolph <manuel.rudolph@web.de>, Xuanzhao Gao <xgao@flatironinstitute.org>, and contributors",
sitename = "TensorNetworkQuantumSimulator.jl",
format = Documenter.HTML(;
canonical = "https://JoeyT1994.github.io/TensorNetworkQuantumSimulator.jl",
edit_link = "main",
assets = String[],
),
pages=[
pages = [
"Home" => "index.md",
],
)

deploydocs(;
repo="github.com/JoeyT1994/TensorNetworkQuantumSimulator.jl",
devbranch="main",
repo = "github.com/JoeyT1994/TensorNetworkQuantumSimulator.jl",
devbranch = "main",
)
2 changes: 1 addition & 1 deletion examples/heavyhex_isingdynamics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function main()
println("Boundary MPS measured magnetisation on central site with MPS rank $(mps_bond_dimension) MPSs is $(only(sz_bmps))")

#Sample from q(x) and get p(x) / q(x) for each sample too
nsamples = 250
nsamples = 50
bitstrings = TN.sample_directly_certified(ψ, nsamples; norm_mps_bond_dimension = mps_bond_dimension)

st_dev = Statistics.std(first.(bitstrings))
Expand Down
2 changes: 1 addition & 1 deletion src/Backend/beliefpropagationcache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function loop_correlation(bpc::BeliefPropagationCache, loop::Vector{<:NamedEdge}
end

#Calculate the correlations flowing around each of the primitive loops of the BP cache
function loop_correlations(bpc::BeliefPropagationCache, smallest_loop_size::Int; kwargs...)
function loop_correlations(bpc::BeliefPropagationCache, smallest_loop_size::Integer; kwargs...)
g = underlying_graph(bpc)
cycles = NamedGraphs.cycle_to_path.(NamedGraphs.unique_simplecycles_limited_length(g, smallest_loop_size))
corrs = []
Expand Down
Loading