Package evaluation to test RandomMeas on Julia 1.14.0-DEV.71 (9f595ebbf8*) started at 2025-11-14T18:32:24.874 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.3s ################################################################################ # 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.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.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 6.76s ################################################################################ # 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... 5014.4 ms ✓ OptimKit 67340.1 ms ✓ Zygote 3637.3 ms ✓ Transducers → TransducersReferenceablesExt 5815.2 ms ✓ Transducers → TransducersBlockArraysExt 115035.4 ms ✓ Plots 6472.5 ms ✓ Zygote → ZygoteColorsExt 7711.9 ms ✓ Folds 22476.2 ms ✓ Plots → FileIOExt 13076.9 ms ✓ NDTensors 5189.1 ms ✓ NDTensors → NDTensorsGPUArraysCoreExt 18492.8 ms ✓ ITensors 10912.6 ms ✓ ITensors → ITensorsZygoteRulesExt 9018.5 ms ✓ ITensors → ITensorsVectorInterfaceExt 18167.5 ms ✓ ITensorMPS 11687.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 345.41s ################################################################################ # Testing # Testing RandomMeas Status `/tmp/jl_wpwVLH/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_wpwVLH/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.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.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 116.616815 seconds (133.99 M allocations: 6.897 GiB, 2.85% gc time, 99.85% compilation time: 6% of which was recompilation) Running test_estimators.jl purity1 = 0.980054545454545 overlap = 0.18092199999999994 fidelity = 0.1833212405312463 exact_fidelity = 0.13263938729760527 XEB = 2.5631775893003717 self_XEB = 2.5777424982962662 106.778492 seconds (97.68 M allocations: 5.145 GiB, 2.37% gc time, 99.65% compilation time) Running test_factorized_shadows.jl All tests passed! 6.877651 seconds (8.79 M allocations: 477.284 MiB, 2.09% gc time, 98.73% compilation time) Running test_measurement_data.jl imported_data.measurement_setting = LocalUnitaryMeasurementSetting(4, ITensor[ITensor ord=2 Dim 1: (dim=2|id=397|"Qubit,Site,n=1")' Dim 2: (dim=2|id=397|"Qubit,Site,n=1") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 0.43342976429724644 + 0.49830111963557283im … 0.6063533194867372 - 0.44291114858240255im -0.22208958712040083 - 0.7172941160248409im 0.6451880400973589 - 0.1410594177081446im , ITensor ord=2 Dim 1: (dim=2|id=967|"Qubit,Site,n=2")' Dim 2: (dim=2|id=967|"Qubit,Site,n=2") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 -0.18127623568159534 - 0.6671090544053149im … -0.4706642529440498 + 0.5482513993672762im -0.6283734518003626 - 0.35672291905630954im -0.055069818279499194 - 0.6891029525456308im , ITensor ord=2 Dim 1: (dim=2|id=279|"Qubit,Site,n=3")' Dim 2: (dim=2|id=279|"Qubit,Site,n=3") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 0.18756995205334603 + 0.7490939556643178im … -0.47520325857386925 + 0.42173169398880467im 0.6353411423451297 + 0.004170313834216066im -0.35243643690571425 - 0.6871046494292657im , ITensor ord=2 Dim 1: (dim=2|id=780|"Qubit,Site,n=4")' Dim 2: (dim=2|id=780|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2 0.11640228012303266 + 0.2183307435047034im … 0.9621431483825529 + 0.1142924216356932im -0.567823297657563 - 0.785085280883633im 0.24738169521087205 - 0.004483441953767597im ], Index{Int64}[(dim=2|id=397|"Qubit,Site,n=1"), (dim=2|id=967|"Qubit,Site,n=2"), (dim=2|id=279|"Qubit,Site,n=3"), (dim=2|id=780|"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 126.646323 seconds (101.34 M allocations: 5.257 GiB, 1.20% gc time, 99.80% compilation time: 5% of which was recompilation) Running test_measurement_group.jl 12.226853 seconds (7.08 M allocations: 431.116 MiB, 1.02% gc time, 97.59% compilation time) Running test_measurement_probability.jl 0.278555 seconds (318.18 k allocations: 15.742 MiB, 80.54% compilation time) Running test_measurement_setting.jl Exported to NPZ file: /tmp/jl_jklct1/tempfile.npz All MeasurementSetting tests completed successfully! 3.229261 seconds (2.19 M allocations: 116.869 MiB, 2.42% gc time, 93.63% compilation time) Running test_shadow_analysis.jl exact_value = 0.1326393872976053 expect_batch = 0.11729573621345586 - 1.1548792738738437e-17im expect_dense = 0.11729573621345583 - 2.7365244822367533e-18im expect_factorized = 0.11729573621345592 - 1.3652403919007902e-18im 18.575628 seconds (18.34 M allocations: 1.278 GiB, 1.54% gc time, 95.23% compilation time) Running test_shallow_shadows.jl measurement group mps depolarization Progress: 20%|████████▎ | ETA: 0:04:57 Progress: 100%|█████████████████████████████████████████| Time: 0:01:14 Cost function 1.7079287315515956 Cost function -0.5938506821378574 Progress: 50%|████████████████████▌ | ETA: 0:00:05Cost function -0.5938506821378576 Cost function -0.5938506821378573 Progress: 100%|█████████████████████████████████████████| Time: 0:00:05 Cost function -0.5938506821378575 building shallow map inversing shallow map initial loss 0.9358800738651212 ┌ Warning: LBFGS: not converged to requested tol after 100 iterations and time 3.71 m: f = 1.475866232625e-04, ‖∇f‖ = 4.5020e-03 └ @ OptimKit ~/.julia/packages/OptimKit/dRsBo/src/lbfgs.jl:199 479.987797 seconds (419.16 M allocations: 22.144 GiB, 1.58% gc time, 99.06% compilation time: <1% of which was recompilation) Running test_tensornetworkutilities.jl flatten(ψ) = ITensor ord=4 Dim 1: (dim=2|id=57|"Qubit,Site,n=1") Dim 2: (dim=2|id=176|"Qubit,Site,n=2") Dim 3: (dim=2|id=286|"Qubit,Site,n=3") Dim 4: (dim=2|id=852|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2×2×2 [:, :, 1, 1] = 0.23621877948002823 + 0.056447258276227076im … 0.06564549960654864 - 0.00683629635512681im -0.20618060585291142 + 0.12222078900997826im -0.08920026532635544 - 0.12252635417591494im [:, :, 2, 1] = -0.27996275082373134 + 0.10291502490574458im … 0.10441130551138747 + 0.18642718404337566im 0.1228967959229029 - 0.27462391943297315im -0.03335107249200438 - 0.4558239465345674im [:, :, 1, 2] = -0.00508600773492403 - 0.10236565756998244im … 0.061977431714134244 - 0.19505993276128356im 0.28350559422057336 - 0.09292656394484881im -0.2545528813394598 + 0.32017416215218164im [:, :, 2, 2] = 0.013981344397225913 - 0.2452993553253861im … -0.1360036578846287 - 0.020988777493553254im -0.12345109186369807 + 0.10042492361230725im 0.08907994602480117 + 0.030405107979653866im flatten(ρ) = ITensor ord=8 Dim 1: (dim=2|id=57|"Qubit,Site,n=1")' Dim 2: (dim=2|id=57|"Qubit,Site,n=1") Dim 3: (dim=2|id=176|"Qubit,Site,n=2")' Dim 4: (dim=2|id=176|"Qubit,Site,n=2") Dim 5: (dim=2|id=286|"Qubit,Site,n=3")' Dim 6: (dim=2|id=286|"Qubit,Site,n=3") Dim 7: (dim=2|id=852|"Qubit,Site,n=4")' Dim 8: (dim=2|id=852|"Qubit,Site,n=4") NDTensors.Dense{ComplexF64, Vector{ComplexF64}} 2×2×2×2×2×2×2×2 [:, :, 1, 1, 1, 1, 1, 1] = 0.0680224567405327 + 1.5565170446050373e-17im … -0.05147596698961937 - 0.0379611739158795im -0.05147596698961918 + 0.03796117391587937im 0.06212177357768048 - 1.545964932738771e-16im [:, :, 2, 1, 1, 1, 1, 1] = 0.0010360327420676713 + 0.009962505590198433im … 0.00279236685506218 - 0.01257156016468723im -0.03754756836970348 - 0.026658505400420657im 0.01374661475939634 + 0.04001214870419107im [:, :, 1, 2, 1, 1, 1, 1] = 0.0010360327420675221 - 0.009962505590198413im … -0.0375475683697035 + 0.02665850540042075im 0.0027923668550621844 + 0.012571560164687226im 0.013746614759396238 - 0.04001214870419097im [:, :, 2, 2, 1, 1, 1, 1] = 0.013467339892845284 + 1.362775969921606e-17im … -0.0021791392895606897 - 0.006680787549347602im -0.002179139289560663 + 0.006680787549347565im 0.03182365323773714 + 6.972852134067071e-19im [:, :, 1, 1, 2, 1, 1, 1] = -0.053284908219062205 + 0.015296381739121576im … 0.05380691875737754 + 0.023693807734837334im 0.016763465146629856 - 0.08239420935888045im -0.05883615883811695 + 0.05319678129497862im [:, :, 2, 1, 2, 1, 1, 1] = 0.038021085699399014 + 0.04812116042698732im … -0.0025495343792372276 - 0.05844889118164244im -0.028903226710943322 - 0.09214367174187205im -0.036215481366647526 + 0.0856038905972463im [:, :, 1, 2, 2, 1, 1, 1] = -0.015952096424629133 + 0.013617299711546715im … 0.020827363502677488 - 0.02595630661356488im -0.012092878162331358 - 0.004289653500502502im 0.02290715651275383 + 0.05197648963036097im [:, :, 2, 2, 2, 1, 1, 1] = 0.010090042454785939 - 0.00544035037320336im … -0.03945446241602933 - 0.012103474960783674im -0.006692110774289791 - 0.011890957156308614im 0.05150465233086434 + 0.03575617391239581im [:, :, 1, 1, 1, 2, 1, 1] = -0.053284908219062094 - 0.015296381739121847im … 0.01676346514662985 + 0.08239420935888048im 0.0538069187573775 - 0.023693807734837202im -0.058836158838116964 - 0.05319678129497844im [:, :, 2, 1, 1, 2, 1, 1] = -0.015952096424629317 - 0.013617299711546757im … -0.012092878162331257 + 0.004289653500502559im 0.020827363502677547 + 0.025956306613564954im 0.022907156512753917 - 0.051976489630361035im [:, :, 1, 2, 1, 2, 1, 1] = 0.03802108569939896 - 0.04812116042698728im … -0.028903226710943336 + 0.09214367174187214im -0.002549534379237238 + 0.05844889118164228im -0.03621548136664729 - 0.08560389059724623im [:, :, 2, 2, 1, 2, 1, 1] = 0.010090042454786074 + 0.005440350373203333im … -0.0066921107742898105 + 0.011890957156308382im -0.039454462416029415 + 0.01210347496078374im 0.05150465233086437 - 0.03575617391239589im [:, :, 1, 1, 2, 2, 1, 1] = 0.07296690756860828 + 8.078236175721562e-17im … -0.03152242157529993 - 0.06174391825003315im -0.03152242157529988 + 0.06174391825003286im 0.10396819495425565 - 1.003768183572382e-16im [:, :, 2, 1, 2, 2, 1, 1] = -0.02281372061668917 - 0.046514961469767406im … -0.04894670691864966 + 0.05804634922325314im -0.015427113686715215 + 0.09664404333050058im 0.10503062921374126 - 0.05702302883129017im [:, :, 1, 2, 2, 2, 1, 1] = -0.022813720616689046 + 0.04651496146976717im … -0.015427113686715111 - 0.09664404333050036im -0.04894670691864989 - 0.05804634922325309im 0.10503062921374126 + 0.05702302883129021im [:, :, 2, 2, 2, 2, 1, 1] = 0.05583063953983098 + 4.803373805075409e-17im … -0.07911061706879423 + 0.03371486306953155im -0.07911061706879406 - 0.03371486306953171im 0.1595441356834406 + 2.1154841085387187e-17im [:, :, 1, 1, 1, 1, 2, 1] = -0.0014691247464906744 - 0.028117320605396078im … -0.014955739811591415 + 0.023447340245639128im 0.06243614560327038 - 0.03410605803918105im -0.06755420187871249 - 0.011488741317552498im [:, :, 2, 1, 1, 1, 2, 1] = -0.014270894380853648 - 0.036979086067862134im … -0.012481957040872006 + 0.03078162431356677im -0.045374103544623116 + 0.10634363143908479im 0.09294400688951204 - 0.054721716945321214im [:, :, 1, 2, 1, 1, 2, 1] = -0.006796711386141624 - 0.0024085028833839006im … 0.011030876608398753 + 0.01487578877348425im 0.0027443196515423074 - 0.010066164345812768im -0.01985052479664578 + 0.04231954175325679im [:, :, 2, 2, 1, 1, 2, 1] = 0.008620842165149372 + 0.0007536975251959194im … 0.024997711069521394 + 0.012783988095917267im 0.014653587388644472 + 0.006170691196269779im -0.016952298193747575 - 0.0768535324374646im [:, :, 1, 1, 2, 1, 2, 1] = -0.00747844824891986 - 0.03125514146709085im … -0.01938110659641184 + 0.02605063253973589im -0.03751457627656589 + 0.011070342136996227im 0.04017496329094615 + 0.012290501693227079im [:, :, 2, 1, 2, 1, 2, 1] = -0.022535345717801664 + 0.0002294088958036504im … 0.016581504520614868 + 0.015774706789843364im 0.012875100818357453 + 0.0034918605674516645im -0.007003167479599217 - 0.012560118725147347im [:, :, 1, 2, 2, 1, 2, 1] = 0.0068986040838858904 - 0.014676266279026124im … 0.01657226955040468 + 0.009857422764803715im -0.003958987624435438 + 0.018530832684892966im 0.017113116022648367 - 0.017685017349854622im [:, :, 2, 2, 2, 1, 2, 1] = -0.007285767701826961 - 0.0014180820355851331im … 0.010387934854138275 - 0.008939356725317094im 0.006055273942599582 + 0.002679369232600038im -0.006853730680922751 + 0.0032746465647249604im [:, :, 1, 1, 1, 2, 2, 1] = -0.0023437393981442815 + 0.026773735413164048im … 0.03386418368294372 - 0.008785721592159408im -0.06660432637162364 + 0.010100922157675983im 0.05655922704535686 + 0.06756001694809502im [:, :, 2, 1, 1, 2, 2, 1] = -0.018155024070910596 + 0.026664373729483073im … 0.04097867575423628 - 0.025692201624973807im 0.05881647053582108 - 0.06995745457316536im -0.1398872521480987 - 0.02871546771109766im [:, :, 1, 2, 1, 2, 2, 1] = -0.02114709469190702 - 0.015261718481982451im … 0.03980262842159146 + 0.005370548283968273im 0.012185562531752419 - 0.06297310284452567im 0.024264854491179183 + 0.10715816019474478im [:, :, 2, 2, 1, 2, 2, 1] = -0.031170143873173073 - 0.01001377873179174im … 0.06571441489789144 + 0.013411084159267764im 0.04992722699525637 + 0.09109789285702774im -0.12234219528848528 - 0.10819798297460785im [:, :, 1, 1, 2, 2, 2, 1] = -0.025085140381148317 + 0.04294012231712752im … 0.03648352093254865 - 0.01584272700219647im 0.04512335513718917 - 0.016554699253288334im -0.02315895888213993 - 0.0432558506729388im [:, :, 2, 1, 2, 2, 2, 1] = 0.02561783800044519 + 0.014977743340854381im … -0.005439930302955604 - 0.027466633547399352im -0.01495153793890128 - 0.01465806740650296im -0.0013999495254337965 + 0.016608674069908753im [:, :, 1, 2, 2, 2, 2, 1] = -0.02313907975870641 - 0.014736697040691199im … 0.0712915895499795 + 0.008138557649173461im -0.014814929315595795 + 0.03511710392602656im -0.017876379948700512 - 0.05389771051096829im [:, :, 2, 2, 2, 2, 2, 1] = -0.013628552787371148 + 0.014748751450476674im … 0.010847449986253139 - 0.04203928824892765im 0.010537651120348579 - 0.005960091033215497im -0.012509084030936278 + 0.025246469102806313im [:, :, 1, 1, 1, 1, 1, 2] = -0.0014691247464908113 + 0.02811732060539607im … 0.06243614560327046 + 0.0341060580391809im -0.014955739811591297 - 0.0234473402456392im -0.06755420187871242 + 0.011488741317552446im [:, :, 2, 1, 1, 1, 1, 2] = -0.006796711386141621 + 0.002408502883383911im … 0.002744319651542185 + 0.01006616434581271im 0.011030876608398466 - 0.014875788773484194im -0.019850524796645674 - 0.042319541753256786im [:, :, 1, 2, 1, 1, 1, 2] = -0.01427089438085358 + 0.036979086067862044im … -0.045374103544623144 - 0.10634363143908485im -0.01248195704087221 - 0.03078162431356672im 0.09294400688951204 + 0.05472171694532146im [:, :, 2, 2, 1, 1, 1, 2] = 0.008620842165149217 - 0.0007536975251959691im … 0.014653587388644636 - 0.006170691196269789im 0.024997711069521537 - 0.012783988095917267im -0.01695229819374782 + 0.07685353243746444im [:, :, 1, 1, 2, 1, 1, 2] = -0.002343739398144092 - 0.026773735413164162im … -0.06660432637162385 - 0.010100922157675926im 0.03386418368294359 + 0.00878572159215948im 0.05655922704535646 - 0.06756001694809506im [:, :, 2, 1, 2, 1, 1, 2] = -0.021147094691906815 + 0.015261718481982581im … 0.012185562531752367 + 0.06297310284452563im 0.03980262842159166 - 0.0053705482839684505im 0.024264854491179162 - 0.10715816019474508im [:, :, 1, 2, 2, 1, 1, 2] = -0.01815502407091066 - 0.026664373729482927im … 0.05881647053582127 + 0.06995745457316514im 0.040978675754236527 + 0.025692201624973928im -0.1398872521480988 + 0.028715467711097422im [:, :, 2, 2, 2, 1, 1, 2] = -0.0311701438731731 + 0.01001377873179172im … 0.049927226995256306 - 0.09109789285702743im 0.06571441489789123 - 0.01341108415926763im -0.12234219528848506 + 0.1081979829746077im [:, :, 1, 1, 1, 2, 1, 2] = -0.007478448248919967 + 0.03125514146709068im … -0.037514576276565924 - 0.011070342136996173im -0.019381106596411787 - 0.026050632539735837im 0.040174963290946164 - 0.012290501693226829im [:, :, 2, 1, 1, 2, 1, 2] = 0.006898604083885845 + 0.014676266279026162im … -0.003958987624435414 - 0.018530832684892938im 0.016572269550404632 - 0.009857422764803704im 0.017113116022648395 + 0.017685017349854528im [:, :, 1, 2, 1, 2, 1, 2] = -0.02253534571780159 - 0.00022940889580361744im … 0.012875100818357278 - 0.0034918605674517152im 0.0165815045206148 - 0.015774706789843267im -0.007003167479599353 + 0.012560118725147291im [:, :, 2, 2, 1, 2, 1, 2] = -0.007285767701827001 + 0.0014180820355851349im … 0.006055273942599568 - 0.002679369232599986im 0.010387934854138331 + 0.008939356725317066im -0.0068537306809227025 - 0.003274646564724898im [:, :, 1, 1, 2, 2, 1, 2] = -0.025085140381148244 - 0.04294012231712732im … 0.04512335513718911 + 0.01655469925328825im 0.03648352093254849 + 0.01584272700219645im -0.023158958882140115 + 0.04325585067293868im [:, :, 2, 1, 2, 2, 1, 2] = -0.023139079758706618 + 0.014736697040691322im … -0.014814929315595901 - 0.035117103926026634im 0.07129158954997945 - 0.008138557649173515im -0.01787637994870045 + 0.05389771051096841im [:, :, 1, 2, 2, 2, 1, 2] = 0.02561783800044509 - 0.014977743340854248im … -0.014951537938901173 + 0.014658067406502807im -0.005439930302955635 + 0.02746663354739932im -0.0013999495254338173 - 0.016608674069908676im [:, :, 2, 2, 2, 2, 1, 2] = -0.013628552787371195 - 0.014748751450476678im … 0.010537651120348546 + 0.005960091033215417im 0.010847449986253184 + 0.042039288248927636im -0.012509084030936273 - 0.025246469102806156im [:, :, 1, 1, 1, 1, 2, 2] = 0.012644394736240062 + 9.312508468258567e-17im … 0.011319406602851089 - 0.027876683732388257im 0.011319406602851172 + 0.02787668373238808im 0.07826542232201 - 1.3352478309965826e-16im [:, :, 2, 1, 1, 1, 2, 2] = 0.012577946173821937 - 0.002319547842136678im … 0.013536891173289316 - 0.041056966036546474im -0.04254309886501801 - 0.020630564991374525im -0.09502795055213226 + 0.07366658234533463im [:, :, 1, 2, 1, 1, 2, 2] = 0.012577946173821736 + 0.0023195478421366954im … -0.042543098865017934 + 0.020630564991374594im 0.013536891173289302 + 0.041056966036546634im -0.09502795055213227 - 0.07366658234533444im [:, :, 2, 2, 1, 1, 2, 2] = 0.04008910624684775 - 1.3287249136407908e-17im … -0.048431027201648415 + 0.04948159633821705im -0.048431027201648214 - 0.049481596338217165im 0.19689027256956326 - 1.442081596888709e-17im [:, :, 1, 1, 2, 1, 2, 2] = 0.013313861908652313 + 0.003093474945317119im … 0.01588079760595172 - 0.040707368043341546im -0.005011946285257455 - 0.01951305045975054im -0.043251448814758266 - 0.0015323968874361212im [:, :, 2, 1, 2, 1, 2, 2] = 0.002801536036639368 - 0.009551189047964218im … -0.024590179704453718 - 0.013995584741343122im -0.0037319320271935077 + 0.005226184370614271im 0.012942742536680454 + 0.012394024032764269im [:, :, 1, 2, 2, 1, 2, 2] = 0.03332223120299449 - 0.014941136489456636im … -0.04142586265076602 + 0.0348580638149781im -0.004930969268932483 - 0.007744906206972365im 0.04017974335145125 + 0.05014245025854607im [:, :, 2, 2, 2, 1, 2, 2] = -0.0033841922888244737 - 0.018361421469706308im … 0.01634943801082285 + 0.03395017261871949im 0.0014659684548029228 + 0.011974254544811727im -0.004019936530885933 - 0.02161033746370511im [:, :, 1, 1, 1, 2, 2, 2] = 0.013313861908652141 - 0.003093474945317178im … -0.00501194628525743 + 0.019513050459750467im 0.015880797605951923 + 0.04070736804334141im -0.043251448814758134 + 0.0015323968874360583im [:, :, 2, 1, 1, 2, 2, 2] = 0.0333222312029946 + 0.014941136489456613im … -0.0049309692689324695 + 0.007744906206972441im -0.04142586265076607 - 0.03485806381497797im 0.04017974335145128 - 0.050142450258546245im [:, :, 1, 2, 1, 2, 2, 2] = 0.002801536036639441 + 0.009551189047964155im … -0.0037319320271935155 - 0.0052261843706141176im -0.024590179704453652 + 0.013995584741343176im 0.012942742536680428 - 0.012394024032764246im [:, :, 2, 2, 1, 2, 2, 2] = -0.0033841922888244356 + 0.018361421469706415im … 0.0014659684548028102 - 0.011974254544811793im 0.016349438010822667 - 0.033950172618719576im -0.004019936530885821 + 0.021610337463705193im [:, :, 1, 1, 2, 2, 2, 2] = 0.04589295018189177 + 1.0189653772101577e-16im … -0.02221519403566606 + 0.012406805615242943im -0.02221519403566614 - 0.012406805615242855im 0.038390354393457844 - 5.716210970894185e-17im [:, :, 2, 1, 2, 2, 2, 2] = 0.0016527366591487175 - 0.023841031194236174im … 0.010312628448020795 + 0.012998677871361853im -0.0036061597495527942 + 0.016713154628187808im -0.003924789931435243 - 0.011643762773749256im [:, :, 1, 2, 2, 2, 2, 2] = 0.0016527366591487821 + 0.023841031194236157im … -0.0036061597495527734 - 0.01671315462818777im 0.010312628448020784 - 0.012998677871361802im -0.00392478993143509 + 0.01164376277374936im [:, :, 2, 2, 2, 2, 2, 2] = 0.013383999144139885 + 1.1493096071170012e-17im … -0.009141062532454922 + 0.0017191415925170025im -0.009141062532454872 - 0.0017191415925170079im 0.0066983992109173425 + 4.317814564495039e-17im get_trace(ρ) = 0.9999999999999993 - 4.3814249173261534e-17im get_trace_moment(ρ, 2) = 0.7894654718056293 get_trace_moment(ρ, 3) = 0.6841982077084449 + 1.249000902703301e-16im purity_1 = 0.4928165483139682 purity_2 = 0.49281654831396765 trrho3_1 = 0.26975440763265895 trrho3_2 = 0.26975440763265823 + 2.321276851291465e-16im purity = 0.7894654718056293 p2 = 0.7894654718056293 trrho3 = 0.6841982077084449 + 1.249000902703301e-16im p3 = 0.18646397337802967 + 1.48318857196017e-16im Cost function 1.1430207640392707 Cost function -0.05673754569578704 Cost function -0.05673754569578701 Cost function -0.056737545695787026 Cost function -0.056737545695787 Cost function -0.056737545695787026 Cost function -0.056737545695787005 norm(ψ_sum_approx - ψ_sum) = 1.6199010924212654e-16 59.146863 seconds (38.85 M allocations: 2.068 GiB, 1.20% gc time, 99.56% compilation time) Running test_trace_moments.jl 12.242756 seconds (10.19 M allocations: 525.767 MiB, 1.72% gc time, 99.94% compilation time) 0.000499 seconds (838 allocations: 192.805 KiB) 2.564324 seconds (680.09 k allocations: 36.667 MiB, 99.81% compilation time) dense_moments_4_batches = 1.0000000000000004 dense_moments_nu_batches = 1.0000000000000004 factorized_moments = 1.0000000000000004 0.893351 seconds (468.44 k allocations: 26.498 MiB, 99.26% compilation time) 0.001696 seconds (4.99 k allocations: 1.799 MiB) 0.719736 seconds (517.78 k allocations: 44.814 MiB, 95.79% compilation time) dense_moments_4_batches = 0.0876932709438434 dense_moments_nu_batches = -0.20005874855963518 factorized_moments = -0.2000587485596347 0.342305 seconds (176.23 k allocations: 12.341 MiB, 97.49% compilation time) 0.007122 seconds (19.77 k allocations: 8.530 MiB) 1.083966 seconds (5.49 M allocations: 857.427 MiB, 20.22% gc time, 8.26% compilation time) dense_moments_4_batches = -0.9173711640009515 dense_moments_nu_batches = -0.2557266423313433 factorized_moments = -0.2557266423313438 0.357006 seconds (189.59 k allocations: 14.232 MiB, 97.12% compilation time) 0.048098 seconds (49.23 k allocations: 23.338 MiB, 62.09% gc time) 14.465386 seconds (92.19 M allocations: 14.528 GiB, 15.56% gc time, 0.63% compilation time) dense_moments_4_batches = -4.440514679315254 dense_moments_nu_batches = -8.356812040391095 factorized_moments = -8.356812040391103 34.047692 seconds (110.38 M allocations: 16.070 GiB, 7.96% gc time, 54.24% compilation time) Test Summary: | Pass Total Time RandomMeas.jl | 183 183 16m04.7s Testing RandomMeas tests passed Testing completed after 1022.67s PkgEval succeeded after 1406.89s