Package evaluation to test RandomMeas on Julia 1.14.0-DEV.73 (4c8bca6988*) started at 2025-11-14T03:19:36.214 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.4s ################################################################################ # Installation # Installing RandomMeas... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [a9f96d1f] + RandomMeas v0.3.0 Updating `~/.julia/environments/v1.14/Manifest.toml` [621f4979] + AbstractFFTs v1.5.0 [7d9f7c33] + Accessors v0.1.42 [79e6a3ab] + Adapt v4.4.0 [66dad0bd] + AliasTables v1.1.3 [dce04be8] + ArgCheck v2.5.0 [4fba245c] + ArrayInterface v7.22.0 [4c555306] + ArrayLayouts v1.12.0 [198e06fe] + BangBang v0.4.6 [9718e550] + Baselet v0.1.1 [d1d4a3ce] + BitFlags v0.1.9 [c3b6d118] + BitIntegers v0.3.5 [8e7c35d0] + BlockArrays v1.9.2 [082447d4] + ChainRules v1.72.6 [d360d2e6] + ChainRulesCore v1.26.0 [944b1d66] + CodecZlib v0.7.8 [35d6a980] + ColorSchemes v3.31.0 [3da002f7] + ColorTypes v0.12.1 [c3611d14] + ColorVectorSpace v0.11.0 [5ae59095] + Colors v0.13.1 [861a8166] + Combinatorics v1.0.3 [bbf7d656] + CommonSubexpressions v0.3.1 [f70d9fcc] + CommonWorldInvalidations v1.0.0 [34da2185] + Compat v4.18.1 [a33af91c] + CompositionsBase v0.1.2 [f0e56b4a] + ConcurrentUtilities v2.5.0 [187b0558] + ConstructionBase v1.6.0 [d38c429a] + Contour v0.6.3 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.3 [e2d170a0] + DataValueInterfaces v1.0.0 [244e2a9f] + DefineSingletons v0.1.2 [8bb1440f] + DelimitedFiles v1.9.1 [85a47980] + Dictionaries v0.4.5 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [ffbed154] + DocStringExtensions v0.9.5 [da5c29d0] + EllipsisNotation v1.8.0 [460bff9d] + ExceptionUnwrapping v0.1.11 [e2ba6199] + ExprTools v0.1.10 [e189563c] + ExternalDocstrings v0.1.1 [c87230d0] + FFMPEG v0.4.5 [5789e2e9] + FileIO v1.17.1 [1a297f60] + FillArrays v1.15.0 [53c48c17] + FixedPointNumbers v0.8.5 [41a02a25] + Folds v0.2.10 [1fa38f19] + Format v1.3.7 [f6369f11] + ForwardDiff v1.3.0 [d9f16b24] + Functors v0.5.2 [46192b85] + GPUArraysCore v0.2.0 [28b8d3ca] + GR v0.73.18 [42e2da0e] + Grisu v1.0.2 [cd3eb016] + HTTP v1.10.19 [f0d1745a] + HalfIntegers v1.6.0 [076d061b] + HashArrayMappedTries v0.2.0 [7869d1d1] + IRTools v0.4.15 [0d1a4710] + ITensorMPS v0.3.24 [9136182c] + ITensors v0.9.14 [615f187c] + IfElse v0.1.1 [313cdc1a] + Indexing v1.1.1 [22cec73e] + InitialValues v0.3.1 [842dd82b] + InlineStrings v1.4.5 [3587e190] + InverseFunctions v0.1.17 [92d709cd] + IrrationalConstants v0.2.6 [28f27b66] + IsApprox v2.0.0 [82899510] + IteratorInterfaceExtensions v1.0.0 [1019f520] + JLFzf v0.1.11 [692b3bcd] + JLLWrappers v1.7.1 [682c06a0] + JSON v1.2.1 [0b1a1467] + KrylovKit v0.10.2 [b964fa9f] + LaTeXStrings v1.4.0 [23fbe1c1] + Latexify v0.16.10 [2ab3a3ac] + LogExpFunctions v0.3.29 [e6f89c97] + LoggingExtras v1.2.0 [1914dd2f] + MacroTools v0.5.16 [739be429] + MbedTLS v1.1.9 [442fdcdd] + Measures v0.3.3 [128add7d] + MicroCollections v0.2.0 [e1d29d7a] + Missings v1.2.0 [23ae76d9] + NDTensors v0.4.15 [15e1cf62] + NPZ v0.4.3 [77ba4419] + NaNMath v1.1.3 [4d8831e6] + OpenSSL v1.6.0 [77e91f04] + OptimKit v0.4.1 [bac558e1] + OrderedCollections v1.8.1 [65ce6f38] + PackageExtensionCompat v1.0.2 [69de0a69] + Parsers v2.8.3 [ccf2f8ad] + PlotThemes v3.3.0 [995b91a9] + PlotUtils v1.4.4 [91a5bcdd] + Plots v1.41.1 [aea7be01] + PrecompileTools v1.3.3 [21216c6a] + Preferences v1.5.0 [92933f4c] + ProgressMeter v1.11.0 [43287f4e] + PtrArrays v1.3.0 [a9f96d1f] + RandomMeas v0.3.0 [c1ae055f] + RealDot v0.1.0 [3cdcf5f2] + RecipesBase v1.3.4 [01d81517] + RecipesPipeline v0.6.12 [189a3867] + Reexport v1.2.2 [42d2dcc6] + Referenceables v0.1.3 [05181044] + RelocatableFolders v1.0.1 [ae029012] + Requires v1.3.1 [431bcebd] + SciMLPublic v1.0.0 [7e506255] + ScopedValues v1.5.0 [6c6a2e73] + Scratch v1.3.0 [d3ce8812] + SerializedElementArrays v0.1.0 [efcf1570] + Setfield v1.1.2 [992d4aef] + Showoff v1.0.3 [777ac1f9] + SimpleBufferStream v1.2.0 [699a6c99] + SimpleTraits v0.9.5 [a2af1166] + SortingAlgorithms v1.2.2 [dc90abb0] + SparseInverseSubset v0.1.2 [276daf66] + SpecialFunctions v2.6.1 [03a91e81] + SplitApplyCombine v1.2.3 [171d559e] + SplittablesBase v0.1.15 [860ef19b] + StableRNGs v1.0.4 [aedffcd0] + Static v1.3.1 [0d7ed370] + StaticArrayInterface v1.8.0 [90137ffa] + StaticArrays v1.9.15 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.8 [5e0ebb24] + Strided v2.3.2 [4db3bf67] + StridedViews v0.4.1 [09ab397b] + StructArrays v0.7.2 [ec057cc2] + StructUtils v2.6.0 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [62fd8b95] + TensorCore v0.1.1 [24d252fe] + ThreadedScans v0.1.0 [a759f4b9] + TimerOutputs v0.5.29 [3bb67fe8] + TranscodingStreams v0.11.3 [28d57a85] + Transducers v0.4.85 [9d95972d] + TupleTools v1.6.0 [5c2747f8] + URIs v1.6.1 [1cfade01] + UnicodeFun v0.4.1 [41fe7b60] + Unzip v0.2.0 [409d34a3] + VectorInterface v0.5.0 [bd1ec220] + Zeros v0.4.0 [a5390f91] + ZipFile v0.10.1 [e88e6eb3] + Zygote v0.7.10 [700de1a5] + ZygoteRules v0.2.7 [6e34b625] + Bzip2_jll v1.0.9+0 [83423d85] + Cairo_jll v1.18.5+0 [ee1fde0b] + Dbus_jll v1.16.2+0 [2702e6a9] + EpollShim_jll v0.0.20230411+1 [2e619515] + Expat_jll v2.7.3+0 [b22a6f82] + FFMPEG_jll v8.0.0+0 [a3f928ae] + Fontconfig_jll v2.17.1+0 [d7e528f0] + FreeType2_jll v2.13.4+0 [559328eb] + FriBidi_jll v1.0.17+0 [0656b61e] + GLFW_jll v3.4.0+2 [d2c73de3] + GR_jll v0.73.18+0 [b0724c58] + GettextRuntime_jll v0.22.4+0 [61579ee1] + Ghostscript_jll v9.55.1+0 [7746bdde] + Glib_jll v2.86.0+0 [3b182d85] + Graphite2_jll v1.3.15+0 [2e76f6c2] + HarfBuzz_jll v8.5.1+0 [aacddb02] + JpegTurbo_jll v3.1.3+0 [c1c5ebd0] + LAME_jll v3.100.3+0 [88015f11] + LERC_jll v4.0.1+0 [1d63c593] + LLVMOpenMP_jll v18.1.8+0 [dd4b983a] + LZO_jll v2.10.3+0 [e9f186c6] + Libffi_jll v3.4.7+0 [7e76a0d4] + Libglvnd_jll v1.7.1+1 [94ce4f54] + Libiconv_jll v1.18.0+0 [4b2f31a3] + Libmount_jll v2.41.2+0 [89763e89] + Libtiff_jll v4.7.2+0 [38a345b3] + Libuuid_jll v2.41.2+0 [c8ffd9c3] + MbedTLS_jll v2.28.10+0 [e7412a2a] + Ogg_jll v1.3.6+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [91d4177d] + Opus_jll v1.5.2+0 [36c8627f] + Pango_jll v1.57.0+0 ⌅ [30392449] + Pixman_jll v0.44.2+0 [c0090381] + Qt6Base_jll v6.8.2+2 [629bc702] + Qt6Declarative_jll v6.8.2+1 [ce943373] + Qt6ShaderTools_jll v6.8.2+1 [e99dba38] + Qt6Wayland_jll v6.8.2+2 [a44049a8] + Vulkan_Loader_jll v1.3.243+0 [a2964d1f] + Wayland_jll v1.24.0+0 [ffd25f8a] + XZ_jll v5.8.1+0 [f67eecfb] + Xorg_libICE_jll v1.1.2+0 [c834827a] + Xorg_libSM_jll v1.2.6+0 [4f6342f7] + Xorg_libX11_jll v1.8.12+0 [0c0b7dd1] + Xorg_libXau_jll v1.0.13+0 [935fb764] + Xorg_libXcursor_jll v1.2.4+0 [a3789734] + Xorg_libXdmcp_jll v1.1.6+0 [1082639a] + Xorg_libXext_jll v1.3.7+0 [d091e8ba] + Xorg_libXfixes_jll v6.0.2+0 [a51aa0fd] + Xorg_libXi_jll v1.8.3+0 [d1454406] + Xorg_libXinerama_jll v1.1.6+0 [ec84b674] + Xorg_libXrandr_jll v1.5.5+0 [ea2f1a96] + Xorg_libXrender_jll v0.9.12+0 [c7cfdc94] + Xorg_libxcb_jll v1.17.1+0 [cc61e674] + Xorg_libxkbfile_jll v1.1.3+0 [e920d4aa] + Xorg_xcb_util_cursor_jll v0.1.6+0 [12413925] + Xorg_xcb_util_image_jll v0.4.1+0 [2def613f] + Xorg_xcb_util_jll v0.4.1+0 [975044d2] + Xorg_xcb_util_keysyms_jll v0.4.1+0 [0d47668e] + Xorg_xcb_util_renderutil_jll v0.3.10+0 [c22f9ab0] + Xorg_xcb_util_wm_jll v0.4.2+0 [35661453] + Xorg_xkbcomp_jll v1.4.7+0 [33bec58e] + Xorg_xkeyboard_config_jll v2.44.0+0 [c5fb5394] + Xorg_xtrans_jll v1.6.0+0 [35ca27e7] + eudev_jll v3.2.14+0 [214eeab7] + fzf_jll v0.61.1+0 [a4ae2306] + libaom_jll v3.13.1+0 [0ac62f75] + libass_jll v0.17.4+0 [1183f4f0] + libdecor_jll v0.2.2+0 [2db6ffa8] + libevdev_jll v1.13.4+0 [f638f0a6] + libfdk_aac_jll v2.0.4+0 [36db933b] + libinput_jll v1.28.1+0 [b53b4c65] + libpng_jll v1.6.50+0 [f27f6e37] + libvorbis_jll v1.3.8+0 [009596ad] + mtdev_jll v1.1.7+0 [1270edf5] + x264_jll v10164.0.1+0 [dfaa095f] + x265_jll v4.1.0+0 [d8fb68d0] + xkbcommon_jll v1.9.2+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [b27032c2] + LibCURL v1.0.0 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.13.0 [de0858da] + Printf v1.11.0 [3fa0cd96] + REPL v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.0.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.16.0+0 [e37daf67] + LibGit2_jll v1.9.1+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2025.11.4 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.7+0 [458c3c95] + OpenSSL_jll v3.5.4+0 [efcefdf7] + PCRE2_jll v10.47.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.1+2 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.68.0+1 [3f19e933] + p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 6.53s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... ┌ Error: Failed to use TestEnv.jl; test dependencies will not be precompiled │ exception = │ UndefVarError: `project_rel_path` not defined in `TestEnv` │ Suggestion: this global was defined as `Pkg.Operations.project_rel_path` but not assigned a value. │ Stacktrace: │ [1] get_test_dir(ctx::Pkg.Types.Context, pkgspec::PackageSpec) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:75 │ [2] test_dir_has_project_file │ @ ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:52 [inlined] │ [3] maybe_gen_project_override! │ @ ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:83 [inlined] │ [4] activate(pkg::String; allow_reresolve::Bool) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/activate_set.jl:12 │ [5] activate(pkg::String) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/activate_set.jl:9 │ [6] top-level scope │ @ /PkgEval.jl/scripts/precompile.jl:24 │ [7] include(mod::Module, _path::String) │ @ Base ./Base.jl:309 │ [8] exec_options(opts::Base.JLOptions) │ @ Base ./client.jl:344 │ [9] _start() │ @ Base ./client.jl:577 └ @ Main /PkgEval.jl/scripts/precompile.jl:26 Precompiling package dependencies... Precompiling packages... 5432.6 ms ✓ OptimKit 4217.0 ms ✓ SpecialFunctions → SpecialFunctionsChainRulesCoreExt 5477.0 ms ✓ NDTensors → NDTensorsGPUArraysCoreExt 20206.7 ms ✓ ITensors 115783.9 ms ✓ Plots 66520.9 ms ✓ Zygote 11328.7 ms ✓ ITensors → ITensorsZygoteRulesExt 9736.1 ms ✓ ITensors → ITensorsVectorInterfaceExt 26172.3 ms ✓ Plots → FileIOExt 6883.1 ms ✓ Zygote → ZygoteColorsExt 20074.5 ms ✓ ITensorMPS 13314.5 ms ✓ ITensorMPS → ITensorMPSChainRulesCoreExt ERROR: LoadError: Precompiled image Base.PkgId(Base.UUID("1c52709a-9329-56cb-94b9-48ff050e7a6b"), "ITensorMPSZygoteRulesExt") not available with flags CacheFlags(; use_pkgimages=false, debug_level=1, check_bounds=1, inline=true, opt_level=0) Stacktrace:  [1] error(s::String)  @ Base ./error.jl:44  [2] __require_prelocked(pkg::Base.PkgId, env::Nothing)  @ Base ./loading.jl:2717  [3] _require_prelocked(uuidkey::Base.PkgId, env::Nothing)  @ Base ./loading.jl:2576  [4] _require_prelocked  @ ./loading.jl:2570 [inlined]  [5] run_extension_callbacks(extid::Base.ExtensionId)  @ Base ./loading.jl:1622  [6] run_extension_callbacks(pkgid::Base.PkgId)  @ Base ./loading.jl:1659  [7] run_package_callbacks(modkey::Base.PkgId)  @ Base ./loading.jl:1475  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})  @ Base ./loading.jl:2185  [9] _require_search_from_serialized  @ ./loading.jl:2060 [inlined]  [10] __require_prelocked(pkg::Base.PkgId, env::String)  @ Base ./loading.jl:2710  [11] _require_prelocked(uuidkey::Base.PkgId, env::String)  @ Base ./loading.jl:2576  [12] macro expansion  @ ./loading.jl:2504 [inlined]  [13] macro expansion  @ ./lock.jl:376 [inlined]  [14] __require(into::Module, mod::Symbol)  @ Base ./loading.jl:2468  [15] require  @ ./loading.jl:2444 [inlined]  [16] eval_import_path  @ ./module.jl:36 [inlined]  [17] eval_import_path_all(at::Module, path::Expr, keyword::String)  @ Base ./module.jl:60  [18] _eval_using  @ ./module.jl:137 [inlined]  [19] _eval_using(to::Module, path::Expr)  @ Base ./module.jl:137  [20] top-level scope  @ ~/.julia/packages/RandomMeas/QB1Bq/src/imports.jl:15  [21] include(mapexpr::Function, mod::Module, _path::String)  @ Base ./Base.jl:310  [22] top-level scope  @ ~/.julia/packages/RandomMeas/QB1Bq/src/RandomMeas.jl:64  [23] include(mod::Module, _path::String)  @ Base ./Base.jl:309  [24] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)  @ Base ./loading.jl:3148  [25] top-level scope  @ stdin:5  [26] eval(m::Module, e::Any)  @ Core ./boot.jl:489  [27] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)  @ Base ./loading.jl:2994  [28] include_string  @ ./loading.jl:3004 [inlined]  [29] exec_options(opts::Base.JLOptions)  @ Base ./client.jl:342  [30] _start()  @ Base ./client.jl:577 in expression starting at /home/pkgeval/.julia/packages/RandomMeas/QB1Bq/src/imports.jl:15 in expression starting at /home/pkgeval/.julia/packages/RandomMeas/QB1Bq/src/RandomMeas.jl:59 in expression starting at stdin:5 Precompilation completed after 330.95s ################################################################################ # Testing # Testing RandomMeas Status `/tmp/jl_zvMIzY/Project.toml` [861a8166] Combinatorics v1.0.3 [0d1a4710] ITensorMPS v0.3.24 [9136182c] ITensors v0.9.14 [b964fa9f] LaTeXStrings v1.4.0 [15e1cf62] NPZ v0.4.3 [77e91f04] OptimKit v0.4.1 [91a5bcdd] Plots v1.41.1 [92933f4c] ProgressMeter v1.11.0 [a9f96d1f] RandomMeas v0.3.0 [189a3867] Reexport v1.2.2 [2913bbd2] StatsBase v0.34.8 [e88e6eb3] Zygote v0.7.10 [37e2e46d] LinearAlgebra v1.13.0 [44cfe95a] Pkg v1.13.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_zvMIzY/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [7d9f7c33] Accessors v0.1.42 [79e6a3ab] Adapt v4.4.0 [66dad0bd] AliasTables v1.1.3 [dce04be8] ArgCheck v2.5.0 [4fba245c] ArrayInterface v7.22.0 [4c555306] ArrayLayouts v1.12.0 [198e06fe] BangBang v0.4.6 [9718e550] Baselet v0.1.1 [d1d4a3ce] BitFlags v0.1.9 [c3b6d118] BitIntegers v0.3.5 [8e7c35d0] BlockArrays v1.9.2 [082447d4] ChainRules v1.72.6 [d360d2e6] ChainRulesCore v1.26.0 [944b1d66] CodecZlib v0.7.8 [35d6a980] ColorSchemes v3.31.0 [3da002f7] ColorTypes v0.12.1 [c3611d14] ColorVectorSpace v0.11.0 [5ae59095] Colors v0.13.1 [861a8166] Combinatorics v1.0.3 [bbf7d656] CommonSubexpressions v0.3.1 [f70d9fcc] CommonWorldInvalidations v1.0.0 [34da2185] Compat v4.18.1 [a33af91c] CompositionsBase v0.1.2 [f0e56b4a] ConcurrentUtilities v2.5.0 [187b0558] ConstructionBase v1.6.0 [d38c429a] Contour v0.6.3 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.3 [e2d170a0] DataValueInterfaces v1.0.0 [244e2a9f] DefineSingletons v0.1.2 [8bb1440f] DelimitedFiles v1.9.1 [85a47980] Dictionaries v0.4.5 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.5 [da5c29d0] EllipsisNotation v1.8.0 [460bff9d] ExceptionUnwrapping v0.1.11 [e2ba6199] ExprTools v0.1.10 [e189563c] ExternalDocstrings v0.1.1 [c87230d0] FFMPEG v0.4.5 [5789e2e9] FileIO v1.17.1 [1a297f60] FillArrays v1.15.0 [53c48c17] FixedPointNumbers v0.8.5 [41a02a25] Folds v0.2.10 [1fa38f19] Format v1.3.7 [f6369f11] ForwardDiff v1.3.0 [d9f16b24] Functors v0.5.2 [46192b85] GPUArraysCore v0.2.0 [28b8d3ca] GR v0.73.18 [42e2da0e] Grisu v1.0.2 [cd3eb016] HTTP v1.10.19 [f0d1745a] HalfIntegers v1.6.0 [076d061b] HashArrayMappedTries v0.2.0 [7869d1d1] IRTools v0.4.15 [0d1a4710] ITensorMPS v0.3.24 [9136182c] ITensors v0.9.14 [615f187c] IfElse v0.1.1 [313cdc1a] Indexing v1.1.1 [22cec73e] InitialValues v0.3.1 [842dd82b] InlineStrings v1.4.5 [3587e190] InverseFunctions v0.1.17 [92d709cd] IrrationalConstants v0.2.6 [28f27b66] IsApprox v2.0.0 [82899510] IteratorInterfaceExtensions v1.0.0 [1019f520] JLFzf v0.1.11 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.2.1 [0b1a1467] KrylovKit v0.10.2 [b964fa9f] LaTeXStrings v1.4.0 [23fbe1c1] Latexify v0.16.10 [2ab3a3ac] LogExpFunctions v0.3.29 [e6f89c97] LoggingExtras v1.2.0 [1914dd2f] MacroTools v0.5.16 [739be429] MbedTLS v1.1.9 [442fdcdd] Measures v0.3.3 [128add7d] MicroCollections v0.2.0 [e1d29d7a] Missings v1.2.0 [23ae76d9] NDTensors v0.4.15 [15e1cf62] NPZ v0.4.3 [77ba4419] NaNMath v1.1.3 [4d8831e6] OpenSSL v1.6.0 [77e91f04] OptimKit v0.4.1 [bac558e1] OrderedCollections v1.8.1 [65ce6f38] PackageExtensionCompat v1.0.2 [69de0a69] Parsers v2.8.3 [ccf2f8ad] PlotThemes v3.3.0 [995b91a9] PlotUtils v1.4.4 [91a5bcdd] Plots v1.41.1 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.0 [92933f4c] ProgressMeter v1.11.0 [43287f4e] PtrArrays v1.3.0 [a9f96d1f] RandomMeas v0.3.0 [c1ae055f] RealDot v0.1.0 [3cdcf5f2] RecipesBase v1.3.4 [01d81517] RecipesPipeline v0.6.12 [189a3867] Reexport v1.2.2 [42d2dcc6] Referenceables v0.1.3 [05181044] RelocatableFolders v1.0.1 [ae029012] Requires v1.3.1 [431bcebd] SciMLPublic v1.0.0 [7e506255] ScopedValues v1.5.0 [6c6a2e73] Scratch v1.3.0 [d3ce8812] SerializedElementArrays v0.1.0 [efcf1570] Setfield v1.1.2 [992d4aef] Showoff v1.0.3 [777ac1f9] SimpleBufferStream v1.2.0 [699a6c99] SimpleTraits v0.9.5 [a2af1166] SortingAlgorithms v1.2.2 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.6.1 [03a91e81] SplitApplyCombine v1.2.3 [171d559e] SplittablesBase v0.1.15 [860ef19b] StableRNGs v1.0.4 [aedffcd0] Static v1.3.1 [0d7ed370] StaticArrayInterface v1.8.0 [90137ffa] StaticArrays v1.9.15 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.8 [5e0ebb24] Strided v2.3.2 [4db3bf67] StridedViews v0.4.1 [09ab397b] StructArrays v0.7.2 [ec057cc2] StructUtils v2.6.0 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [62fd8b95] TensorCore v0.1.1 [24d252fe] ThreadedScans v0.1.0 [a759f4b9] TimerOutputs v0.5.29 [3bb67fe8] TranscodingStreams v0.11.3 [28d57a85] Transducers v0.4.85 [9d95972d] TupleTools v1.6.0 [5c2747f8] URIs v1.6.1 [1cfade01] UnicodeFun v0.4.1 [41fe7b60] Unzip v0.2.0 [409d34a3] VectorInterface v0.5.0 [bd1ec220] Zeros v0.4.0 [a5390f91] ZipFile v0.10.1 [e88e6eb3] Zygote v0.7.10 [700de1a5] ZygoteRules v0.2.7 [6e34b625] Bzip2_jll v1.0.9+0 [83423d85] Cairo_jll v1.18.5+0 [ee1fde0b] Dbus_jll v1.16.2+0 [2702e6a9] EpollShim_jll v0.0.20230411+1 [2e619515] Expat_jll v2.7.3+0 [b22a6f82] FFMPEG_jll v8.0.0+0 [a3f928ae] Fontconfig_jll v2.17.1+0 [d7e528f0] FreeType2_jll v2.13.4+0 [559328eb] FriBidi_jll v1.0.17+0 [0656b61e] GLFW_jll v3.4.0+2 [d2c73de3] GR_jll v0.73.18+0 [b0724c58] GettextRuntime_jll v0.22.4+0 [61579ee1] Ghostscript_jll v9.55.1+0 [7746bdde] Glib_jll v2.86.0+0 [3b182d85] Graphite2_jll v1.3.15+0 [2e76f6c2] HarfBuzz_jll v8.5.1+0 [aacddb02] JpegTurbo_jll v3.1.3+0 [c1c5ebd0] LAME_jll v3.100.3+0 [88015f11] LERC_jll v4.0.1+0 [1d63c593] LLVMOpenMP_jll v18.1.8+0 [dd4b983a] LZO_jll v2.10.3+0 [e9f186c6] Libffi_jll v3.4.7+0 [7e76a0d4] Libglvnd_jll v1.7.1+1 [94ce4f54] Libiconv_jll v1.18.0+0 [4b2f31a3] Libmount_jll v2.41.2+0 [89763e89] Libtiff_jll v4.7.2+0 [38a345b3] Libuuid_jll v2.41.2+0 [c8ffd9c3] MbedTLS_jll v2.28.10+0 [e7412a2a] Ogg_jll v1.3.6+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [91d4177d] Opus_jll v1.5.2+0 [36c8627f] Pango_jll v1.57.0+0 ⌅ [30392449] Pixman_jll v0.44.2+0 [c0090381] Qt6Base_jll v6.8.2+2 [629bc702] Qt6Declarative_jll v6.8.2+1 [ce943373] Qt6ShaderTools_jll v6.8.2+1 [e99dba38] Qt6Wayland_jll v6.8.2+2 [a44049a8] Vulkan_Loader_jll v1.3.243+0 [a2964d1f] Wayland_jll v1.24.0+0 [ffd25f8a] XZ_jll v5.8.1+0 [f67eecfb] Xorg_libICE_jll v1.1.2+0 [c834827a] Xorg_libSM_jll v1.2.6+0 [4f6342f7] Xorg_libX11_jll v1.8.12+0 [0c0b7dd1] Xorg_libXau_jll v1.0.13+0 [935fb764] Xorg_libXcursor_jll v1.2.4+0 [a3789734] Xorg_libXdmcp_jll v1.1.6+0 [1082639a] Xorg_libXext_jll v1.3.7+0 [d091e8ba] Xorg_libXfixes_jll v6.0.2+0 [a51aa0fd] Xorg_libXi_jll v1.8.3+0 [d1454406] Xorg_libXinerama_jll v1.1.6+0 [ec84b674] Xorg_libXrandr_jll v1.5.5+0 [ea2f1a96] Xorg_libXrender_jll v0.9.12+0 [c7cfdc94] Xorg_libxcb_jll v1.17.1+0 [cc61e674] Xorg_libxkbfile_jll v1.1.3+0 [e920d4aa] Xorg_xcb_util_cursor_jll v0.1.6+0 [12413925] Xorg_xcb_util_image_jll v0.4.1+0 [2def613f] Xorg_xcb_util_jll v0.4.1+0 [975044d2] Xorg_xcb_util_keysyms_jll v0.4.1+0 [0d47668e] Xorg_xcb_util_renderutil_jll v0.3.10+0 [c22f9ab0] Xorg_xcb_util_wm_jll v0.4.2+0 [35661453] Xorg_xkbcomp_jll v1.4.7+0 [33bec58e] Xorg_xkeyboard_config_jll v2.44.0+0 [c5fb5394] Xorg_xtrans_jll v1.6.0+0 [35ca27e7] eudev_jll v3.2.14+0 [214eeab7] fzf_jll v0.61.1+0 [a4ae2306] libaom_jll v3.13.1+0 [0ac62f75] libass_jll v0.17.4+0 [1183f4f0] libdecor_jll v0.2.2+0 [2db6ffa8] libevdev_jll v1.13.4+0 [f638f0a6] libfdk_aac_jll v2.0.4+0 [36db933b] libinput_jll v1.28.1+0 [b53b4c65] libpng_jll v1.6.50+0 [f27f6e37] libvorbis_jll v1.3.8+0 [009596ad] mtdev_jll v1.1.7+0 [1270edf5] x264_jll v10164.0.1+0 [dfaa095f] x265_jll v4.1.0+0 [d8fb68d0] xkbcommon_jll v1.9.2+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.0.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.16.0+0 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.11.4 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.4+0 [efcefdf7] PCRE2_jll v10.47.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.68.0+1 [3f19e933] p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... filenames = ["test_dense_shadows.jl", "test_estimators.jl", "test_factorized_shadows.jl", "test_measurement_data.jl", "test_measurement_group.jl", "test_measurement_probability.jl", "test_measurement_setting.jl", "test_shadow_analysis.jl", "test_shallow_shadows.jl", "test_tensornetworkutilities.jl", "test_trace_moments.jl"] Running test_dense_shadows.jl 118.344868 seconds (133.76 M allocations: 6.815 GiB, 2.45% gc time, 99.90% compilation time: 6% of which was recompilation) Running test_estimators.jl purity1 = 0.9655060606060605 overlap = 0.08401900000000001 fidelity = 0.08135312783569 exact_fidelity = 0.09879891625887229 XEB = 1.7081492540065029 self_XEB = 1.7122384013908336 100.257497 seconds (96.89 M allocations: 5.074 GiB, 2.43% gc time, 99.65% compilation time) Running test_factorized_shadows.jl All tests passed! 6.838937 seconds (8.61 M allocations: 469.009 MiB, 2.94% gc time, 98.77% compilation time) Running test_measurement_data.jl imported_data.measurement_setting = LocalUnitaryMeasurementSetting(4, ITensor[ITensor ord=2 Dim 1: (dim=2|id=730|"Qubit,Site,n=1")' Dim 2: (dim=2|id=730|"Qubit,Site,n=1") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 -0.12868575935352577 + 0.9112462218198539im -0.24056695312794035 - 0.30854147147731614im -0.38684088650092563 - 0.05851860464695033im -0.7312924307905828 + 0.5586958762240444im, ITensor ord=2 Dim 1: (dim=2|id=701|"Qubit,Site,n=2")' Dim 2: (dim=2|id=701|"Qubit,Site,n=2") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 0.07946475795358343 - 0.48778809260510714im 0.8691004707955123 - 0.020310111251995555im 0.7916299058082192 + 0.35926344259626486im 0.1180423185477334 - 0.4799144528724111im, ITensor ord=2 Dim 1: (dim=2|id=229|"Qubit,Site,n=3")' Dim 2: (dim=2|id=229|"Qubit,Site,n=3") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 -0.697912348802749 - 0.13529109373501094im 0.4056271989166787 + 0.5745269783427261im -0.6932870159432679 + 0.11818539194457647im -0.5884484407203976 - 0.3988906607945575im, ITensor ord=2 Dim 1: (dim=2|id=652|"Qubit,Site,n=4")' Dim 2: (dim=2|id=652|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 0.06990418284874056 + 0.20373751346535832im -0.9214787095164628 + 0.3232358562026764im 0.9301483532993634 + 0.29736925140586695im 0.06418572647934706 - 0.2056107042182278im], Index{Int64}[(dim=2|id=730|"Qubit,Site,n=1"), (dim=2|id=701|"Qubit,Site,n=2"), (dim=2|id=229|"Qubit,Site,n=3"), (dim=2|id=652|"Qubit,Site,n=4")]) ┌ Warning: Measurement setting not found in the file and not provided; defaulting to nothing. └ @ RandomMeas ~/.julia/packages/RandomMeas/QB1Bq/src/MeasurementData.jl:253 121.776594 seconds (101.78 M allocations: 5.214 GiB, 1.24% gc time, 99.79% compilation time: 5% of which was recompilation) Running test_measurement_group.jl 12.661822 seconds (6.79 M allocations: 422.321 MiB, 1.07% gc time, 96.50% compilation time) Running test_measurement_probability.jl 0.284210 seconds (345.93 k allocations: 16.099 MiB, 80.49% compilation time) Running test_measurement_setting.jl Exported to NPZ file: /tmp/jl_DVHf8T/tempfile.npz All MeasurementSetting tests completed successfully! 3.171976 seconds (2.06 M allocations: 112.522 MiB, 2.46% gc time, 93.66% compilation time) Running test_shadow_analysis.jl exact_value = 0.09879891625887226 expect_batch = 0.09973508748421052 - 1.1813980386770976e-17im expect_dense = 0.09973508748421056 - 1.9791787589405136e-20im expect_factorized = 0.09973508748421057 - 3.034575245033312e-18im 18.244184 seconds (18.71 M allocations: 1.279 GiB, 1.75% gc time, 94.88% compilation time) Running test_shallow_shadows.jl measurement group mps depolarization Progress: 20%|████████▎ | ETA: 0:04:49 Progress: 100%|█████████████████████████████████████████| Time: 0:01:12 Cost function 1.6681054486834563 Cost function -0.40648746220775006 Progress: 50%|████████████████████▌ | ETA: 0:00:05Cost function -0.40648746220775 Cost function -0.4064874622077501 Progress: 100%|█████████████████████████████████████████| Time: 0:00:05 Cost function -0.40648746220775006 building shallow map inversing shallow map initial loss 0.9949701722002844 ┌ Warning: LBFGS: not converged to requested tol after 100 iterations and time 3.68 m: f = 2.770512404338e-04, ‖∇f‖ = 5.8466e-03 └ @ OptimKit ~/.julia/packages/OptimKit/dRsBo/src/lbfgs.jl:199 478.243265 seconds (422.34 M allocations: 22.066 GiB, 1.68% gc time, 99.11% compilation time: <1% of which was recompilation) Running test_tensornetworkutilities.jl flatten(ψ) = ITensor ord=4 Dim 1: (dim=2|id=350|"Qubit,Site,n=1") Dim 2: (dim=2|id=331|"Qubit,Site,n=2") Dim 3: (dim=2|id=643|"Qubit,Site,n=3") Dim 4: (dim=2|id=832|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2×2×2 [:, :, 1, 1] = 0.04447792072974857 - 0.06439469875351653im -0.3053218501356964 + 0.1868368304278345im -0.10123073607982944 + 0.22421265772335963im 0.07113420533161943 - 0.0041537560171106686im [:, :, 2, 1] = 0.05109841144372573 - 0.21455784115260187im -0.09360453108340919 + 0.39235969222368716im 0.009154217255055247 + 0.09136147963179951im 0.016529515782514805 - 0.022903810109961453im [:, :, 1, 2] = 0.1269779794918407 - 4.41814977398397e-6im -0.02848821953572575 - 0.019006344350456904im -0.045604957213456976 - 0.007515840397198548im 0.22728886098490497 - 0.08362829171954064im [:, :, 2, 2] = 0.0466240501316844 - 0.2584228653475603im 0.010478359894562417 + 0.48509084804516445im -0.1560061583073885 + 0.11091651228671452im 0.38999861518937784 + 0.09144316408891315im flatten(ρ) = ITensor ord=8 Dim 1: (dim=2|id=350|"Qubit,Site,n=1")' Dim 2: (dim=2|id=350|"Qubit,Site,n=1") Dim 3: (dim=2|id=331|"Qubit,Site,n=2")' Dim 4: (dim=2|id=331|"Qubit,Site,n=2") Dim 5: (dim=2|id=643|"Qubit,Site,n=3")' Dim 6: (dim=2|id=643|"Qubit,Site,n=3") Dim 7: (dim=2|id=832|"Qubit,Site,n=4")' Dim 8: (dim=2|id=832|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2×2×2×2×2×2×2 [:, :, 1, 1, 1, 1, 1, 1] = 0.029598285423645964 + 3.112598979043678e-17im -0.00035524087514379526 + 0.002573675763944445im -0.0003552408751438674 - 0.0025736757639445826im 0.04992551148477415 - 5.778562231788497e-17im [:, :, 2, 1, 1, 1, 1, 1] = -0.01400805129012828 - 0.03080141827825394im 0.0574649135459495 + 0.02380176310207052im -0.0069882286499868525 + 0.024918536782034387im -0.014786790665557301 - 0.0015873190777854153im [:, :, 1, 2, 1, 1, 1, 1] = -0.014008051290128202 + 0.030801418278254im -0.0069882286499868855 - 0.0249185367820344im 0.05746491354594937 - 0.023801763102070383im -0.014786790665557357 + 0.001587319077785545im [:, :, 2, 2, 1, 1, 1, 1] = 0.11093645583073963 - 2.548772368548534e-17im -0.03692353398814777 + 0.013512344663673638im -0.03692353398814768 - 0.013512344663673652im 0.02588539189711229 - 3.321704891674736e-17im [:, :, 1, 1, 2, 1, 1, 1] = 0.011849269288260716 - 0.005398789191493484im -0.03679480666811018 + 0.006778805432542691im 0.009957162489192109 + 0.017063114054226374im 0.017998045019030778 + 0.0018468812002527535im [:, :, 2, 1, 2, 1, 1, 1] = -0.02441051509202626 - 0.018722048215597174im 0.07153998824213659 - 0.027484333251338845im -0.02717381356213339 + 0.01127795419303996im -0.021625375976507644 - 0.0009020036610483369im [:, :, 1, 2, 2, 1, 1, 1] = -0.03796842030589069 + 0.03954516778244121im 0.002068645781188915 - 0.010662393291642947im -0.00033880142428631914 - 0.006132600671584498im 0.006987567110996732 - 0.012446193577298533im [:, :, 2, 2, 2, 1, 1, 1] = 0.0948576535165247 - 0.07919349300696223im -0.02744451284427441 + 0.032465271225047276im -0.021131437223971244 - 0.021460039496222712im 0.021249430295716916 + 0.019519419558109295im [:, :, 1, 1, 1, 2, 1, 1] = 0.011849269288260718 + 0.005398789191493458im 0.009957162489192166 - 0.01706311405422635im -0.03679480666811016 - 0.006778805432542728im 0.017998045019030868 - 0.001846881200252841im [:, :, 2, 1, 1, 2, 1, 1] = -0.03796842030589084 - 0.0395451677824413im -0.00033880142428628683 + 0.006132600671584562im 0.002068645781188797 + 0.010662393291642834im 0.006987567110996646 + 0.012446193577298465im [:, :, 1, 2, 1, 2, 1, 1] = -0.024410515092026255 + 0.018722048215597288im -0.02717381356213343 - 0.011277954193040026im 0.07153998824213657 + 0.02748433325133891im -0.021625375976507846 + 0.0009020036610485416im [:, :, 2, 2, 1, 2, 1, 1] = 0.09485765351652478 + 0.0791934930069623im -0.021131437223971157 + 0.021460039496222806im -0.027444512844274332 - 0.032465271225047346im 0.021249430295717037 - 0.019519419558109284im [:, :, 1, 1, 2, 2, 1, 1] = 0.03410715069043607 - 4.265239687487699e-17im -0.013631870042323316 - 0.005519692803172856im -0.013631870042323394 + 0.005519692803172766im 0.02094565931747654 - 1.0039512701230143e-16im [:, :, 2, 1, 2, 2, 1, 1] = -0.061286368153396234 - 0.0007975914498057428im 0.0078430086853119 - 0.003978688584684435im 0.0029111671017978654 + 0.0007644474964331523im -0.010872978909784725 + 0.020589412994663603im [:, :, 1, 2, 2, 2, 1, 1] = -0.061286368153396255 + 0.000797591449805714im 0.002911167101797643 - 0.000764447496433049im 0.007843008685311972 + 0.003978688584684542im -0.010872978909784769 - 0.02058941299466353im [:, :, 2, 2, 2, 2, 1, 1] = 0.14267386958353334 + 1.2686624227868006e-18im -0.014921742281242857 + 0.03505037387407413im -0.014921742281242987 - 0.03505037387407421im 0.038145573007207535 - 5.473815002502421e-17im [:, :, 1, 1, 1, 1, 2, 1] = -0.009190490455533355 - 0.009430950661133534im -0.012710784581169943 - 0.030246391983464724im -0.009479648467028288 - 0.0034958134201379908im -0.0019916167215257227 + 0.005419161967686495im [:, :, 2, 1, 1, 1, 2, 1] = -0.0015959117091991562 + 0.003259848601714122im -0.002775250409488023 + 0.00812741110091561im 0.001020221091346865 + 0.008010403468367329im -0.034313307715433054 - 0.03149638771542918im [:, :, 1, 2, 1, 1, 2, 1] = -0.015490068302757903 - 0.030822112405675853im -0.001878098114385391 + 0.017333636790492362im 0.008552394065499454 - 0.0001998922140024643im -0.00017396006192550717 + 0.007187951029509847im [:, :, 2, 2, 1, 1, 2, 1] = -0.0012771755113187052 + 0.0071695576495170435im 0.003649358876610012 - 0.0015835043550662536im -0.061369551622975374 - 0.020668425626759912im 0.015524400147900947 + 0.004838965982780766im [:, :, 1, 1, 2, 1, 2, 1] = 0.013584960256737137 - 0.013883709714813335im -0.04205030659455396 + 0.00704274244193404im -0.009297881835054284 - 0.017965843159224986im 0.03158516481278926 + 0.009401159945787376im [:, :, 2, 1, 2, 1, 2, 1] = -0.050594101010421604 + 0.03866426342791704im 0.05602721504064856 - 0.0299779036626975im 0.0380778349784729 - 0.0006709462409777121im 0.006199433048908537 - 0.07251768318605449im [:, :, 1, 2, 2, 1, 2, 1] = -0.03651836440762339 + 0.048341737802196735im -0.003957978219281868 - 0.010204993625757686im 0.0609268326790506 - 0.005025627709514467im -0.020712991725125047 + 0.009924494104662467im [:, :, 2, 2, 2, 1, 2, 1] = 0.03585453833517149 - 0.1277068565146919im 0.029814295589784864 + 0.0406909011410996im -0.047686836469453056 - 0.04667558014730433im -0.010203210913300976 - 0.01242286315240188im [:, :, 1, 1, 1, 2, 2, 1] = 0.004849639651173785 + 0.01818863595780644im -0.014614207448974471 - 0.009207918574373992im -0.0006484666229542961 - 0.0074853313015951824im -0.006006654532068669 + 0.00679232718840704im [:, :, 2, 1, 1, 2, 2, 1] = 0.0015919153146343352 - 0.004902631064522198im 0.0005502201219790524 + 0.005352296949769133im 0.020447322326124416 + 0.03075714964517282im -0.009044262567665634 - 0.009511114729396542im [:, :, 1, 2, 1, 2, 2, 1] = 0.009654809540623425 - 0.046468404511278816im 0.009650879699156968 + 0.025072093731670297im 0.0034613786653376125 + 0.004333814358299002im 0.008586986786127978 + 0.004282069204811105im [:, :, 2, 2, 1, 2, 2, 1] = -0.008539209546920163 + 0.00664384207513849im 0.004033601323050036 - 0.005808675113255699im -0.03677154079005095 - 0.06737372003282079im 0.015284321514074637 + 0.006623752814231764im [:, :, 1, 1, 2, 2, 2, 1] = 0.04081214902451651 - 0.0024055329232002243im -0.020294778568060716 - 0.009227793557133206im -0.021644917705430432 - 0.019774296336092602im -0.001449163944274064 + 0.002544264418649857im [:, :, 2, 1, 2, 2, 2, 1] = -0.07408714318482425 + 0.01828716174799299im 0.027854206607610368 + 0.030865950396033338im 0.001764695940085455 + 0.06256932066767415im 0.013215753677716479 - 0.05224552733091942im [:, :, 1, 2, 2, 2, 2, 1] = -0.0657231257292705 + 0.005833995752789368im 0.0006051691158418869 + 0.006551205419653969im 0.055788518848633506 + 0.03833555388620216im -0.010610053443856883 + 0.014859131590206659im [:, :, 2, 2, 2, 2, 2, 1] = 0.11254495799434759 - 0.06880847268515115im 0.03557130572639293 - 0.007509511876674223im 0.017307690890231847 - 0.0782004415763383im -0.04043441283538761 + 0.01789597900995598im [:, :, 1, 1, 1, 1, 1, 2] = -0.009190490455533308 + 0.009430950661133551im -0.009479648467028298 + 0.0034958134201380567im -0.012710784581169808 + 0.030246391983464606im -0.0019916167215257275 - 0.005419161967686527im [:, :, 2, 1, 1, 1, 1, 2] = -0.015490068302757938 + 0.030822112405675818im 0.00855239406549939 + 0.00019989221400250508im -0.0018780981143851924 - 0.01733363679049234im -0.0001739600619254239 - 0.007187951029509863im [:, :, 1, 2, 1, 1, 1, 2] = -0.0015959117091991128 - 0.0032598486017141794im 0.0010202210913467882 - 0.008010403468367198im -0.002775250409488019 - 0.008127411100915534im -0.034313307715433006 + 0.03149638771542922im [:, :, 2, 2, 1, 1, 1, 2] = -0.0012771755113187746 - 0.007169557649517097im -0.06136955162297556 + 0.020668425626759926im 0.0036493588766098976 + 0.0015835043550662068im 0.015524400147900862 - 0.004838965982780943im [:, :, 1, 1, 2, 1, 1, 2] = 0.004849639651173726 - 0.01818863595780636im -0.000648466622954362 + 0.007485331301595248im -0.014614207448974435 + 0.009207918574374065im -0.006006654532068693 - 0.006792327188406961im [:, :, 2, 1, 2, 1, 1, 2] = 0.009654809540623439 + 0.046468404511278774im 0.003461378665337779 - 0.00433381435829914im 0.00965087969915685 - 0.025072093731670277im 0.008586986786127994 - 0.0042820692048112854im [:, :, 1, 2, 2, 1, 1, 2] = 0.001591915314634297 + 0.004902631064522184im 0.020447322326124423 - 0.03075714964517292im 0.0005502201219790767 - 0.005352296949769195im -0.009044262567665598 + 0.009511114729396529im [:, :, 2, 2, 2, 1, 1, 2] = -0.008539209546920086 - 0.006643842075138684im -0.03677154079005098 + 0.06737372003282092im 0.0040336013230500255 + 0.005808675113255713im 0.01528432151407455 - 0.006623752814231729im [:, :, 1, 1, 1, 2, 1, 2] = 0.013584960256737083 + 0.013883709714813402im -0.00929788183505423 + 0.017965843159224965im -0.04205030659455379 - 0.007042742441934044im 0.031585164812789245 - 0.009401159945787455im [:, :, 2, 1, 1, 2, 1, 2] = -0.03651836440762332 - 0.048341737802196784im 0.06092683267905062 + 0.0050256277095144086im -0.003957978219281927 + 0.010204993625757735im -0.020712991725125016 - 0.009924494104662467im [:, :, 1, 2, 1, 2, 1, 2] = -0.05059410101042165 - 0.038664263427916956im 0.03807783497847282 + 0.000670946240977837im 0.05602721504064846 + 0.029977903662697314im 0.006199433048908454 + 0.07251768318605474im [:, :, 2, 2, 1, 2, 1, 2] = 0.03585453833517145 + 0.12770685651469182im -0.04768683646945313 + 0.0466755801473044im 0.02981429558978503 - 0.0406909011410997im -0.010203210913301078 + 0.01242286315240186im [:, :, 1, 1, 2, 2, 1, 2] = 0.04081214902451646 + 0.002405532923200179im -0.021644917705430488 + 0.01977429633609261im -0.020294778568060685 + 0.009227793557133174im -0.0014491639442741763 - 0.0025442644186499386im [:, :, 2, 1, 2, 2, 1, 2] = -0.0657231257292705 - 0.005833995752789415im 0.0557885188486336 - 0.03833555388620227im 0.0006051691158418651 - 0.006551205419653872im -0.010610053443856737 - 0.014859131590206683im [:, :, 1, 2, 2, 2, 1, 2] = -0.0740871431848241 - 0.018287161747992976im 0.001764695940085233 - 0.0625693206676741im 0.027854206607610302 - 0.030865950396033247im 0.013215753677716612 + 0.0522455273309195im [:, :, 2, 2, 2, 2, 1, 2] = 0.11254495799434756 + 0.06880847268515115im 0.0173076908902319 + 0.07820044157633854im 0.035571305726393006 + 0.007509511876674015im -0.040434412835387866 - 0.017895979009955834im [:, :, 1, 1, 1, 1, 2, 2] = 0.027185767916043335 + 3.5795529573280596e-17im 0.0010300134914359423 + 0.0050703584653400205im 0.0010300134914359989 - 0.0050703584653400335im 0.0043396592975530005 + 1.8619024024414345e-17im [:, :, 2, 1, 1, 1, 2, 2] = -0.004793994832337675 - 0.005293919359004081im 0.001284226990008012 - 0.001321863413785964im 0.02508462172154334 - 0.01350724660820688im -0.0035730289640080073 + 0.003274893892106017im [:, :, 1, 2, 1, 1, 2, 2] = -0.004793994832337563 + 0.005293919359004114im 0.025084621721543462 + 0.013507246608207018im 0.0012842269900080585 + 0.0013218634137859627im -0.0035730289640079505 - 0.0032748938921058762im [:, :, 2, 2, 1, 1, 2, 2] = 0.001959903582382883 - 1.3236106716538343e-18im -0.002737263941722922 - 0.0066625925450130305im -0.0027372639417229364 + 0.006662592545012884im 0.044877676614825876 - 4.3974224352933915e-17im [:, :, 1, 1, 2, 1, 2, 2] = 0.008646955005904091 - 0.018556492924817997im 8.871752589986781e-5 + 0.011152587298595919im -0.005543157301741057 + 0.017664256682192778im 0.0048967979660829 + 0.00043887941300637805im [:, :, 2, 1, 2, 1, 2, 2] = 0.002193805363669479 + 0.01373107895996017im 0.005653838184747808 - 0.024476409602067938im 0.03168754416182413 + 0.0370816937177882im -0.021899371039939962 + 0.007565481193884663im [:, :, 1, 2, 2, 1, 2, 2] = 0.0008674544354237986 + 0.006166504452695927im 0.02224220328558849 - 0.035311145440035045im -0.001318450413334513 - 0.0035109174853293194im -0.031740593667238276 + 0.014091555913841636im [:, :, 2, 2, 2, 1, 2, 2] = -0.00018068347120052083 - 0.005067071670690274im -0.015114360835819013 + 0.06925238501157435im -0.015134016903773336 - 0.001428607849788405im 0.04472054638637746 + 0.045131675015308084im [:, :, 1, 1, 1, 2, 2, 2] = 0.008646955005904098 + 0.01855649292481798im -0.005543157301741098 - 0.017664256682192826im 8.871752589984358e-5 - 0.011152587298595897im 0.004896797966082918 - 0.00043887941300638266im [:, :, 2, 1, 1, 2, 2, 2] = 0.0008674544354236857 - 0.006166504452695952im -0.0013184504133345457 + 0.0035109174853292678im 0.022242203285588312 + 0.03531114544003506im -0.03174059366723847 - 0.014091555913841692im [:, :, 1, 2, 1, 2, 2, 2] = 0.0021938053636693274 - 0.013731078959960046im 0.03168754416182422 - 0.03708169371778823im 0.005653838184747791 + 0.024476409602067883im -0.021899371039940004 - 0.007565481193884557im [:, :, 2, 2, 1, 2, 2, 2] = -0.00018068347120050852 + 0.0050670716706902215im -0.015134016903773426 + 0.0014286078497882824im -0.015114360835819013 - 0.06925238501157403im 0.04472054638637774 - 0.045131675015308126im [:, :, 1, 1, 2, 2, 2, 2] = 0.050769049040245894 - 1.237922012239144e-17im -0.02063229870472867 + 0.024701031122445156im -0.020632298704728658 - 0.024701031122445167im 0.03383838234286979 - 5.595092883691273e-17im [:, :, 2, 1, 2, 2, 2, 2] = -0.09520777515445623 + 0.009055672925372581im 0.022753237732945727 - 0.06979245383674754im 0.003379990438978257 + 0.0825580256182897im -0.022833708458281286 - 0.02364706218461584im [:, :, 1, 2, 2, 2, 2, 2] = -0.09520777515445628 - 0.00905567292537256im 0.0033799904389783175 - 0.08255802561828957im 0.022753237732945807 + 0.06979245383674734im -0.02283370845828102 + 0.023647062184615826im [:, :, 2, 2, 2, 2, 2, 2] = 0.21920933247231505 + 1.0047000466294841e-16im -0.01983698755769738 + 0.1349593013259515im -0.019836987557697593 - 0.13495930132595144im 0.16560233149883952 + 1.7650778442227332e-16im get_trace(ρ) = 1.0000000000000009 - 6.411705792013182e-17im get_trace_moment(ρ, 2) = 0.587885659290443 get_trace_moment(ρ, 3) = 0.3818284889356634 - 3.8163916471489756e-17im purity_1 = 0.6656931983051141 purity_2 = 0.6656931983051164 trrho3_1 = 0.5140709352368411 trrho3_2 = 0.5140709352368434 - 9.627715291671279e-17im purity = 0.587885659290443 p2 = 0.587885659290443 trrho3 = 0.3818284889356634 - 3.8163916471489756e-17im p3 = 0.22909106629906512 - 1.4227443008441032e-16im Cost function 1.0826296951544288 Cost function -0.12625118522459122 Cost function -0.12625118522459125 Cost function -0.12625118522459122 Cost function -0.12625118522459128 Cost function -0.12625118522459125 Cost function -0.12625118522459122 norm(ψ_sum_approx - ψ_sum) = 3.090730095650652e-16 53.244273 seconds (39.09 M allocations: 2.066 GiB, 1.30% gc time, 99.56% compilation time) Running test_trace_moments.jl 10.637373 seconds (10.56 M allocations: 528.161 MiB, 2.04% gc time, 99.94% compilation time) 0.000377 seconds (838 allocations: 192.805 KiB) 2.334791 seconds (688.93 k allocations: 36.359 MiB, 99.79% compilation time) dense_moments_4_batches = 1.0 dense_moments_nu_batches = 1.0000000000000002 factorized_moments = 1.0000000000000002 0.791367 seconds (442.33 k allocations: 25.543 MiB, 99.18% compilation time) 0.001757 seconds (4.99 k allocations: 1.799 MiB) 0.657177 seconds (498.54 k allocations: 44.103 MiB, 94.09% compilation time) dense_moments_4_batches = 1.6676950956795038 dense_moments_nu_batches = 1.621541862069789 factorized_moments = 1.6215418620697921 0.333891 seconds (166.30 k allocations: 11.991 MiB, 97.58% compilation time) 0.007004 seconds (19.77 k allocations: 8.530 MiB) 1.065618 seconds (5.49 M allocations: 857.336 MiB, 18.97% gc time, 8.25% compilation time) dense_moments_4_batches = 2.1849890904048395 dense_moments_nu_batches = 2.648815088584509 factorized_moments = 2.648815088584516 0.350553 seconds (178.82 k allocations: 13.874 MiB, 97.41% compilation time) 0.017473 seconds (49.23 k allocations: 23.338 MiB) 14.340301 seconds (92.18 M allocations: 14.528 GiB, 15.39% gc time, 0.63% compilation time) dense_moments_4_batches = 8.225299491441616 dense_moments_nu_batches = -2.6394582574100043 factorized_moments = -2.63945825741001 31.640935 seconds (110.69 M allocations: 16.070 GiB, 8.30% gc time, 51.33% compilation time) Test Summary: | Pass Total Time RandomMeas.jl | 183 183 15m45.0s Testing RandomMeas tests passed Testing completed after 1004.13s PkgEval succeeded after 1383.34s