Package evaluation to test RandomMeas on Julia 1.14.0-DEV.73 (4c8bca6988*) started at 2025-11-17T03:25:45.231 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 11.0s ################################################################################ # 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.25 [9136182c] + ITensors v0.9.15 [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.3.0 [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.16 [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 7.13s ################################################################################ # 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... 3092.4 ms ✓ OptimKit 896.3 ms ✓ Referenceables 6682.5 ms ✓ Zygote → ZygoteColorsExt 2045.4 ms ✓ Transducers → TransducersReferenceablesExt 8752.6 ms ✓ Folds 13468.1 ms ✓ NDTensors 5680.1 ms ✓ NDTensors → NDTensorsGPUArraysCoreExt 24348.7 ms ✓ ITensors 13690.6 ms ✓ ITensors → ITensorsZygoteRulesExt 13024.4 ms ✓ ITensors → ITensorsVectorInterfaceExt 22507.8 ms ✓ ITensorMPS 17226.1 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 160.74s ################################################################################ # Testing # Testing RandomMeas Status `/tmp/jl_1lyyjD/Project.toml` [861a8166] Combinatorics v1.0.3 [0d1a4710] ITensorMPS v0.3.25 [9136182c] ITensors v0.9.15 [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_1lyyjD/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.25 [9136182c] ITensors v0.9.15 [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.3.0 [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.16 [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 123.019189 seconds (119.20 M allocations: 5.956 GiB, 2.37% gc time, 99.89% compilation time: 6% of which was recompilation) Running test_estimators.jl purity1 = 1.025627272727273 overlap = 0.19621599999999986 fidelity = 0.19792996799032944 exact_fidelity = 0.237451293284512 XEB = 1.0498350193453816 self_XEB = 1.0516573777987515 113.307640 seconds (87.84 M allocations: 4.499 GiB, 2.09% gc time, 99.00% compilation time) Running test_factorized_shadows.jl All tests passed! 7.392033 seconds (7.83 M allocations: 412.216 MiB, 1.94% gc time, 98.79% compilation time) Running test_measurement_data.jl imported_data.measurement_setting = LocalUnitaryMeasurementSetting(4, ITensor[ITensor ord=2 Dim 1: (dim=2|id=225|"Qubit,Site,n=1")' Dim 2: (dim=2|id=225|"Qubit,Site,n=1") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 -0.21700761623419873 - 0.4590995615002075im … -0.8544235983977853 + 0.10998000558123522im 0.8434493638649321 + 0.1752953442693485im -0.25163621836132055 + 0.44107133944765187im , ITensor ord=2 Dim 1: (dim=2|id=34|"Qubit,Site,n=2")' Dim 2: (dim=2|id=34|"Qubit,Site,n=2") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 -0.22809733602107163 - 0.36395245056725084im … 0.6620937303047072 - 0.6141189716312151im 0.2508233820590693 + 0.8675239766361695im 0.38305816985595276 - 0.19430959698487563im , ITensor ord=2 Dim 1: (dim=2|id=325|"Qubit,Site,n=3")' Dim 2: (dim=2|id=325|"Qubit,Site,n=3") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 0.8511527940041141 + 0.2495494889914907im … 0.38548970519030856 - 0.2542865725817329im -0.20761448781952144 - 0.4125047857304369im 0.8623563703741532 + 0.20755123866660088im , ITensor ord=2 Dim 1: (dim=2|id=516|"Qubit,Site,n=4")' Dim 2: (dim=2|id=516|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 -0.801305637760185 + 0.19023698814692716im … 0.07578277861952265 + 0.562117544379495im -0.18854020896677676 - 0.5349502339819034im 0.8000184504452301 - 0.19557943581236695im ], Index{Int64}[(dim=2|id=225|"Qubit,Site,n=1"), (dim=2|id=34|"Qubit,Site,n=2"), (dim=2|id=325|"Qubit,Site,n=3"), (dim=2|id=516|"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 142.037275 seconds (89.93 M allocations: 4.549 GiB, 1.03% gc time, 99.72% compilation time: 4% of which was recompilation) Running test_measurement_group.jl 14.017341 seconds (6.33 M allocations: 381.132 MiB, 1.04% gc time, 96.92% compilation time) Running test_measurement_probability.jl 0.293340 seconds (283.07 k allocations: 13.967 MiB, 80.17% compilation time) Running test_measurement_setting.jl Exported to NPZ file: /tmp/jl_kOSQrs/tempfile.npz All MeasurementSetting tests completed successfully! 3.210882 seconds (2.00 M allocations: 102.507 MiB, 93.21% compilation time) Running test_shadow_analysis.jl exact_value = 0.23745129328451192 expect_batch = 0.2042921270481817 - 5.221345907033483e-19im expect_dense = 0.20429212704818162 + 2.764636207175784e-18im expect_factorized = 0.2042921270481818 + 2.304503062784557e-18im 21.203809 seconds (16.76 M allocations: 1.184 GiB, 2.00% gc time, 94.37% compilation time) Running test_shallow_shadows.jl measurement group mps depolarization Progress: 20%|████████▎ | ETA: 0:04:32 Progress: 100%|█████████████████████████████████████████| Time: 0:01:08 Cost function 1.3944934819936412 Cost function -0.6113004629574329 Progress: 50%|████████████████████▌ | ETA: 0:00:05Cost function -0.611300462957433 Cost function -0.6113004629574329 Progress: 100%|█████████████████████████████████████████| Time: 0:00:04 Cost function -0.6113004629574326 building shallow map inversing shallow map initial loss 1.039634794840306 ┌ Warning: LBFGS: not converged to requested tol after 100 iterations and time 3.95 m: f = 1.460240320987e-02, ‖∇f‖ = 6.8061e-02 └ @ OptimKit ~/.julia/packages/OptimKit/dRsBo/src/lbfgs.jl:199 500.882637 seconds (385.76 M allocations: 20.067 GiB, 1.63% gc time, 99.10% compilation time: <1% of which was recompilation) Running test_tensornetworkutilities.jl flatten(ψ) = ITensor ord=4 Dim 1: (dim=2|id=406|"Qubit,Site,n=1") Dim 2: (dim=2|id=145|"Qubit,Site,n=2") Dim 3: (dim=2|id=935|"Qubit,Site,n=3") Dim 4: (dim=2|id=139|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2×2×2 [:, :, 1, 1] = 0.019870236909854344 + 0.3035289901656371im … -0.17366806950978433 - 0.14863372666844682im -0.09432135546481377 + 0.3208495581535141im -0.04774607658030013 - 0.16992803586813585im [:, :, 2, 1] = -0.06518923615596622 + 0.20552175777693876im … -0.0013993632976447845 - 0.32373994698707276im -0.00876950537452563 + 0.04414918988231459im 0.0972999612874686 - 0.007789103795317211im [:, :, 1, 2] = 0.04843273007172418 - 0.11820622104044072im … -0.3305699381078599 + 0.06753297125228822im 0.016652556542708814 - 0.07286926181603451im -0.27055320141728895 - 0.040905061495760134im [:, :, 2, 2] = -0.20238222493402275 - 0.1743009593731174im … 0.24010606975352322 + 0.03997185501274149im -0.29398514651573193 - 0.22109580147714136im 0.2619119710278845 - 0.0652880235712472im flatten(ρ) = ITensor ord=8 Dim 1: (dim=2|id=406|"Qubit,Site,n=1")' Dim 2: (dim=2|id=406|"Qubit,Site,n=1") Dim 3: (dim=2|id=145|"Qubit,Site,n=2")' Dim 4: (dim=2|id=145|"Qubit,Site,n=2") Dim 5: (dim=2|id=935|"Qubit,Site,n=3")' Dim 6: (dim=2|id=935|"Qubit,Site,n=3") Dim 7: (dim=2|id=139|"Qubit,Site,n=4")' Dim 8: (dim=2|id=139|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2×2×2×2×2×2×2 [:, :, 1, 1, 1, 1, 1, 1] = 0.09273376589670036 + 8.260652403512802e-17im … 0.07191652962373332 - 0.032537954654694966im 0.07191652962373332 + 0.03253795465469509im 0.08151162034452719 - 1.8808882247483857e-17im [:, :, 2, 1, 1, 1, 1, 1] = -0.030663175004800473 + 0.01726695013821366im … -0.026359628742633288 + 0.04468454334216169im -1.647827951590422e-5 + 0.0078164302181057im -0.028356057469639994 + 0.011390539794739312im [:, :, 1, 2, 1, 1, 1, 1] = -0.030663175004800796 - 0.017266950138213662im … -1.647827951579748e-5 - 0.0078164302181057im -0.02635962874263328 - 0.04468454334216152im -0.02835605746964011 - 0.011390539794739215im [:, :, 2, 2, 1, 1, 1, 1] = 0.04800602988116639 + 1.5129145211087806e-17im … 0.02784171512352955 - 0.038777392303598134im 0.027841715123529613 + 0.03877739230359806im 0.07010688297320034 - 1.456426763933636e-17im [:, :, 1, 1, 2, 1, 1, 1] = 0.05213012378211572 + 0.02439551011491724im … 0.054365808111746176 - 0.00023031612083576985im 0.005769987272700502 + 0.02151394376138196im 0.015333012068143012 + 0.003499434947149083im [:, :, 2, 1, 2, 1, 1, 1] = -0.08258216079810217 - 0.005437154639656164im … -0.07546323214860268 + 0.02542476436952421im 0.00926920214798394 - 0.026251599611602564im -0.008014327695806643 - 0.025077628234505028im [:, :, 1, 2, 2, 1, 1, 1] = -0.017169213903815927 - 0.02496662161071472im … -0.009945166631701089 - 0.004534364899202044im -0.015899422476017114 - 0.006201993752813079im -0.009518692717276334 + 0.022502754794057316im [:, :, 2, 2, 2, 1, 1, 1] = 0.03298485851400444 + 0.030410637919821605im … 0.02044809740723739 + 0.009052672942097613im -0.00644210931617419 + 0.01642966721091482im 0.01024511060305625 + 0.004633716898034031im [:, :, 1, 1, 1, 2, 1, 1] = 0.05213012378211577 - 0.02439551011491721im … 0.0057699872727004255 - 0.021513943761381955im 0.05436580811174614 + 0.00023031612083573562im 0.015333012068143052 - 0.003499434947148976im [:, :, 2, 1, 1, 2, 1, 1] = -0.01716921390381602 + 0.024966621610714942im … -0.015899422476017163 + 0.006201993752812924im -0.009945166631700872 + 0.004534364899201974im -0.009518692717276398 - 0.022502754794057243im [:, :, 1, 2, 1, 2, 1, 1] = -0.08258216079810211 + 0.005437154639656159im … 0.009269202147984032 + 0.02625159961160242im -0.0754632321486026 - 0.02542476436952423im -0.008014327695806693 + 0.025077628234504993im [:, :, 2, 2, 1, 2, 1, 1] = 0.03298485851400436 - 0.030410637919821543im … -0.006442109316174236 - 0.016429667210914718im 0.020448097407237385 - 0.00905267294209765im 0.010245110603056334 - 0.004633716898033975im [:, :, 1, 1, 2, 2, 1, 1] = 0.03779365028922405 - 1.3781433963700718e-17im … 0.010814859022758812 - 0.006583536400349523im 0.010814859022758857 + 0.006583536400349502im 0.014811461767060866 + 7.557324449404232e-17im [:, :, 2, 1, 2, 2, 1, 1] = -0.05146541451213505 + 0.01834829879438307im … -0.009116141107261019 + 0.011562493157952249im -0.0038574336579045108 - 0.018105586695467166im -0.005755160975694264 - 0.008791666904951626im [:, :, 1, 2, 2, 2, 1, 1] = -0.05146541451213437 - 0.018348298794382864im … -0.0038574336579046175 + 0.018105586695467153im -0.009116141107261118 - 0.011562493157952334im -0.005755160975694016 + 0.008791666904951603im [:, :, 2, 2, 2, 2, 1, 1] = 0.08020835361592582 + 7.819707631496409e-17im … -0.002804299655222252 - 0.025173733141368386im -0.00280429965522213 + 0.025173733141368445im 0.011014766330435388 - 3.161872172541287e-17im [:, :, 1, 1, 1, 1, 2, 1] = -0.007926411046869452 - 0.003191740046431026im … -0.024247816180762792 - 0.0062368996053944045im -0.040663517525975065 - 0.020570716879591677im -0.026663371501205468 + 0.005475225054206822im [:, :, 2, 1, 1, 1, 2, 1] = 0.007596276813917936 + 0.09164888737721406im … 0.042485716255177455 + 0.07410676805596163im -0.02607711029743634 + 0.08928607854363092im 0.015512634437791422 + 0.07323326442974913im [:, :, 1, 2, 1, 1, 2, 1] = 0.0028876122946652136 + 0.03082379521516682im … 0.03415648539824763 + 0.021180443768646147im 0.012589941088831914 - 0.007278727857984495im -0.025305112994298738 - 0.016603023353026436im [:, :, 2, 2, 1, 1, 2, 1] = 0.020044794598842664 - 0.041516992323549655im … 0.00020988631601215248 - 0.014670515279281983im 0.01519201976523336 - 0.02787525981127594im -0.003953428840371783 + 0.011742017817590683im [:, :, 1, 1, 2, 1, 2, 1] = -0.034476641855039916 + 0.051718455892678775im … -0.02161204831853335 + 0.057433823505533936im -0.06233873785859312 + 0.04808762021371481im -0.035531798002979904 + 0.08182062209165852im [:, :, 2, 1, 2, 1, 2, 1] = 0.001113656377231674 - 0.08444746273711483im … -0.018578616348285237 - 0.05963257959991253im 0.009548409725088271 - 0.06248867934749586im -0.030083829427365184 - 0.06126810458435408im [:, :, 1, 2, 2, 1, 2, 1] = 0.03637982726784204 + 0.0048346719199465im … 0.03457096520122391 - 0.003611421558539909im 0.0644966514474466 - 0.012136268733681524im 0.021295684395781295 - 0.0424158962268464im [:, :, 2, 2, 2, 1, 2, 1] = -0.013278322839175306 + 0.009339786096899803im … -0.02690872604217439 - 0.01742738641820811im -0.018964685792334783 + 0.04690179123058068im 0.02499508714243291 + 0.025515746881115613im [:, :, 1, 1, 1, 2, 2, 1] = -0.011279948200419719 - 0.003183534351312408im … -5.920080838002495e-5 - 0.01310353041498866im -0.02415973908177455 + 0.002546856335372289im -0.01008836546404684 + 0.01922900454305773im [:, :, 2, 1, 1, 2, 2, 1] = 0.029705257682124907 + 0.05192709304148958im … 0.018321086182241292 + 0.008714330387801832im 0.010793617166952346 + 0.055378850395239515im 0.02413033586846736 + 0.013847597755595652im [:, :, 1, 2, 1, 2, 2, 1] = 0.01821904569076921 + 0.00751161105220053im … 0.007885150471789963 - 0.0015647320602356213im 0.02972198375222549 + 0.010617775068698532im -0.0040321498987894114 - 0.01532479979456066im [:, :, 2, 2, 1, 2, 2, 1] = -0.014820512784897093 - 0.0851601835252469im … -0.027624976453792416 + 0.009382315473392761im 0.014820613814214815 - 0.07781923620353726im -0.02919767743189386 + 0.004152293597611573im [:, :, 1, 1, 2, 2, 2, 1] = -0.010978484080132262 + 0.03932622212614898im … 0.002770299141957819 + 0.002277840918372194im -0.02527530224997944 + 0.05169576737135907im -0.011313966427629362 + 0.019525921067777913im [:, :, 2, 1, 2, 2, 2, 1] = -0.018138207449769884 - 0.044808014680871006im … -0.02203702039040956 + 0.0038700645152421713im -0.016348755880494965 - 0.04212359972159564im -0.010130320612232457 - 0.020415725584194598im [:, :, 1, 2, 2, 2, 2, 1] = 0.03656075556111914 - 0.050945513649106815im … -0.013174797105812899 - 0.00811110911601248im 0.056443641856598455 - 0.06133515877960289im -0.02046564455125477 - 0.022733884584181633im [:, :, 2, 2, 2, 2, 2, 1] = -0.0025162527853509493 + 0.07064524150036909im … 0.019115081189700067 - 0.009696353951748615im 0.005056951376191239 + 0.06321122038557811im 0.026123255772082344 - 0.0011806350915334796im [:, :, 1, 1, 1, 1, 1, 2] = -0.00792641104686936 + 0.0031917400464310415im … -0.04066351752597504 + 0.020570716879591788im -0.02424781618076282 + 0.006236899605394565im -0.026663371501205412 - 0.005475225054206868im [:, :, 2, 1, 1, 1, 1, 2] = 0.002887612294665247 - 0.030823795215166993im … 0.012589941088831897 + 0.007278727857984557im 0.03415648539824752 - 0.02118044376864598im -0.025305112994298766 + 0.01660302335302634im [:, :, 1, 2, 1, 1, 1, 2] = 0.007596276813917722 - 0.0916488873772147im … -0.026077110297436153 - 0.0892860785436308im 0.0424857162551775 - 0.07410676805596154im 0.015512634437791287 - 0.07323326442974934im [:, :, 2, 2, 1, 1, 1, 2] = 0.02004479459884271 + 0.04151699232354965im … 0.015192019765233274 + 0.02787525981127602im 0.00020988631601207616 + 0.014670515279281982im -0.003953428840371845 - 0.011742017817590612im [:, :, 1, 1, 2, 1, 1, 2] = -0.011279948200419663 + 0.003183534351312505im … -0.02415973908177454 - 0.002546856335372296im -5.920080838010475e-5 + 0.013103530414988691im -0.010088365464046916 - 0.01922900454305776im [:, :, 2, 1, 2, 1, 1, 2] = 0.018219045690769015 - 0.007511611052200787im … 0.02972198375222552 - 0.01061777506869856im 0.007885150471790014 + 0.0015647320602356352im -0.004032149898789453 + 0.015324799794560626im [:, :, 1, 2, 2, 1, 1, 2] = 0.02970525768212499 - 0.051927093041489805im … 0.01079361716695243 - 0.05537885039523942im 0.018321086182241365 - 0.008714330387801781im 0.024130335868467405 - 0.013847597755595825im [:, :, 2, 2, 2, 1, 1, 2] = -0.014820512784897091 + 0.08516018352524699im … 0.014820613814214893 + 0.0778192362035373im -0.027624976453792464 - 0.009382315473392668im -0.029197677431894005 - 0.004152293597611661im [:, :, 1, 1, 1, 2, 1, 2] = -0.03447664185503984 - 0.05171845589267885im … -0.06233873785859306 - 0.04808762021371471im -0.02161204831853329 - 0.0574338235055339im -0.03553179800297993 - 0.08182062209165875im [:, :, 2, 1, 1, 2, 1, 2] = 0.03637982726784203 - 0.004834671919946073im … 0.06449665144744662 + 0.012136268733681298im 0.034570965201224005 + 0.0036114215585398117im 0.021295684395781327 + 0.0424158962268466im [:, :, 1, 2, 1, 2, 1, 2] = 0.0011136563772316966 + 0.0844474627371146im … 0.009548409725088266 + 0.06248867934749597im -0.018578616348285393 + 0.05963257959991247im -0.030083829427365007 + 0.06126810458435411im [:, :, 2, 2, 1, 2, 1, 2] = -0.013278322839175257 - 0.009339786096899866im … -0.018964685792334724 - 0.04690179123058073im -0.02690872604217435 + 0.017427386418208048im 0.024995087142432867 - 0.025515746881115513im [:, :, 1, 1, 2, 2, 1, 2] = -0.010978484080132186 - 0.03932622212614903im … -0.025275302249979568 - 0.051695767371359065im 0.002770299141957722 - 0.0022778409183722356im -0.011313966427629387 - 0.019525921067777802im [:, :, 2, 1, 2, 2, 1, 2] = 0.03656075556111896 + 0.05094551364910668im … 0.056443641856598566 + 0.06133515877960287im -0.01317479710581293 + 0.008111109116012462im -0.020465644551254818 + 0.02273388458418157im [:, :, 1, 2, 2, 2, 1, 2] = -0.018138207449769805 + 0.04480801468087096im … -0.01634875588049501 + 0.04212359972159578im -0.022037020390409542 - 0.003870064515242168im -0.010130320612232315 + 0.02041572558419451im [:, :, 2, 2, 2, 2, 1, 2] = -0.0025162527853508317 - 0.07064524150036902im … 0.005056951376191298 - 0.06321122038557833im 0.019115081189700137 + 0.009696353951748567im 0.026123255772082327 + 0.001180635091533578im [:, :, 1, 1, 1, 1, 2, 2] = 0.023908989718924675 + 2.5211298581257027e-17im … -0.013420855653272218 + 0.002607857610874036im -0.013420855653272204 - 0.0026078576108739143im 0.03617852561079674 + 1.2224646456043114e-17im [:, :, 2, 1, 1, 1, 2, 2] = -0.011667196072464902 - 0.012299466326591452im … -0.0170672994397394 - 0.03591239158350225im -0.003712941340857987 - 0.0003987845698041444im -0.00723006859000377 - 0.05149481554974078im [:, :, 1, 2, 1, 1, 2, 2] = -0.011667196072465002 + 0.012299466326591568im … -0.003712941340858053 + 0.00039878456980387185im -0.017067299439739298 + 0.03591239158350208im -0.0072300685900038115 + 0.05149481554974108im [:, :, 2, 2, 1, 1, 2, 2] = 0.09483975975215664 + 1.2226597006177422e-16im … 0.08541880975783167 - 0.029734253512077622im 0.08541880975783167 + 0.02973425351207767im 0.09651449382644815 + 3.6161206179437794e-17im [:, :, 1, 1, 2, 1, 2, 2] = 0.01421692121861342 - 0.017754601434694216im … -0.0047322304340916615 - 0.01940298022226889im -0.0018625504234609266 - 0.03497030968141883im 0.02456739852802039 - 0.013762005459883627im [:, :, 2, 1, 2, 1, 2, 2] = -0.012122412941457059 + 0.004502347845838377im … 0.029968047542035255 + 0.03745795085407301im 0.024106464039160058 + 0.009772404894849646im -0.008190003370772895 + 0.02931725734130838im [:, :, 1, 2, 2, 1, 2, 2] = 0.046334546617934534 + 0.045109146803186284im … 0.05359995739289655 + 0.0155696710281155im 0.050171974372182085 + 0.0741823069291992im 0.054419452036349666 + 0.052008003988661955im [:, :, 2, 2, 2, 1, 2, 2] = -0.07772634767220608 - 0.010134695711283696im … -0.08073656905415987 + 0.028267725784593016im -0.06955879749878617 - 0.01129498080809397im -0.0642332954039422 - 0.00013784189433682458im [:, :, 1, 1, 1, 2, 2, 2] = 0.014216921218613343 + 0.017754601434694182im … -0.0018625504234609158 + 0.0349703096814189im -0.0047322304340916875 + 0.019402980222268967im 0.02456739852802027 + 0.013762005459883559im [:, :, 2, 1, 1, 2, 2, 2] = 0.0463345466179344 - 0.0451091468031863im … 0.050171974372182154 - 0.07418230692919925im 0.05359995739289667 - 0.015569671028115472im 0.054419452036349694 - 0.05200800398866197im [:, :, 1, 2, 1, 2, 2, 2] = -0.012122412941457529 - 0.004502347845838059im … 0.024106464039160242 - 0.009772404894849734im 0.029968047542035237 - 0.037457950854072976im -0.008190003370773092 - 0.029317257341308228im [:, :, 2, 2, 1, 2, 2, 2] = -0.0777263476722061 + 0.010134695711283503im … -0.06955879749878605 + 0.011294980808094001im -0.08073656905415982 - 0.028267725784593002im -0.06423329540394224 + 0.00013784189433677067im [:, :, 1, 1, 2, 2, 2, 2] = 0.05540903420271135 - 3.538399680585661e-17im … 0.06195637228848383 + 0.0022262728734048806im 0.06195637228848393 - 0.002226272873404798im 0.1038277601437327 - 3.9791360238862876e-17im [:, :, 2, 1, 2, 2, 2, 2] = -0.05449299762770126 + 0.021374691889526072im … -0.0375435516406472 + 0.038304280985703765im -0.02770307749014912 + 0.03218597243384491im -0.04936963133092879 + 0.06435341010640795im [:, :, 1, 2, 2, 2, 2, 2] = -0.054492997627701115 - 0.021374691889526037im … -0.02770307749014922 - 0.03218597243384493im -0.03754355164064718 - 0.03830428098570378im -0.049369631330928726 - 0.06435341010640794im [:, :, 2, 2, 2, 2, 2, 2] = 0.08688841653000738 - 8.223328808150146e-17im … 0.04182309099602702 - 0.008007476661453483im 0.04182309099602705 + 0.00800747666145357im 0.06624648911698287 - 8.586354892701665e-17im get_trace(ρ) = 1.0000000000000009 + 1.25323611704558e-16im get_trace_moment(ρ, 2) = 0.6452980097147447 get_trace_moment(ρ, 3) = 0.4679470145721166 - 3.635465409615457e-17im purity_1 = 0.6305897440386915 purity_2 = 0.6305897440386937 trrho3_1 = 0.4688010007610536 trrho3_2 = 0.4688010007610563 + 2.4448758989548125e-17im purity = 0.6452980097147447 p2 = 0.6452980097147447 trrho3 = 0.4679470145721166 - 3.635465409615457e-17im p3 = 0.2150398046881994 + 8.753577290104841e-17im Cost function 1.2013957910562356 Cost function -0.08957508040420561 Cost function -0.08957508040420563 Cost function -0.0895750804042056 Cost function -0.08957508040420564 Cost function -0.08957508040420563 Cost function -0.08957508040420566 norm(ψ_sum_approx - ψ_sum) = 2.7079472415936023e-16 61.336050 seconds (34.42 M allocations: 1.785 GiB, 1.07% gc time, 99.53% compilation time) Running test_trace_moments.jl 11.821486 seconds (8.99 M allocations: 455.601 MiB, 1.02% gc time, 99.94% compilation time) 0.000439 seconds (838 allocations: 192.805 KiB) 2.992668 seconds (590.75 k allocations: 31.150 MiB, 99.81% compilation time) dense_moments_4_batches = 1.0 dense_moments_nu_batches = 1.0000000000000004 factorized_moments = 1.000000000000001 0.982213 seconds (413.60 k allocations: 22.362 MiB, 99.24% compilation time) 0.001829 seconds (4.99 k allocations: 1.799 MiB) 0.724240 seconds (478.08 k allocations: 41.869 MiB, 95.64% compilation time) dense_moments_4_batches = -0.18119569426356918 dense_moments_nu_batches = -0.22638292165016774 factorized_moments = -0.22638292165016857 0.316371 seconds (159.14 k allocations: 11.020 MiB, 97.55% compilation time) 0.082072 seconds (19.77 k allocations: 8.530 MiB, 90.21% gc time) 0.922224 seconds (5.49 M allocations: 857.210 MiB, 16.31% gc time, 9.01% compilation time) dense_moments_4_batches = -2.6488208511260374 dense_moments_nu_batches = -0.9637866759611767 factorized_moments = -0.9637866759611747 0.419782 seconds (170.22 k allocations: 12.748 MiB, 97.31% compilation time) 0.021714 seconds (49.23 k allocations: 23.338 MiB) 17.497902 seconds (92.18 M allocations: 14.528 GiB, 14.82% gc time, 0.64% compilation time) dense_moments_4_batches = -3.2560038945773297 dense_moments_nu_batches = -3.0024927897835365 factorized_moments = -3.002492789783539 36.948239 seconds (108.92 M allocations: 15.984 GiB, 7.95% gc time, 49.99% compilation time) Test Summary: | Pass Total Time RandomMeas.jl | 183 183 17m03.9s Testing RandomMeas tests passed Testing completed after 1091.92s PkgEval succeeded after 1303.36s