Package evaluation to test JosephsonCircuits on Julia 1.13.0-alpha2.30 (5abf758bb1*) started at 2026-01-09T10:28:41.064 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 10.18s ################################################################################ # Installation # Installing JosephsonCircuits... Resolving package versions... Installed CommonWorldInvalidations ──── v1.0.0 Installed CompositionsBase ──────────── v0.1.2 Installed MacroTools ────────────────── v0.5.16 Installed Adapt ─────────────────────── v4.4.0 Installed Bijections ────────────────── v0.2.2 Installed TermInterface ─────────────── v2.0.0 Installed AbstractTrees ─────────────── v0.4.5 Installed DataStructures ────────────── v0.19.3 Installed MKL_jll ───────────────────── v2025.2.0+0 Installed ConstructionBase ──────────── v1.6.0 Installed RuntimeGeneratedFunctions ─── v0.5.16 Installed oneTBB_jll ────────────────── v2022.0.0+1 Installed ArnoldiMethod ─────────────── v0.4.0 Installed SymbolicIndexingInterface ─── v0.3.46 Installed SymbolicUtils ─────────────── v4.10.1 Installed ExprTools ─────────────────── v0.1.10 Installed OrderedCollections ────────── v1.8.1 Installed DynamicPolynomials ────────── v0.6.4 Installed ArrayInterface ────────────── v7.22.0 Installed AxisKeys ──────────────────── v0.2.17 Installed IteratorInterfaceExtensions ─ v1.0.0 Installed Combinatorics ─────────────── v1.0.2 Installed RecipesBase ───────────────── v1.3.4 Installed DataAPI ───────────────────── v1.16.0 Installed Statistics ────────────────── v1.11.1 Installed DomainSets ────────────────── v0.7.16 Installed JosephsonCircuits ─────────── v0.4.20 Installed PrecompileTools ───────────── v1.3.3 Installed IntelOpenMP_jll ───────────── v2025.2.0+0 Installed DataValueInterfaces ───────── v1.0.0 Installed ExproniconLite ────────────── v0.10.14 Installed ReadOnlyArrays ────────────── v0.2.0 Installed TaskLocalValues ───────────── v0.1.3 Installed StaticArrays ──────────────── v1.9.16 Installed StaticArraysCore ──────────── v1.4.4 Installed AbstractPlutoDingetjes ────── v1.3.2 Installed IrrationalConstants ───────── v0.2.6 Installed MultivariatePolynomials ───── v0.5.13 Installed NamedDims ─────────────────── v1.2.3 Installed IntegerMathUtils ──────────── v0.1.3 Installed NaNMath ───────────────────── v1.1.3 Installed SciMLPublic ───────────────── v1.0.1 Installed Requires ──────────────────── v1.3.1 Installed OpenSpecFun_jll ───────────── v0.5.6+0 Installed AbstractFFTs ──────────────── v1.5.0 Installed SimpleTraits ──────────────── v0.9.5 Installed LogExpFunctions ───────────── v0.3.29 Installed WeakCacheSets ─────────────── v0.1.0 Installed Symbolics ─────────────────── v7.5.0 Installed EnumX ─────────────────────── v1.0.5 Installed DiffRules ─────────────────── v1.15.1 Installed Tables ────────────────────── v1.12.1 Installed InverseFunctions ──────────── v0.1.17 Installed Reexport ──────────────────── v1.2.2 Installed SpecialFunctions ──────────── v2.6.1 Installed IntervalSets ──────────────── v0.7.13 Installed Jieko ─────────────────────── v0.2.1 Installed CompositeTypes ────────────── v0.1.4 Installed Setfield ──────────────────── v1.1.2 Installed FFTW ──────────────────────── v1.10.0 Installed FFTW_jll ──────────────────── v3.3.11+0 Installed JLLWrappers ───────────────── v1.7.1 Installed MutableArithmetics ────────── v1.6.7 Installed Preferences ───────────────── v1.5.1 Installed Moshi ─────────────────────── v0.3.7 Installed TableTraits ───────────────── v1.0.1 Installed Primes ────────────────────── v0.5.7 Installed ADTypes ───────────────────── v1.21.0 Installed DocStringExtensions ───────── v0.9.5 Installed SymbolicLimits ────────────── v0.2.4 Installed KLU ───────────────────────── v0.6.0 Installed Touchstone ────────────────── v0.1.1 Installed Inflate ───────────────────── v0.1.5 Installed Graphs ────────────────────── v1.13.3 Installed Accessors ─────────────────── v0.1.43 Installing 2 artifacts Installed artifact OpenSpecFun 194.9 KiB Installed artifact FFTW 2.2 MiB Updating `~/.julia/environments/v1.13/Project.toml` [23a5dba6] + JosephsonCircuits v0.4.20 Updating `~/.julia/environments/v1.13/Manifest.toml` [47edcb42] + ADTypes v1.21.0 [621f4979] + AbstractFFTs v1.5.0 [6e696c72] + AbstractPlutoDingetjes v1.3.2 [1520ce14] + AbstractTrees v0.4.5 [7d9f7c33] + Accessors v0.1.43 [79e6a3ab] + Adapt v4.4.0 [ec485272] + ArnoldiMethod v0.4.0 [4fba245c] + ArrayInterface v7.22.0 [94b1ba4f] + AxisKeys v0.2.17 [e2ed5e7c] + Bijections v0.2.2 ⌅ [861a8166] + Combinatorics v1.0.2 [f70d9fcc] + CommonWorldInvalidations v1.0.0 [b152e2b5] + CompositeTypes v0.1.4 [a33af91c] + CompositionsBase v0.1.2 [187b0558] + ConstructionBase v1.6.0 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.3 [e2d170a0] + DataValueInterfaces v1.0.0 [b552c78f] + DiffRules v1.15.1 [ffbed154] + DocStringExtensions v0.9.5 [5b8099bc] + DomainSets v0.7.16 [7c1d4256] + DynamicPolynomials v0.6.4 [4e289a0a] + EnumX v1.0.5 [e2ba6199] + ExprTools v0.1.10 [55351af7] + ExproniconLite v0.10.14 [7a1cc6ca] + FFTW v1.10.0 [86223c79] + Graphs v1.13.3 [d25df0c9] + Inflate v0.1.5 [18e54dd8] + IntegerMathUtils v0.1.3 [8197267c] + IntervalSets v0.7.13 [3587e190] + InverseFunctions v0.1.17 [92d709cd] + IrrationalConstants v0.2.6 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.1 [ae98c720] + Jieko v0.2.1 [23a5dba6] + JosephsonCircuits v0.4.20 [ef3ab10e] + KLU v0.6.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.16 [2e0e35c7] + Moshi v0.3.7 [102ac46a] + MultivariatePolynomials v0.5.13 [d8a4904e] + MutableArithmetics v1.6.7 [77ba4419] + NaNMath v1.1.3 [356022a1] + NamedDims v1.2.3 [bac558e1] + OrderedCollections v1.8.1 [aea7be01] + PrecompileTools v1.3.3 [21216c6a] + Preferences v1.5.1 [27ebfcd6] + Primes v0.5.7 [988b38a3] + ReadOnlyArrays v0.2.0 [3cdcf5f2] + RecipesBase v1.3.4 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [7e49a35a] + RuntimeGeneratedFunctions v0.5.16 [431bcebd] + SciMLPublic v1.0.1 [efcf1570] + Setfield v1.1.2 [699a6c99] + SimpleTraits v0.9.5 [276daf66] + SpecialFunctions v2.6.1 [90137ffa] + StaticArrays v1.9.16 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [2efcf032] + SymbolicIndexingInterface v0.3.46 ⌅ [19f23fe9] + SymbolicLimits v0.2.4 [d1185830] + SymbolicUtils v4.10.1 [0c5d862f] + Symbolics v7.5.0 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [ed4db957] + TaskLocalValues v0.1.3 [8ea1fca8] + TermInterface v2.0.0 [af4736ee] + Touchstone v0.1.1 [d30d5f5c] + WeakCacheSets v0.1.0 [f5851436] + FFTW_jll v3.3.11+0 [1d5cc7b8] + IntelOpenMP_jll v2025.2.0+0 [856f044c] + MKL_jll v2025.2.0+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [1317d2d5] + oneTBB_jll v2022.0.0+1 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates 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 [4af54fe1] + LazyArtifacts v1.11.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 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.13.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.0.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.11.0 [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.12.2 [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.46.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.67.1+0 [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 9.68s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 5011.1 ms ✓ TestEnv 1 dependency successfully precompiled in 5 seconds. 27 already precompiled. Precompiling package dependencies... Precompilation completed after 852.15s ################################################################################ # Testing # Testing JosephsonCircuits Status `/tmp/jl_heoQy2/Project.toml` [4c88cf16] Aqua v0.8.14 [94b1ba4f] AxisKeys v0.2.17 [864edb3b] DataStructures v0.19.3 [e30172f5] Documenter v1.16.1 [7a1cc6ca] FFTW v1.10.0 [86223c79] Graphs v1.13.3 [23a5dba6] JosephsonCircuits v0.4.20 [ef3ab10e] KLU v0.6.0 [bac558e1] OrderedCollections v1.8.1 [aea7be01] PrecompileTools v1.3.3 [276daf66] SpecialFunctions v2.6.1 [90137ffa] StaticArrays v1.9.16 [10745b16] Statistics v1.11.1 [d1185830] SymbolicUtils v4.10.1 [0c5d862f] Symbolics v7.5.0 [af4736ee] Touchstone v0.1.1 [05e36573] XicTools_jll v4.3.19+0 [37e2e46d] LinearAlgebra v1.13.0 [de0858da] Printf v1.11.0 [2f01184e] SparseArrays v1.13.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 Status `/tmp/jl_heoQy2/Manifest.toml` [47edcb42] ADTypes v1.21.0 [a4c015fc] ANSIColoredPrinters v0.0.1 [621f4979] AbstractFFTs v1.5.0 [6e696c72] AbstractPlutoDingetjes v1.3.2 [1520ce14] AbstractTrees v0.4.5 [7d9f7c33] Accessors v0.1.43 [79e6a3ab] Adapt v4.4.0 [4c88cf16] Aqua v0.8.14 [ec485272] ArnoldiMethod v0.4.0 [4fba245c] ArrayInterface v7.22.0 [94b1ba4f] AxisKeys v0.2.17 [e2ed5e7c] Bijections v0.2.2 [944b1d66] CodecZlib v0.7.8 ⌅ [861a8166] Combinatorics v1.0.2 [f70d9fcc] CommonWorldInvalidations v1.0.0 [34da2185] Compat v4.18.1 [b152e2b5] CompositeTypes v0.1.4 [a33af91c] CompositionsBase v0.1.2 [187b0558] ConstructionBase v1.6.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.3 [e2d170a0] DataValueInterfaces v1.0.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.5 [e30172f5] Documenter v1.16.1 [5b8099bc] DomainSets v0.7.16 [7c1d4256] DynamicPolynomials v0.6.4 [4e289a0a] EnumX v1.0.5 [e2ba6199] ExprTools v0.1.10 [55351af7] ExproniconLite v0.10.14 [7a1cc6ca] FFTW v1.10.0 [d7ba0133] Git v1.5.0 [86223c79] Graphs v1.13.3 [b5f81e59] IOCapture v1.0.0 [d25df0c9] Inflate v0.1.5 [18e54dd8] IntegerMathUtils v0.1.3 [8197267c] IntervalSets v0.7.13 [3587e190] InverseFunctions v0.1.17 [92d709cd] IrrationalConstants v0.2.6 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.3.0 [ae98c720] Jieko v0.2.1 [23a5dba6] JosephsonCircuits v0.4.20 [ef3ab10e] KLU v0.6.0 [0e77f7df] LazilyInitializedFields v1.3.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [d0879d2d] MarkdownAST v0.1.2 [2e0e35c7] Moshi v0.3.7 [102ac46a] MultivariatePolynomials v0.5.13 [d8a4904e] MutableArithmetics v1.6.7 [77ba4419] NaNMath v1.1.3 [356022a1] NamedDims v1.2.3 [bac558e1] OrderedCollections v1.8.1 [69de0a69] Parsers v2.8.3 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.1 [27ebfcd6] Primes v0.5.7 [988b38a3] ReadOnlyArrays v0.2.0 [3cdcf5f2] RecipesBase v1.3.4 [189a3867] Reexport v1.2.2 [2792f1a3] RegistryInstances v0.1.0 [ae029012] Requires v1.3.1 [7e49a35a] RuntimeGeneratedFunctions v0.5.16 [431bcebd] SciMLPublic v1.0.1 [efcf1570] Setfield v1.1.2 [699a6c99] SimpleTraits v0.9.5 [276daf66] SpecialFunctions v2.6.1 [90137ffa] StaticArrays v1.9.16 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [ec057cc2] StructUtils v2.6.1 [2efcf032] SymbolicIndexingInterface v0.3.46 ⌅ [19f23fe9] SymbolicLimits v0.2.4 [d1185830] SymbolicUtils v4.10.1 [0c5d862f] Symbolics v7.5.0 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [ed4db957] TaskLocalValues v0.1.3 [8ea1fca8] TermInterface v2.0.0 [af4736ee] Touchstone v0.1.1 [3bb67fe8] TranscodingStreams v0.11.3 [d30d5f5c] WeakCacheSets v0.1.0 [2e619515] Expat_jll v2.7.3+0 [f5851436] FFTW_jll v3.3.11+0 ⌅ [1b77fbbe] GSL_jll v2.7.2+0 [020c3dae] Git_LFS_jll v3.7.0+0 [f8c6e375] Git_jll v2.52.0+0 [1d5cc7b8] IntelOpenMP_jll v2025.2.0+0 [aacddb02] JpegTurbo_jll v3.1.4+0 [88015f11] LERC_jll v4.0.1+0 [94ce4f54] Libiconv_jll v1.18.0+0 [89763e89] Libtiff_jll v4.7.2+0 [856f044c] MKL_jll v2025.2.0+0 [9bd350c2] OpenSSH_jll v10.2.1+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [ffd25f8a] XZ_jll v5.8.2+0 [05e36573] XicTools_jll v4.3.19+0 [b53b4c65] libpng_jll v1.6.53+0 [1317d2d5] oneTBB_jll v2022.0.0+1 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates 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 [4af54fe1] LazyArtifacts v1.11.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 [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 [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.12.2 [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.46.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.67.1+0 [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... [ Info: SetupBuildDirectory: setting up build directory. [ Info: Doctest: running doctests. ┌ Error: doctest failure in ../src/fftutils.jl:357-366 │ │ ```jldoctest │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),Tuple{Int64}[(2,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),Tuple{Int64}[(0,),(1,),(2,),(3,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[], Tuple{Int64}[]) │ │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),Tuple{Int64}[]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),Tuple{Int64}[(2,)]) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2)], [(0,), (1,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2)], [(0,), (1,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:357 ┌ Error: doctest failure in ../src/fftutils.jl:357-366 │ │ ```jldoctest │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),Tuple{Int64}[(2,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),Tuple{Int64}[(0,),(1,),(2,),(3,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[], Tuple{Int64}[]) │ │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),Tuple{Int64}[]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),Tuple{Int64}[]) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3)], [(0,), (1,), (2,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3)], [(0,), (1,), (2,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:357 ┌ Error: doctest failure in ../src/fftutils.jl:413-422 │ │ ```jldoctest │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[CartesianIndex(1,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(2,), CartesianIndex(3,)], [(1,), (2,)]) │ │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[CartesianIndex(1,),CartesianIndex(2,),CartesianIndex(3,),CartesianIndex(4,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[], Tuple{Int64}[]) │ │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[CartesianIndex(1,)]) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(2), CartesianIndex(3)], [(1,), (2,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(2,), CartesianIndex(3,)], [(1,), (2,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(2,), CartesianIndex(3,)], CartesianIndex{1}[CartesianIndex(2), CartesianIndex(3)], [(1,), (2,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:413 ┌ Error: doctest failure in ../src/fftutils.jl:413-422 │ │ ```jldoctest │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[CartesianIndex(1,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(2,), CartesianIndex(3,)], [(1,), (2,)]) │ │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[CartesianIndex(1,),CartesianIndex(2,),CartesianIndex(3,),CartesianIndex(4,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[], Tuple{Int64}[]) │ │ julia> JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.removefreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[]) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3)], [(0,), (1,), (2,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3)], [(0,), (1,), (2,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:413 ┌ Error: doctest failure in ../src/fftutils.jl:219-250 │ │ ```jldoctest │ julia> JosephsonCircuits.removeconjfreqs(JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)])) │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> frequencies = JosephsonCircuits.Frequencies{2}((2,2), (3, 5), (4, 5), CartesianIndex{2}[CartesianIndex(1, 1), CartesianIndex(2, 1), CartesianIndex(3, 1), CartesianIndex(1, 2), CartesianIndex(2, 2), CartesianIndex(3, 2), CartesianIndex(1, 3), CartesianIndex(2, 3), CartesianIndex(3, 3), CartesianIndex(1, 4), CartesianIndex(2, 4), CartesianIndex(3, 4), CartesianIndex(1, 5), CartesianIndex(2, 5), CartesianIndex(3, 5)], [(0, 0), (1, 0), (2, 0), (0, 1), (1, 1), (2, 1), (0, 2), (1, 2), (2, 2), (0, -2), (1, -2), (2, -2), (0, -1), (1, -1), (2, -1)]);JosephsonCircuits.removeconjfreqs(frequencies).modes │ 11-element Vector{Tuple{Int64, Int64}}: │ (0, 0) │ (1, 0) │ (2, 0) │ (0, 1) │ (1, 1) │ (2, 1) │ (0, 2) │ (1, 2) │ (2, 2) │ (1, -2) │ (1, -1) │ │ julia> JosephsonCircuits.removeconjfreqs(JosephsonCircuits.calcfreqsrdft((2,2))).modes │ 11-element Vector{Tuple{Int64, Int64}}: │ (0, 0) │ (1, 0) │ (2, 0) │ (0, 1) │ (1, 1) │ (2, 1) │ (0, 2) │ (1, 2) │ (2, 2) │ (1, -2) │ (1, -1) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.removeconjfreqs(JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)])) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2)], [(0,), (1,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2)], [(0,), (1,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:219 ┌ Error: doctest failure in ../src/graphproc.jl:30-44 │ │ ```jldoctest │ @variables Ipump Rleft L1 K1 L2 C2 │ psc = JosephsonCircuits.ParsedSortedCircuit( │ [2 2 2 2 0 3 3; 1 1 1 1 0 1 1], │ ["0", "1", "2"], │ ["L1", "L2"], │ ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], │ [:P, :I, :R, :L, :K, :L, :C], │ Num[1, Ipump, Rleft, L1, K1, L2, C2], │ Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), │ 3) │ cg = JosephsonCircuits.calccircuitgraph(psc) │ # output │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L1 K1 L2 C2 │ psc = JosephsonCircuits.ParsedSortedCircuit( │ [2 2 2 2 0 3 3; 1 1 1 1 0 1 1], │ ["0", "1", "2"], │ ["L1", "L2"], │ ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], │ [:P, :I, :R, :L, :K, :L, :C], │ Num[1, Ipump, Rleft, L1, K1, L2, C2], │ Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), │ 3) │ cg = JosephsonCircuits.calccircuitgraph(psc) │ │ Evaluated output: │ │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (2, 1) => 1, (1, 3) => 2, (3, 1) => 2), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ Expected output: │ │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, (2, 1) => 2, 1, (1, 3) => 2, (2, (3, 1) => 1), 2), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:30 ┌ Error: doctest failure in ../src/graphproc.jl:45-58 │ │ ```jldoctest │ @variables Ipump Rleft L Lj Cj │ circuit = Tuple{String,String,String,Num}[] │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","2",L)) │ push!(circuit,("Lj1","2","0",Lj)) │ push!(circuit,("C2","2","0",Cj)) │ psc = JosephsonCircuits.parsesortcircuit(circuit) │ cg = JosephsonCircuits.calccircuitgraph(psc) │ # output │ JosephsonCircuits.CircuitGraph(Dict((3, 2) => 3, (1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1, (2, 3) => 3), sparse([1, 3, 2, 3], [1, 1, 2, 2], [1, -1, 1, 1], 3, 2), [(1, 2), (1, 3)], [(3, 2)], [(1, 2), (1, 3), (2, 3)], [[1, 2, 3]], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(3, [[2, 3], [1, 3], [1, 2]]), 3) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L Lj Cj │ circuit = Tuple{String,String,String,Num}[] │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","2",L)) │ push!(circuit,("Lj1","2","0",Lj)) │ push!(circuit,("C2","2","0",Cj)) │ psc = JosephsonCircuits.parsesortcircuit(circuit) │ cg = JosephsonCircuits.calccircuitgraph(psc) │ │ Evaluated output: │ │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (2, 1) => 1, (1, 3) => 2, (3, 2) => 3, (2, 3) => 3, (3, 1) => 2), sparse([1, 3, 2, 3], [1, 1, 2, 2], [1, -1, 1, 1], 3, 2), [(1, 2), (1, 3)], [(3, 2)], [(1, 2), (1, 3), (2, 3)], [[1, 2, 3]], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(3, [[2, 3], [1, 3], [1, 2]]), 3) │ │ Expected output: │ │ JosephsonCircuits.CircuitGraph(Dict((3, 2) => 3, (1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1, (2, 3) => 3), sparse([1, 3, 2, 3], [1, 1, 2, 2], [1, -1, 1, 1], 3, 2), [(1, 2), (1, 3)], [(3, 2)], [(1, 2), (1, 3), (2, 3)], [[1, 2, 3]], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(3, [[2, 3], [1, 3], [1, 2]]), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.CircuitGraph(Dict((3, 2) => 3, (1, JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, (2, 1) => 2, 1, (1, 3) => 2, (2, 1) (3, 2) => 1, 3, (2, 3) => 3), 3, (3, 1) => 2), sparse([1, 3, 2, 3], [1, 1, 2, 2], [1, -1, 1, 1], 3, 2), [(1, 2), (1, 3)], [(3, 2)], [(1, 2), (1, 3), (2, 3)], [[1, 2, 3]], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(3, [[2, 3], [1, 3], [1, 2]]), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:45 ┌ Error: doctest failure in ../src/graphproc.jl:227-236 │ │ ```jldoctest │ julia> JosephsonCircuits.edge2index(JosephsonCircuits.Graphs.path_digraph(4)) │ Dict{Tuple{Int64, Int64}, Int64} with 6 entries: │ (3, 2) => 2 │ (1, 2) => 1 │ (2, 1) => 1 │ (3, 4) => 3 │ (4, 3) => 3 │ (2, 3) => 2 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.edge2index(JosephsonCircuits.Graphs.path_digraph(4)) │ │ Evaluated output: │ │ Dict{Tuple{Int64, Int64}, Int64} with 6 entries: │ (1, 2) => 1 │ (2, 1) => 1 │ (3, 2) => 2 │ (3, 4) => 3 │ (2, 3) => 2 │ (4, 3) => 3 │ │ Expected output: │ │ Dict{Tuple{Int64, Int64}, Int64} with 6 entries: │ (3, 2) => 2 │ (1, 2) => 1 │ (2, 1) => 1 │ (3, 4) => 3 │ (4, 3) => 3 │ (2, 3) => 2 │ │ diff = │ Warning: Diff output requires color. │ Dict{Tuple{Int64, Int64}, Int64} with 6 entries: │ (3, 2) => 2 │ (1, 2) => 1 │ (2, 1) => 1 │ (3, 2) => 2 │ (3, 4) => 3 │ (4, (2, 3) => 3 │ (2, 2 │ (4, 3) => 23 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:227 ┌ Error: doctest failure in ../src/graphproc.jl:80-89 │ │ ```jldoctest │ julia> JosephsonCircuits.calcgraphs([(2, 1), (2, 1), (2, 1), (3, 1)], 3) │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ julia> JosephsonCircuits.calcgraphs([(4, 3), (3, 6), (5, 3), (3, 7), (2, 4), (6, 8), (2, 5), (8, 7), (2, 8)], 8) │ JosephsonCircuits.CircuitGraph(Dict((6, 8) => 8, (2, 5) => 2, (3, 7) => 7, (6, 3) => 6, (7, 8) => 9, (3, 4) => 4, (7, 3) => 7, (2, 8) => 3, (4, 2) => 1, (8, 6) => 8…), sparse([1, 2, 3, 4, 5, 6, 7, 1, 4, 2, 5, 6, 8, 7, 9, 3, 8, 9], [1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7], [-1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1], 9, 7), [(2, 4), (2, 5), (2, 8), (3, 4), (3, 6), (3, 7)], [(5, 3), (8, 6), (8, 7)], [(2, 4), (2, 5), (2, 8), (3, 4), (3, 5), (3, 6), (3, 7), (6, 8), (7, 8)], [[2, 4, 3, 5], [2, 4, 3, 6, 8], [2, 4, 3, 7, 8]], [1], Graphs.SimpleGraphs.SimpleGraph{Int64}(9, [Int64[], [4, 5, 8], [4, 5, 6, 7], [2, 3], [2, 3], [3, 8], [3, 8], [2, 6, 7]]), 9) │ │ julia> JosephsonCircuits.calcgraphs([(2, 1), (2, 1), (3, 1)],4) │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 3), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcgraphs([(2, 1), (2, 1), (2, 1), (3, 1)], 3) │ │ Evaluated output: │ │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (2, 1) => 1, (1, 3) => 2, (3, 1) => 2), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ Expected output: │ │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, (2, 1) => 2, 1, (1, 3) => 2, (2, (3, 1) => 1), 2), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:80 ┌ Error: doctest failure in ../src/graphproc.jl:80-89 │ │ ```jldoctest │ julia> JosephsonCircuits.calcgraphs([(2, 1), (2, 1), (2, 1), (3, 1)], 3) │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ julia> JosephsonCircuits.calcgraphs([(4, 3), (3, 6), (5, 3), (3, 7), (2, 4), (6, 8), (2, 5), (8, 7), (2, 8)], 8) │ JosephsonCircuits.CircuitGraph(Dict((6, 8) => 8, (2, 5) => 2, (3, 7) => 7, (6, 3) => 6, (7, 8) => 9, (3, 4) => 4, (7, 3) => 7, (2, 8) => 3, (4, 2) => 1, (8, 6) => 8…), sparse([1, 2, 3, 4, 5, 6, 7, 1, 4, 2, 5, 6, 8, 7, 9, 3, 8, 9], [1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7], [-1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1], 9, 7), [(2, 4), (2, 5), (2, 8), (3, 4), (3, 6), (3, 7)], [(5, 3), (8, 6), (8, 7)], [(2, 4), (2, 5), (2, 8), (3, 4), (3, 5), (3, 6), (3, 7), (6, 8), (7, 8)], [[2, 4, 3, 5], [2, 4, 3, 6, 8], [2, 4, 3, 7, 8]], [1], Graphs.SimpleGraphs.SimpleGraph{Int64}(9, [Int64[], [4, 5, 8], [4, 5, 6, 7], [2, 3], [2, 3], [3, 8], [3, 8], [2, 6, 7]]), 9) │ │ julia> JosephsonCircuits.calcgraphs([(2, 1), (2, 1), (3, 1)],4) │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 3), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcgraphs([(4, 3), (3, 6), (5, 3), (3, 7), (2, 4), (6, 8), (2, 5), (8, 7), (2, 8)], 8) │ │ Evaluated output: │ │ JosephsonCircuits.CircuitGraph(Dict((6, 8) => 8, (7, 8) => 9, (2, 5) => 2, (3, 6) => 6, (8, 6) => 8, (5, 2) => 2, (2, 8) => 3, (6, 3) => 6, (3, 5) => 5, (3, 4) => 4…), sparse([1, 2, 3, 4, 5, 6, 7, 1, 4, 2, 5, 6, 8, 7, 9, 3, 8, 9], [1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7], [-1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1], 9, 7), [(2, 4), (2, 5), (2, 8), (3, 4), (3, 6), (3, 7)], [(5, 3), (8, 6), (8, 7)], [(2, 4), (2, 5), (2, 8), (3, 4), (3, 5), (3, 6), (3, 7), (6, 8), (7, 8)], [[2, 4, 3, 5], [2, 4, 3, 6, 8], [2, 4, 3, 7, 8]], [1], Graphs.SimpleGraphs.SimpleGraph{Int64}(9, [Int64[], [4, 5, 8], [4, 5, 6, 7], [2, 3], [2, 3], [3, 8], [3, 8], [2, 6, 7]]), 9) │ │ Expected output: │ │ JosephsonCircuits.CircuitGraph(Dict((6, 8) => 8, (2, 5) => 2, (3, 7) => 7, (6, 3) => 6, (7, 8) => 9, (3, 4) => 4, (7, 3) => 7, (2, 8) => 3, (4, 2) => 1, (8, 6) => 8…), sparse([1, 2, 3, 4, 5, 6, 7, 1, 4, 2, 5, 6, 8, 7, 9, 3, 8, 9], [1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7], [-1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1], 9, 7), [(2, 4), (2, 5), (2, 8), (3, 4), (3, 6), (3, 7)], [(5, 3), (8, 6), (8, 7)], [(2, 4), (2, 5), (2, 8), (3, 4), (3, 5), (3, 6), (3, 7), (6, 8), (7, 8)], [[2, 4, 3, 5], [2, 4, 3, 6, 8], [2, 4, 3, 7, 8]], [1], Graphs.SimpleGraphs.SimpleGraph{Int64}(9, [Int64[], [4, 5, 8], [4, 5, 6, 7], [2, 3], [2, 3], [3, 8], [3, 8], [2, 6, 7]]), 9) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.CircuitGraph(Dict((6, 8) => 8, (7, 8) => 9, (2, 5) => 2, (3, 7) => 7, (6, 3) 6) => 6, (7, 8) => 9, (3, 4) (8, 6) => 4, (7, 3) 8, (5, 2) => 7, 2, (2, 8) => 3, (4, 2) (6, 3) => 1, (8, 6) 6, (3, 5) => 8…), 5, (3, 4) => 4…), sparse([1, 2, 3, 4, 5, 6, 7, 1, 4, 2, 5, 6, 8, 7, 9, 3, 8, 9], [1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7], [-1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1], 9, 7), [(2, 4), (2, 5), (2, 8), (3, 4), (3, 6), (3, 7)], [(5, 3), (8, 6), (8, 7)], [(2, 4), (2, 5), (2, 8), (3, 4), (3, 5), (3, 6), (3, 7), (6, 8), (7, 8)], [[2, 4, 3, 5], [2, 4, 3, 6, 8], [2, 4, 3, 7, 8]], [1], Graphs.SimpleGraphs.SimpleGraph{Int64}(9, [Int64[], [4, 5, 8], [4, 5, 6, 7], [2, 3], [2, 3], [3, 8], [3, 8], [2, 6, 7]]), 9) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:80 ┌ Error: doctest failure in ../src/graphproc.jl:80-89 │ │ ```jldoctest │ julia> JosephsonCircuits.calcgraphs([(2, 1), (2, 1), (2, 1), (3, 1)], 3) │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 2), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ julia> JosephsonCircuits.calcgraphs([(4, 3), (3, 6), (5, 3), (3, 7), (2, 4), (6, 8), (2, 5), (8, 7), (2, 8)], 8) │ JosephsonCircuits.CircuitGraph(Dict((6, 8) => 8, (2, 5) => 2, (3, 7) => 7, (6, 3) => 6, (7, 8) => 9, (3, 4) => 4, (7, 3) => 7, (2, 8) => 3, (4, 2) => 1, (8, 6) => 8…), sparse([1, 2, 3, 4, 5, 6, 7, 1, 4, 2, 5, 6, 8, 7, 9, 3, 8, 9], [1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7], [-1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1], 9, 7), [(2, 4), (2, 5), (2, 8), (3, 4), (3, 6), (3, 7)], [(5, 3), (8, 6), (8, 7)], [(2, 4), (2, 5), (2, 8), (3, 4), (3, 5), (3, 6), (3, 7), (6, 8), (7, 8)], [[2, 4, 3, 5], [2, 4, 3, 6, 8], [2, 4, 3, 7, 8]], [1], Graphs.SimpleGraphs.SimpleGraph{Int64}(9, [Int64[], [4, 5, 8], [4, 5, 6, 7], [2, 3], [2, 3], [3, 8], [3, 8], [2, 6, 7]]), 9) │ │ julia> JosephsonCircuits.calcgraphs([(2, 1), (2, 1), (3, 1)],4) │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 3), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcgraphs([(2, 1), (2, 1), (3, 1)],4) │ │ Evaluated output: │ │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (2, 1) => 1, (1, 3) => 2, (3, 1) => 2), sparse([1, 2], [1, 2], [1, 1], 2, 3), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ Expected output: │ │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, 1) => 2, (1, 3) => 2, (2, 1) => 1), sparse([1, 2], [1, 2], [1, 1], 2, 3), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.CircuitGraph(Dict((1, 2) => 1, (3, (2, 1) => 2, 1, (1, 3) => 2, (2, (3, 1) => 1), 2), sparse([1, 2], [1, 2], [1, 1], 2, 3), [(1, 2), (1, 3)], Tuple{Int64, Int64}[], [(1, 2), (1, 3)], Vector{Int64}[], Int64[], Graphs.SimpleGraphs.SimpleGraph{Int64}(2, [[2, 3], [1], [1]]), 2) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:80 ┌ Error: doctest failure in ../src/fftutils.jl:101-113 │ │ ```jldoctest │ julia> JosephsonCircuits.calcfreqsrdft((1,)) │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((2,)) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,)) │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], [(0,), (1,), (2,), (3,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,3)) │ JosephsonCircuits.Frequencies{2}((3, 3), (4, 7), (6, 7), CartesianIndex{2}[CartesianIndex(1, 1), CartesianIndex(2, 1), CartesianIndex(3, 1), CartesianIndex(4, 1), CartesianIndex(1, 2), CartesianIndex(2, 2), CartesianIndex(3, 2), CartesianIndex(4, 2), CartesianIndex(1, 3), CartesianIndex(2, 3) … CartesianIndex(3, 5), CartesianIndex(4, 5), CartesianIndex(1, 6), CartesianIndex(2, 6), CartesianIndex(3, 6), CartesianIndex(4, 6), CartesianIndex(1, 7), CartesianIndex(2, 7), CartesianIndex(3, 7), CartesianIndex(4, 7)], [(0, 0), (1, 0), (2, 0), (3, 0), (0, 1), (1, 1), (2, 1), (3, 1), (0, 2), (1, 2) … (2, -3), (3, -3), (0, -2), (1, -2), (2, -2), (3, -2), (0, -1), (1, -1), (2, -1), (3, -1)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcfreqsrdft((1,)) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2)], [(0,), (1,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2)], [(0,), (1,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:101 ┌ Error: doctest failure in ../src/fftutils.jl:101-113 │ │ ```jldoctest │ julia> JosephsonCircuits.calcfreqsrdft((1,)) │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((2,)) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,)) │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], [(0,), (1,), (2,), (3,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,3)) │ JosephsonCircuits.Frequencies{2}((3, 3), (4, 7), (6, 7), CartesianIndex{2}[CartesianIndex(1, 1), CartesianIndex(2, 1), CartesianIndex(3, 1), CartesianIndex(4, 1), CartesianIndex(1, 2), CartesianIndex(2, 2), CartesianIndex(3, 2), CartesianIndex(4, 2), CartesianIndex(1, 3), CartesianIndex(2, 3) … CartesianIndex(3, 5), CartesianIndex(4, 5), CartesianIndex(1, 6), CartesianIndex(2, 6), CartesianIndex(3, 6), CartesianIndex(4, 6), CartesianIndex(1, 7), CartesianIndex(2, 7), CartesianIndex(3, 7), CartesianIndex(4, 7)], [(0, 0), (1, 0), (2, 0), (3, 0), (0, 1), (1, 1), (2, 1), (3, 1), (0, 2), (1, 2) … (2, -3), (3, -3), (0, -2), (1, -2), (2, -2), (3, -2), (0, -1), (1, -1), (2, -1), (3, -1)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcfreqsrdft((2,)) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3)], [(0,), (1,), (2,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3)], [(0,), (1,), (2,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:101 ┌ Error: doctest failure in ../src/fftutils.jl:101-113 │ │ ```jldoctest │ julia> JosephsonCircuits.calcfreqsrdft((1,)) │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((2,)) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,)) │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], [(0,), (1,), (2,), (3,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,3)) │ JosephsonCircuits.Frequencies{2}((3, 3), (4, 7), (6, 7), CartesianIndex{2}[CartesianIndex(1, 1), CartesianIndex(2, 1), CartesianIndex(3, 1), CartesianIndex(4, 1), CartesianIndex(1, 2), CartesianIndex(2, 2), CartesianIndex(3, 2), CartesianIndex(4, 2), CartesianIndex(1, 3), CartesianIndex(2, 3) … CartesianIndex(3, 5), CartesianIndex(4, 5), CartesianIndex(1, 6), CartesianIndex(2, 6), CartesianIndex(3, 6), CartesianIndex(4, 6), CartesianIndex(1, 7), CartesianIndex(2, 7), CartesianIndex(3, 7), CartesianIndex(4, 7)], [(0, 0), (1, 0), (2, 0), (3, 0), (0, 1), (1, 1), (2, 1), (3, 1), (0, 2), (1, 2) … (2, -3), (3, -3), (0, -2), (1, -2), (2, -2), (3, -2), (0, -1), (1, -1), (2, -1), (3, -1)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcfreqsrdft((3,)) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3), CartesianIndex(4)], [(0,), (1,), (2,), (3,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], [(0,), (1,), (2,), (3,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3), CartesianIndex(4)], [(0,), (1,), (2,), (3,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:101 ┌ Error: doctest failure in ../src/fftutils.jl:311-317 │ │ ```jldoctest │ julia> JosephsonCircuits.keepfreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[], Tuple{Int64}[]) │ │ julia> JosephsonCircuits.keepfreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[CartesianIndex(1,)]) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,)], [(0,)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.keepfreqs(JosephsonCircuits.calcfreqsrdft((2,)),CartesianIndex{1}[CartesianIndex(1,)]) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1)], [(0,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,)], [(0,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,)], CartesianIndex{1}[CartesianIndex(1)], [(0,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:311 ┌ Error: doctest failure in ../src/spiceraw.jl:34-37 │ │ ```jldoctest │ julia> JosephsonCircuits.SpiceRaw{Matrix{ComplexF64}}(JosephsonCircuits.SpiceRawHeader("CKT1", "Thu Dec 29 01:29:27 2022", "A.C. Small signal analysis", "complex", 4, 3, "version 4.3.14", ""), Dict("V" => ["v(1)", "v(2)", "v(3)"], "Hz" => ["frequency"]), Dict{String, Matrix{ComplexF64}}("V" => [48.87562301047733 - 7.413126995337487im 49.97131616467212 + 1.1949290155299537im 49.02611690128596 - 6.90980805243651im; -10.116167243319213 + 1.534380793728424im 57.578470543293086 + 1.3775359827006193im 12.368446655904192 - 1.743197747303436im; 0.0 + 0.0im 0.0 + 0.0im 0.0 + 0.0im], "Hz" => [4.0e9 + 0.0im 5.0e9 + 0.0im 6.0e9 + 0.0im])) │ JosephsonCircuits.SpiceRaw{Matrix{ComplexF64}}(JosephsonCircuits.SpiceRawHeader("CKT1", "Thu Dec 29 01:29:27 2022", "A.C. Small signal analysis", "complex", 4, 3, "version 4.3.14", ""), Dict("V" => ["v(1)", "v(2)", "v(3)"], "Hz" => ["frequency"]), Dict{String, Matrix{ComplexF64}}("V" => [48.87562301047733 - 7.413126995337487im 49.97131616467212 + 1.1949290155299537im 49.02611690128596 - 6.90980805243651im; -10.116167243319213 + 1.534380793728424im 57.578470543293086 + 1.3775359827006193im 12.368446655904192 - 1.743197747303436im; 0.0 + 0.0im 0.0 + 0.0im 0.0 + 0.0im], "Hz" => [4.0e9 + 0.0im 5.0e9 + 0.0im 6.0e9 + 0.0im])) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.SpiceRaw{Matrix{ComplexF64}}(JosephsonCircuits.SpiceRawHeader("CKT1", "Thu Dec 29 01:29:27 2022", "A.C. Small signal analysis", "complex", 4, 3, "version 4.3.14", ""), Dict("V" => ["v(1)", "v(2)", "v(3)"], "Hz" => ["frequency"]), Dict{String, Matrix{ComplexF64}}("V" => [48.87562301047733 - 7.413126995337487im 49.97131616467212 + 1.1949290155299537im 49.02611690128596 - 6.90980805243651im; -10.116167243319213 + 1.534380793728424im 57.578470543293086 + 1.3775359827006193im 12.368446655904192 - 1.743197747303436im; 0.0 + 0.0im 0.0 + 0.0im 0.0 + 0.0im], "Hz" => [4.0e9 + 0.0im 5.0e9 + 0.0im 6.0e9 + 0.0im])) │ │ Evaluated output: │ │ JosephsonCircuits.SpiceRaw{Matrix{ComplexF64}}(JosephsonCircuits.SpiceRawHeader("CKT1", "Thu Dec 29 01:29:27 2022", "A.C. Small signal analysis", "complex", 4, 3, "version 4.3.14", ""), Dict("Hz" => ["frequency"], "V" => ["v(1)", "v(2)", "v(3)"]), Dict{String, Matrix{ComplexF64}}("Hz" => [4.0e9 + 0.0im 5.0e9 + 0.0im 6.0e9 + 0.0im], "V" => [48.87562301047733 - 7.413126995337487im 49.97131616467212 + 1.1949290155299537im 49.02611690128596 - 6.90980805243651im; -10.116167243319213 + 1.534380793728424im 57.578470543293086 + 1.3775359827006193im 12.368446655904192 - 1.743197747303436im; 0.0 + 0.0im 0.0 + 0.0im 0.0 + 0.0im])) │ │ Expected output: │ │ JosephsonCircuits.SpiceRaw{Matrix{ComplexF64}}(JosephsonCircuits.SpiceRawHeader("CKT1", "Thu Dec 29 01:29:27 2022", "A.C. Small signal analysis", "complex", 4, 3, "version 4.3.14", ""), Dict("V" => ["v(1)", "v(2)", "v(3)"], "Hz" => ["frequency"]), Dict{String, Matrix{ComplexF64}}("V" => [48.87562301047733 - 7.413126995337487im 49.97131616467212 + 1.1949290155299537im 49.02611690128596 - 6.90980805243651im; -10.116167243319213 + 1.534380793728424im 57.578470543293086 + 1.3775359827006193im 12.368446655904192 - 1.743197747303436im; 0.0 + 0.0im 0.0 + 0.0im 0.0 + 0.0im], "Hz" => [4.0e9 + 0.0im 5.0e9 + 0.0im 6.0e9 + 0.0im])) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.SpiceRaw{Matrix{ComplexF64}}(JosephsonCircuits.SpiceRawHeader("CKT1", "Thu Dec 29 01:29:27 2022", "A.C. Small signal analysis", "complex", 4, 3, "version 4.3.14", ""), Dict("V" Dict("Hz" => ["frequency"], "V" => ["v(1)", "v(2)", "v(3)"], "Hz" => ["frequency"]), "v(3)"]), Dict{String, Matrix{ComplexF64}}("V" Matrix{ComplexF64}}("Hz" => [4.0e9 + 0.0im 5.0e9 + 0.0im 6.0e9 + 0.0im], "V" => [48.87562301047733 - 7.413126995337487im 49.97131616467212 + 1.1949290155299537im 49.02611690128596 - 6.90980805243651im; -10.116167243319213 + 1.534380793728424im 57.578470543293086 + 1.3775359827006193im 12.368446655904192 - 1.743197747303436im; 0.0 + 0.0im 0.0 + 0.0im 0.0 + 0.0im], "Hz" => [4.0e9 + 0.0im 5.0e9 + 0.0im 6.0e9 + 0.0im])) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/spiceraw.jl:34 ┌ Error: doctest failure in ../src/parseinput.jl:28-42 │ │ ```jldoctest │ @variables Ipump Rleft L1 K1 L2 C2 │ println(JosephsonCircuits.ParsedSortedCircuit( │ [2 2 2 2 0 3 3; 1 1 1 1 0 1 1], │ ["0", "1", "2"], │ ["L1", "L2"], │ ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], │ [:P, :I, :R, :L, :K, :L, :C], │ Num[1, Ipump, Rleft, L1, K1, L2, C2], │ Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), │ 3)) │ │ # output │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 0 3 3; 1 1 1 1 0 1 1], ["0", "1", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L1 K1 L2 C2 │ println(JosephsonCircuits.ParsedSortedCircuit( │ [2 2 2 2 0 3 3; 1 1 1 1 0 1 1], │ ["0", "1", "2"], │ ["L1", "L2"], │ ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], │ [:P, :I, :R, :L, :K, :L, :C], │ Num[1, Ipump, Rleft, L1, K1, L2, C2], │ Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), │ 3)) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 0 3 3; 1 1 1 1 0 1 1], ["0", "1", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L2" => 6, "K1" => 5, "L1" => 4, "I1" => 2, "C2" => 7, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 0 3 3; 1 1 1 1 0 1 1], ["0", "1", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 0 3 3; 1 1 1 1 0 1 1], ["0", "1", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" Dict("L2" => 6, "K1" => 5, "L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:28 ┌ Error: doctest failure in ../src/parseinput.jl:161-174 │ │ ```jldoctest │ @variables Ipump Rleft L1 K1 L2 C2 │ println(JosephsonCircuits.ParsedCircuit( │ [1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], │ ["1", "0", "2"], ["L1", "L2"], │ ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], │ [:P, :I, :R, :L, :K, :L, :C], │ Num[1, Ipump, Rleft, L1, K1, L2, C2], │ Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), │ 3)) │ │ # output │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L1 K1 L2 C2 │ println(JosephsonCircuits.ParsedCircuit( │ [1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], │ ["1", "0", "2"], ["L1", "L2"], │ ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], │ [:P, :I, :R, :L, :K, :L, :C], │ Num[1, Ipump, Rleft, L1, K1, L2, C2], │ Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), │ 3)) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L2" => 6, "K1" => 5, "L1" => 4, "I1" => 2, "C2" => 7, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" Dict("L2" => 6, "K1" => 5, "L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:161 ┌ Error: doctest failure in ../src/parseinput.jl:205-219 │ │ ```jldoctest │ @variables Ipump Rleft L1 K1 L2 C2 │ circuit = Vector{Tuple{String,String,String,Num}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",K1)) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ parsecircuit(circuit) │ │ # output │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L1 K1 L2 C2 │ circuit = Vector{Tuple{String,String,String,Num}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",K1)) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ parsecircuit(circuit) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L2" => 6, "K1" => 5, "I1" => 2, "L1" => 4, "C2" => 7, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, K1, L2, C2], Dict("L1" Dict("L2" => 4, 6, "K1" => 5, "I1" => 2, "L2" "L1" => 6, 4, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:205 ┌ Error: doctest failure in ../src/parseinput.jl:220-235 │ │ ```jldoctest │ @variables Ipump Rleft L1 L2 C2 │ Kfun(L) = sin(L);@register_symbolic Kfun(L1) │ circuit = Vector{Tuple{String,String,String,Num}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",Kfun(L1))) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ parsecircuit(circuit) │ │ # output │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, Kfun(L1), L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L1 L2 C2 │ Kfun(L) = sin(L);@register_symbolic Kfun(L1) │ circuit = Vector{Tuple{String,String,String,Num}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",Kfun(L1))) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ parsecircuit(circuit) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, Kfun(L1), L2, C2], Dict("L2" => 6, "K1" => 5, "I1" => 2, "L1" => 4, "C2" => 7, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, Kfun(L1), L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, Kfun(L1), L2, C2], Dict("L1" Dict("L2" => 4, 6, "K1" => 5, "I1" => 2, "L2" "L1" => 6, 4, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:220 ┌ Error: doctest failure in ../src/parseinput.jl:236-248 │ │ ```jldoctest │ circuit = Vector{Tuple{String,String,String,Union{Complex{Float64}, Symbol,Int}}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",:Ipump)) │ push!(circuit,("R1","1","0",:Rleft)) │ push!(circuit,("C1","1","2",:Cc)) │ push!(circuit,("Lj1","2","0",:Lj)) │ push!(circuit,("C2","2","0",:Cj)) │ parsecircuit(circuit) │ │ # output │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["1", "0", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" => 4, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 3) │ ``` │ │ Subexpression: │ │ circuit = Vector{Tuple{String,String,String,Union{Complex{Float64}, Symbol,Int}}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",:Ipump)) │ push!(circuit,("R1","1","0",:Rleft)) │ push!(circuit,("C1","1","2",:Cc)) │ push!(circuit,("Lj1","2","0",:Lj)) │ push!(circuit,("C2","2","0",:Cj)) │ parsecircuit(circuit) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["1", "0", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("C1" => 4, "Lj1" => 5, "I1" => 2, "C2" => 6, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["1", "0", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" => 4, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["1", "0", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" Dict("C1" => 4, "Lj1" => 5, "I1" => 2, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:236 ┌ Error: doctest failure in ../src/parseinput.jl:249-261 │ │ ```jldoctest │ circuit = Vector{Tuple{String,String,String,Union{Complex{Float64}, Symbol,Int}}}(undef,0) │ push!(circuit,("P1","One","0",1)) │ push!(circuit,("I1","One","0",:Ipump)) │ push!(circuit,("R1","One","0",:Rleft)) │ push!(circuit,("C1","One","Two",:Cc)) │ push!(circuit,("Lj1","Two","0",:Lj)) │ push!(circuit,("C2","Two","0",:Cj)) │ parsecircuit(circuit) │ │ # output │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["One", "0", "Two"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" => 4, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 3) │ ``` │ │ Subexpression: │ │ circuit = Vector{Tuple{String,String,String,Union{Complex{Float64}, Symbol,Int}}}(undef,0) │ push!(circuit,("P1","One","0",1)) │ push!(circuit,("I1","One","0",:Ipump)) │ push!(circuit,("R1","One","0",:Rleft)) │ push!(circuit,("C1","One","Two",:Cc)) │ push!(circuit,("Lj1","Two","0",:Lj)) │ push!(circuit,("C2","Two","0",:Cj)) │ parsecircuit(circuit) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["One", "0", "Two"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("C1" => 4, "Lj1" => 5, "I1" => 2, "C2" => 6, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["One", "0", "Two"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" => 4, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["One", "0", "Two"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" Dict("C1" => 4, "Lj1" => 5, "I1" => 2, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:249 ┌ Error: doctest failure in ../src/parseinput.jl:262-274 │ │ ```jldoctest │ circuit = [] │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",:Ipump)) │ push!(circuit,("R1","1","0",:Rleft)) │ push!(circuit,("C1","1","2",:Cc)) │ push!(circuit,("Lj1","2","0",:Lj)) │ push!(circuit,("C2","2","0",:Cj)) │ parsecircuit(circuit) │ │ # output │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["1", "0", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Any[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" => 4, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 3) │ ``` │ │ Subexpression: │ │ circuit = [] │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",:Ipump)) │ push!(circuit,("R1","1","0",:Rleft)) │ push!(circuit,("C1","1","2",:Cc)) │ push!(circuit,("Lj1","2","0",:Lj)) │ push!(circuit,("C2","2","0",:Cj)) │ parsecircuit(circuit) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["1", "0", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Any[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("C1" => 4, "Lj1" => 5, "I1" => 2, "C2" => 6, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["1", "0", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Any[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" => 4, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 3, 3, 2, 3, 2], ["1", "0", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Any[1, :Ipump, :Rleft, :Cc, :Lj, :Cj], Dict("I1" => 2, "C1" Dict("C1" => 4, "Lj1" => 5, "I1" => 2, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:262 ┌ Error: doctest failure in ../src/parseinput.jl:275-288 │ │ ```jldoctest │ circuit = Vector{Tuple{String,String,String,Union{Complex{Float64}, Symbol,Int}}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",:Ipump)) │ push!(circuit,("R1","1","0",:Rleft)) │ push!(circuit,("L1","1","0",:L1)) │ push!(circuit,("K1","L1","L2",:K1)) │ push!(circuit,("L2","2","0",:L2)) │ push!(circuit,("C2","2","0",:C2)) │ parsecircuit(circuit) │ │ # output │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :L1, :K1, :L2, :C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ ``` │ │ Subexpression: │ │ circuit = Vector{Tuple{String,String,String,Union{Complex{Float64}, Symbol,Int}}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",:Ipump)) │ push!(circuit,("R1","1","0",:Rleft)) │ push!(circuit,("L1","1","0",:L1)) │ push!(circuit,("K1","L1","L2",:K1)) │ push!(circuit,("L2","2","0",:L2)) │ push!(circuit,("C2","2","0",:C2)) │ parsecircuit(circuit) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :L1, :K1, :L2, :C2], Dict("L2" => 6, "K1" => 5, "I1" => 2, "L1" => 4, "C2" => 7, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :L1, :K1, :L2, :C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedCircuit([1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 3, 2, 3, 2], ["1", "0", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Union{Int64, Symbol, ComplexF64}[1, :Ipump, :Rleft, :L1, :K1, :L2, :C2], Dict("L1" Dict("L2" => 4, 6, "K1" => 5, "I1" => 2, "L2" "L1" => 6, 4, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:275 ┌ Error: doctest failure in ../src/graphproc.jl:313-337 │ │ ```jldoctest │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Int}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Int64} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Float64}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Float64} with 3 entries: │ Edge 1 => 2 => 1.0 │ Edge 3 => 4 => 3.0 │ Edge 2 => 3 => 2.0 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Complex{Float64}}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, ComplexF64} with 3 entries: │ Edge 1 => 2 => 1.0+0.0im │ Edge 3 => 4 => 3.0+0.0im │ Edge 2 => 3 => 2.0+0.0im │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Any}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Any} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Int}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ │ Evaluated output: │ │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Int64} with 3 entries: │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ Edge 1 => 2 => 1 │ │ Expected output: │ │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Int64} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ │ diff = │ Warning: Diff output requires color. │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Int64} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 22 │ Edge 1 => 2 => 1 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:313 ┌ Error: doctest failure in ../src/graphproc.jl:313-337 │ │ ```jldoctest │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Int}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Int64} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Float64}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Float64} with 3 entries: │ Edge 1 => 2 => 1.0 │ Edge 3 => 4 => 3.0 │ Edge 2 => 3 => 2.0 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Complex{Float64}}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, ComplexF64} with 3 entries: │ Edge 1 => 2 => 1.0+0.0im │ Edge 3 => 4 => 3.0+0.0im │ Edge 2 => 3 => 2.0+0.0im │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Any}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Any} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Float64}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ │ Evaluated output: │ │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Float64} with 3 entries: │ Edge 3 => 4 => 3.0 │ Edge 2 => 3 => 2.0 │ Edge 1 => 2 => 1.0 │ │ Expected output: │ │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Float64} with 3 entries: │ Edge 1 => 2 => 1.0 │ Edge 3 => 4 => 3.0 │ Edge 2 => 3 => 2.0 │ │ diff = │ Warning: Diff output requires color. │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Float64} with 3 entries: │ Edge 1 => 2 => 1.0 │ Edge 3 => 4 => 3.0 │ Edge 2 => 3 => 2.02.0 │ Edge 1 => 2 => 1.0 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:313 ┌ Error: doctest failure in ../src/graphproc.jl:313-337 │ │ ```jldoctest │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Int}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Int64} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Float64}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Float64} with 3 entries: │ Edge 1 => 2 => 1.0 │ Edge 3 => 4 => 3.0 │ Edge 2 => 3 => 2.0 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Complex{Float64}}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, ComplexF64} with 3 entries: │ Edge 1 => 2 => 1.0+0.0im │ Edge 3 => 4 => 3.0+0.0im │ Edge 2 => 3 => 2.0+0.0im │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Any}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Any} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Complex{Float64}}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ │ Evaluated output: │ │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, ComplexF64} with 3 entries: │ Edge 3 => 4 => 3.0+0.0im │ Edge 2 => 3 => 2.0+0.0im │ Edge 1 => 2 => 1.0+0.0im │ │ Expected output: │ │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, ComplexF64} with 3 entries: │ Edge 1 => 2 => 1.0+0.0im │ Edge 3 => 4 => 3.0+0.0im │ Edge 2 => 3 => 2.0+0.0im │ │ diff = │ Warning: Diff output requires color. │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, ComplexF64} with 3 entries: │ Edge 1 => 2 => 1.0+0.0im │ Edge 3 => 4 => 3.0+0.0im │ Edge 2 => 3 => 2.0+0.0im2.0+0.0im │ Edge 1 => 2 => 1.0+0.0im └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:313 ┌ Error: doctest failure in ../src/graphproc.jl:313-337 │ │ ```jldoctest │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Int}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Int64} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Float64}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Float64} with 3 entries: │ Edge 1 => 2 => 1.0 │ Edge 3 => 4 => 3.0 │ Edge 2 => 3 => 2.0 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Complex{Float64}}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, ComplexF64} with 3 entries: │ Edge 1 => 2 => 1.0+0.0im │ Edge 3 => 4 => 3.0+0.0im │ Edge 2 => 3 => 2.0+0.0im │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Any}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Any} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int}, Any}((1, 2) => 1, (3, 4) => 3, (2, 3) => 2)) │ │ Evaluated output: │ │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Any} with 3 entries: │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ Edge 1 => 2 => 1 │ │ Expected output: │ │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Any} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 2 │ │ diff = │ Warning: Diff output requires color. │ Dict{Graphs.SimpleGraphs.SimpleEdge{Int64}, Any} with 3 entries: │ Edge 1 => 2 => 1 │ Edge 3 => 4 => 3 │ Edge 2 => 3 => 22 │ Edge 1 => 2 => 1 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:313 ┌ Error: doctest failure in ../src/graphproc.jl:357-377 │ │ ```jldoctest │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Int}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Int64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Float64}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Float64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0 │ (Edge 5 => 6, Edge 7 => 8) => 3.0 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Complex{Float64}}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, ComplexF64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0+0.0im │ (Edge 5 => 6, Edge 7 => 8) => 3.0+0.0im │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Any}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Any} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Int}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ │ Evaluated output: │ │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Int64} with 2 entries: │ (Edge 5 => 6, Edge 7 => 8) => 3 │ (Edge 1 => 2, Edge 3 => 4) => 1 │ │ Expected output: │ │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Int64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ │ diff = │ Warning: Diff output requires color. │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Int64} with 2 entries: │ (Edge 1 5 => 2, 6, Edge 3 7 => 4) 8) => 1 │ 3 │ (Edge 5 1 => 6, 2, Edge 7 3 => 8) 4) => 31 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:357 ┌ Error: doctest failure in ../src/graphproc.jl:357-377 │ │ ```jldoctest │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Int}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Int64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Float64}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Float64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0 │ (Edge 5 => 6, Edge 7 => 8) => 3.0 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Complex{Float64}}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, ComplexF64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0+0.0im │ (Edge 5 => 6, Edge 7 => 8) => 3.0+0.0im │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Any}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Any} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Float64}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ │ Evaluated output: │ │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Float64} with 2 entries: │ (Edge 5 => 6, Edge 7 => 8) => 3.0 │ (Edge 1 => 2, Edge 3 => 4) => 1.0 │ │ Expected output: │ │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Float64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0 │ (Edge 5 => 6, Edge 7 => 8) => 3.0 │ │ diff = │ Warning: Diff output requires color. │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Float64} with 2 entries: │ (Edge 1 5 => 2, 6, Edge 3 7 => 4) 8) => 1.0 │ 3.0 │ (Edge 5 1 => 6, 2, Edge 7 3 => 8) 4) => 3.01.0 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:357 ┌ Error: doctest failure in ../src/graphproc.jl:357-377 │ │ ```jldoctest │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Int}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Int64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Float64}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Float64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0 │ (Edge 5 => 6, Edge 7 => 8) => 3.0 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Complex{Float64}}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, ComplexF64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0+0.0im │ (Edge 5 => 6, Edge 7 => 8) => 3.0+0.0im │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Any}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Any} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Complex{Float64}}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ │ Evaluated output: │ │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, ComplexF64} with 2 entries: │ (Edge 5 => 6, Edge 7 => 8) => 3.0+0.0im │ (Edge 1 => 2, Edge 3 => 4) => 1.0+0.0im │ │ Expected output: │ │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, ComplexF64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0+0.0im │ (Edge 5 => 6, Edge 7 => 8) => 3.0+0.0im │ │ diff = │ Warning: Diff output requires color. │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, ComplexF64} with 2 entries: │ (Edge 1 5 => 2, 6, Edge 3 7 => 4) 8) => 1.0+0.0im │ 3.0+0.0im │ (Edge 5 1 => 6, 2, Edge 7 3 => 8) 4) => 3.0+0.0im1.0+0.0im └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:357 ┌ Error: doctest failure in ../src/graphproc.jl:357-377 │ │ ```jldoctest │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Int}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Int64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Float64}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Float64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0 │ (Edge 5 => 6, Edge 7 => 8) => 3.0 │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Complex{Float64}}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, ComplexF64} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1.0+0.0im │ (Edge 5 => 6, Edge 7 => 8) => 3.0+0.0im │ │ julia> JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Any}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Any} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.tuple2edge(Dict{Tuple{Int, Int, Int, Int}, Any}((1, 2, 3, 4) => 1, (5, 6, 7, 8) => 3)) │ │ Evaluated output: │ │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Any} with 2 entries: │ (Edge 5 => 6, Edge 7 => 8) => 3 │ (Edge 1 => 2, Edge 3 => 4) => 1 │ │ Expected output: │ │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Any} with 2 entries: │ (Edge 1 => 2, Edge 3 => 4) => 1 │ (Edge 5 => 6, Edge 7 => 8) => 3 │ │ diff = │ Warning: Diff output requires color. │ Dict{Tuple{Graphs.SimpleGraphs.SimpleEdge{Int64}, Graphs.SimpleGraphs.SimpleEdge{Int64}}, Any} with 2 entries: │ (Edge 1 5 => 2, 6, Edge 3 7 => 4) 8) => 1 │ 3 │ (Edge 5 1 => 6, 2, Edge 7 3 => 8) 4) => 31 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/graphproc.jl:357 ┌ Error: doctest failure in ../src/fftutils.jl:101-113 │ │ ```jldoctest │ julia> JosephsonCircuits.calcfreqsrdft((1,)) │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((2,)) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,)) │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], [(0,), (1,), (2,), (3,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,3)) │ JosephsonCircuits.Frequencies{2}((3, 3), (4, 7), (6, 7), CartesianIndex{2}[CartesianIndex(1, 1), CartesianIndex(2, 1), CartesianIndex(3, 1), CartesianIndex(4, 1), CartesianIndex(1, 2), CartesianIndex(2, 2), CartesianIndex(3, 2), CartesianIndex(4, 2), CartesianIndex(1, 3), CartesianIndex(2, 3) … CartesianIndex(3, 5), CartesianIndex(4, 5), CartesianIndex(1, 6), CartesianIndex(2, 6), CartesianIndex(3, 6), CartesianIndex(4, 6), CartesianIndex(1, 7), CartesianIndex(2, 7), CartesianIndex(3, 7), CartesianIndex(4, 7)], [(0, 0), (1, 0), (2, 0), (3, 0), (0, 1), (1, 1), (2, 1), (3, 1), (0, 2), (1, 2) … (2, -3), (3, -3), (0, -2), (1, -2), (2, -2), (3, -2), (0, -1), (1, -1), (2, -1), (3, -1)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcfreqsrdft((1,)) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2)], [(0,), (1,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2)], [(0,), (1,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:101 ┌ Error: doctest failure in ../src/fftutils.jl:101-113 │ │ ```jldoctest │ julia> JosephsonCircuits.calcfreqsrdft((1,)) │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((2,)) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,)) │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], [(0,), (1,), (2,), (3,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,3)) │ JosephsonCircuits.Frequencies{2}((3, 3), (4, 7), (6, 7), CartesianIndex{2}[CartesianIndex(1, 1), CartesianIndex(2, 1), CartesianIndex(3, 1), CartesianIndex(4, 1), CartesianIndex(1, 2), CartesianIndex(2, 2), CartesianIndex(3, 2), CartesianIndex(4, 2), CartesianIndex(1, 3), CartesianIndex(2, 3) … CartesianIndex(3, 5), CartesianIndex(4, 5), CartesianIndex(1, 6), CartesianIndex(2, 6), CartesianIndex(3, 6), CartesianIndex(4, 6), CartesianIndex(1, 7), CartesianIndex(2, 7), CartesianIndex(3, 7), CartesianIndex(4, 7)], [(0, 0), (1, 0), (2, 0), (3, 0), (0, 1), (1, 1), (2, 1), (3, 1), (0, 2), (1, 2) … (2, -3), (3, -3), (0, -2), (1, -2), (2, -2), (3, -2), (0, -1), (1, -1), (2, -1), (3, -1)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcfreqsrdft((2,)) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3)], [(0,), (1,), (2,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3)], [(0,), (1,), (2,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:101 ┌ Error: doctest failure in ../src/fftutils.jl:101-113 │ │ ```jldoctest │ julia> JosephsonCircuits.calcfreqsrdft((1,)) │ JosephsonCircuits.Frequencies{1}((1,), (2,), (3,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,)], [(0,), (1,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((2,)) │ JosephsonCircuits.Frequencies{1}((2,), (3,), (4,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,)], [(0,), (1,), (2,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,)) │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], [(0,), (1,), (2,), (3,)]) │ │ julia> JosephsonCircuits.calcfreqsrdft((3,3)) │ JosephsonCircuits.Frequencies{2}((3, 3), (4, 7), (6, 7), CartesianIndex{2}[CartesianIndex(1, 1), CartesianIndex(2, 1), CartesianIndex(3, 1), CartesianIndex(4, 1), CartesianIndex(1, 2), CartesianIndex(2, 2), CartesianIndex(3, 2), CartesianIndex(4, 2), CartesianIndex(1, 3), CartesianIndex(2, 3) … CartesianIndex(3, 5), CartesianIndex(4, 5), CartesianIndex(1, 6), CartesianIndex(2, 6), CartesianIndex(3, 6), CartesianIndex(4, 6), CartesianIndex(1, 7), CartesianIndex(2, 7), CartesianIndex(3, 7), CartesianIndex(4, 7)], [(0, 0), (1, 0), (2, 0), (3, 0), (0, 1), (1, 1), (2, 1), (3, 1), (0, 2), (1, 2) … (2, -3), (3, -3), (0, -2), (1, -2), (2, -2), (3, -2), (0, -1), (1, -1), (2, -1), (3, -1)]) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcfreqsrdft((3,)) │ │ Evaluated output: │ │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3), CartesianIndex(4)], [(0,), (1,), (2,), (3,)]) │ │ Expected output: │ │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], [(0,), (1,), (2,), (3,)]) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.Frequencies{1}((3,), (4,), (6,), CartesianIndex{1}[CartesianIndex(1,), CartesianIndex(2,), CartesianIndex(3,), CartesianIndex(4,)], CartesianIndex{1}[CartesianIndex(1), CartesianIndex(2), CartesianIndex(3), CartesianIndex(4)], [(0,), (1,), (2,), (3,)]) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:101 ┌ Error: doctest failure in ../src/exportnetlist.jl:202-222 │ │ ```jldoctest │ @variables Ipump Rleft L1 K1 L2 C2 C3 │ circuit = Vector{Tuple{String,String,String,Num}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",K1)) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ push!(circuit,("C3","2","0",C3)) │ psc = parsesortcircuit(circuit) │ countdict, indexdict = JosephsonCircuits.componentdictionaries(psc.componenttypes,psc.nodeindices,psc.componentnamedict,psc.mutualinductorbranchnames) │ │ println(countdict) │ println(indexdict) │ │ # output │ Dict((:L, 1, 3) => 1, (:K, 4, 6) => 1, (:R, 1, 2) => 1, (:I, 1, 2) => 1, (:P, 1, 2) => 1, (:C, 1, 3) => 2, (:L, 1, 2) => 1) │ Dict((:C, 1, 3, 1) => 7, (:I, 1, 2, 1) => 2, (:R, 1, 2, 1) => 3, (:L, 1, 3, 1) => 6, (:C, 1, 3, 2) => 8, (:L, 1, 2, 1) => 4, (:P, 1, 2, 1) => 1, (:K, 4, 6, 1) => 5) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L1 K1 L2 C2 C3 │ circuit = Vector{Tuple{String,String,String,Num}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",K1)) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ push!(circuit,("C3","2","0",C3)) │ psc = parsesortcircuit(circuit) │ countdict, indexdict = JosephsonCircuits.componentdictionaries(psc.componenttypes,psc.nodeindices,psc.componentnamedict,psc.mutualinductorbranchnames) │ │ println(countdict) │ println(indexdict) │ │ Evaluated output: │ │ Dict((:K, 4, 6) => 1, (:L, 1, 3) => 1, (:P, 1, 2) => 1, (:R, 1, 2) => 1, (:L, 1, 2) => 1, (:C, 1, 3) => 2, (:I, 1, 2) => 1) │ Dict((:P, 1, 2, 1) => 1, (:L, 1, 2, 1) => 4, (:L, 1, 3, 1) => 6, (:I, 1, 2, 1) => 2, (:K, 4, 6, 1) => 5, (:R, 1, 2, 1) => 3, (:C, 1, 3, 1) => 7, (:C, 1, 3, 2) => 8) │ │ Expected output: │ │ Dict((:L, 1, 3) => 1, (:K, 4, 6) => 1, (:R, 1, 2) => 1, (:I, 1, 2) => 1, (:P, 1, 2) => 1, (:C, 1, 3) => 2, (:L, 1, 2) => 1) │ Dict((:C, 1, 3, 1) => 7, (:I, 1, 2, 1) => 2, (:R, 1, 2, 1) => 3, (:L, 1, 3, 1) => 6, (:C, 1, 3, 2) => 8, (:L, 1, 2, 1) => 4, (:P, 1, 2, 1) => 1, (:K, 4, 6, 1) => 5) │ │ diff = │ Warning: Diff output requires color. │ Dict((:L, 1, 3) => 1, (:K, Dict((:K, 4, 6) => 1, (:R, (:L, 1, 3) => 1, (:P, 1, 2) => 1, (:I, (:R, 1, 2) => 1, (:P, (:L, 1, 2) => 1, (:C, 1, 3) => 2, (:L, (:I, 1, 2) => 1) │ Dict((:C, 1, 3, 1) => 7, (:I, Dict((:P, 1, 2, 1) => 2, (:R, 1, (:L, 1, 2, 1) => 3, 4, (:L, 1, 3, 1) => 6, (:C, 1, 3, 2) => 8, (:L, (:I, 1, 2, 1) => 2, (:K, 4, (:P, 6, 1) => 5, (:R, 1, 2, 1) => 3, (:C, 1, (:K, 4, 6, 3, 1) => 5)7, (:C, 1, 3, 2) => 8) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/exportnetlist.jl:202 ┌ Error: doctest failure in ../src/exportnetlist.jl:223-244 │ │ ```jldoctest │ @variables Ipump Rleft L1 K1 K2 L2 C2 C3 │ circuit = Vector{Tuple{String,String,String,Num}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",K1)) │ push!(circuit,("K2","L1","L2",K2)) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ push!(circuit,("C3","2","0",C3)) │ psc = parsesortcircuit(circuit) │ countdict, indexdict = JosephsonCircuits.componentdictionaries(psc.componenttypes,psc.nodeindices,psc.componentnamedict,psc.mutualinductorbranchnames) │ │ println(countdict) │ println(indexdict) │ │ # output │ Dict((:L, 1, 3) => 1, (:K, 4, 7) => 2, (:R, 1, 2) => 1, (:I, 1, 2) => 1, (:P, 1, 2) => 1, (:C, 1, 3) => 2, (:L, 1, 2) => 1) │ Dict((:C, 1, 3, 1) => 8, (:I, 1, 2, 1) => 2, (:R, 1, 2, 1) => 3, (:K, 4, 7, 1) => 5, (:K, 4, 7, 2) => 6, (:L, 1, 2, 1) => 4, (:L, 1, 3, 1) => 7, (:P, 1, 2, 1) => 1, (:C, 1, 3, 2) => 9) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L1 K1 K2 L2 C2 C3 │ circuit = Vector{Tuple{String,String,String,Num}}(undef,0) │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",K1)) │ push!(circuit,("K2","L1","L2",K2)) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ push!(circuit,("C3","2","0",C3)) │ psc = parsesortcircuit(circuit) │ countdict, indexdict = JosephsonCircuits.componentdictionaries(psc.componenttypes,psc.nodeindices,psc.componentnamedict,psc.mutualinductorbranchnames) │ │ println(countdict) │ println(indexdict) │ │ Evaluated output: │ │ Dict((:K, 4, 7) => 2, (:L, 1, 3) => 1, (:P, 1, 2) => 1, (:R, 1, 2) => 1, (:L, 1, 2) => 1, (:C, 1, 3) => 2, (:I, 1, 2) => 1) │ Dict((:P, 1, 2, 1) => 1, (:L, 1, 2, 1) => 4, (:L, 1, 3, 1) => 7, (:I, 1, 2, 1) => 2, (:R, 1, 2, 1) => 3, (:K, 4, 7, 2) => 6, (:K, 4, 7, 1) => 5, (:C, 1, 3, 1) => 8, (:C, 1, 3, 2) => 9) │ │ Expected output: │ │ Dict((:L, 1, 3) => 1, (:K, 4, 7) => 2, (:R, 1, 2) => 1, (:I, 1, 2) => 1, (:P, 1, 2) => 1, (:C, 1, 3) => 2, (:L, 1, 2) => 1) │ Dict((:C, 1, 3, 1) => 8, (:I, 1, 2, 1) => 2, (:R, 1, 2, 1) => 3, (:K, 4, 7, 1) => 5, (:K, 4, 7, 2) => 6, (:L, 1, 2, 1) => 4, (:L, 1, 3, 1) => 7, (:P, 1, 2, 1) => 1, (:C, 1, 3, 2) => 9) │ │ diff = │ Warning: Diff output requires color. │ Dict((:L, 1, 3) => 1, (:K, Dict((:K, 4, 7) => 2, (:R, (:L, 1, 3) => 1, (:P, 1, 2) => 1, (:I, (:R, 1, 2) => 1, (:P, (:L, 1, 2) => 1, (:C, 1, 3) => 2, (:L, (:I, 1, 2) => 1) │ Dict((:C, Dict((:P, 1, 2, 1) => 1, (:L, 1, 2, 1) => 4, (:L, 1, 3, 1) => 8, 7, (:I, 1, 2, 1) => 2, (:R, 1, 2, 1) => 3, (:K, 4, 7, 1) 2) => 5, 6, (:K, 4, 7, 2) => 6, (:L, 1, 2, 1) => 4, (:L, 5, (:C, 1, 3, 1) => 7, (:P, 1, 2, 1) => 1, 8, (:C, 1, 3, 2) => 9) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/exportnetlist.jl:223 ┌ Error: doctest failure in ../src/fftutils.jl:652-686 │ │ ```jldoctest │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,))) │ Dict{CartesianIndex{1}, CartesianIndex{1}}() │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,))) │ Dict{CartesianIndex{1}, CartesianIndex{1}} with 2 entries: │ CartesianIndex(2,) => CartesianIndex(5,) │ CartesianIndex(3,) => CartesianIndex(4,) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1))) │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 2 entries: │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(3, 3) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,1))) │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 7 entries: │ CartesianIndex(2, 3) => CartesianIndex(5, 2) │ CartesianIndex(2, 1) => CartesianIndex(5, 1) │ CartesianIndex(3, 3) => CartesianIndex(4, 2) │ CartesianIndex(3, 1) => CartesianIndex(4, 1) │ CartesianIndex(2, 2) => CartesianIndex(5, 3) │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(4, 3) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1,1))) │ Dict{CartesianIndex{3}, CartesianIndex{3}} with 8 entries: │ CartesianIndex(1, 2, 1) => CartesianIndex(1, 3, 1) │ CartesianIndex(1, 2, 3) => CartesianIndex(1, 3, 2) │ CartesianIndex(1, 2, 2) => CartesianIndex(1, 3, 3) │ CartesianIndex(3, 2, 1) => CartesianIndex(3, 3, 1) │ CartesianIndex(1, 1, 2) => CartesianIndex(1, 1, 3) │ CartesianIndex(3, 2, 3) => CartesianIndex(3, 3, 2) │ CartesianIndex(3, 2, 2) => CartesianIndex(3, 3, 3) │ CartesianIndex(3, 1, 2) => CartesianIndex(3, 1, 3) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,))) │ │ Evaluated output: │ │ Dict{CartesianIndex{1}, CartesianIndex{1}} with 2 entries: │ CartesianIndex(3) => CartesianIndex(4) │ CartesianIndex(2) => CartesianIndex(5) │ │ Expected output: │ │ Dict{CartesianIndex{1}, CartesianIndex{1}} with 2 entries: │ CartesianIndex(2,) => CartesianIndex(5,) │ CartesianIndex(3,) => CartesianIndex(4,) │ │ diff = │ Warning: Diff output requires color. │ Dict{CartesianIndex{1}, CartesianIndex{1}} with 2 entries: │ CartesianIndex(2,) CartesianIndex(3) => CartesianIndex(5,) │ CartesianIndex(3,) CartesianIndex(4) │ CartesianIndex(2) => CartesianIndex(4,)CartesianIndex(5) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:652 ┌ Error: doctest failure in ../src/fftutils.jl:652-686 │ │ ```jldoctest │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,))) │ Dict{CartesianIndex{1}, CartesianIndex{1}}() │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,))) │ Dict{CartesianIndex{1}, CartesianIndex{1}} with 2 entries: │ CartesianIndex(2,) => CartesianIndex(5,) │ CartesianIndex(3,) => CartesianIndex(4,) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1))) │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 2 entries: │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(3, 3) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,1))) │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 7 entries: │ CartesianIndex(2, 3) => CartesianIndex(5, 2) │ CartesianIndex(2, 1) => CartesianIndex(5, 1) │ CartesianIndex(3, 3) => CartesianIndex(4, 2) │ CartesianIndex(3, 1) => CartesianIndex(4, 1) │ CartesianIndex(2, 2) => CartesianIndex(5, 3) │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(4, 3) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1,1))) │ Dict{CartesianIndex{3}, CartesianIndex{3}} with 8 entries: │ CartesianIndex(1, 2, 1) => CartesianIndex(1, 3, 1) │ CartesianIndex(1, 2, 3) => CartesianIndex(1, 3, 2) │ CartesianIndex(1, 2, 2) => CartesianIndex(1, 3, 3) │ CartesianIndex(3, 2, 1) => CartesianIndex(3, 3, 1) │ CartesianIndex(1, 1, 2) => CartesianIndex(1, 1, 3) │ CartesianIndex(3, 2, 3) => CartesianIndex(3, 3, 2) │ CartesianIndex(3, 2, 2) => CartesianIndex(3, 3, 3) │ CartesianIndex(3, 1, 2) => CartesianIndex(3, 1, 3) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1))) │ │ Evaluated output: │ │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 2 entries: │ CartesianIndex(3, 2) => CartesianIndex(3, 3) │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ │ Expected output: │ │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 2 entries: │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(3, 3) │ │ diff = │ Warning: Diff output requires color. │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 2 entries: │ CartesianIndex(1, CartesianIndex(3, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 3) │ CartesianIndex(1, 2) => CartesianIndex(3, CartesianIndex(1, 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:652 ┌ Error: doctest failure in ../src/fftutils.jl:652-686 │ │ ```jldoctest │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,))) │ Dict{CartesianIndex{1}, CartesianIndex{1}}() │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,))) │ Dict{CartesianIndex{1}, CartesianIndex{1}} with 2 entries: │ CartesianIndex(2,) => CartesianIndex(5,) │ CartesianIndex(3,) => CartesianIndex(4,) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1))) │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 2 entries: │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(3, 3) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,1))) │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 7 entries: │ CartesianIndex(2, 3) => CartesianIndex(5, 2) │ CartesianIndex(2, 1) => CartesianIndex(5, 1) │ CartesianIndex(3, 3) => CartesianIndex(4, 2) │ CartesianIndex(3, 1) => CartesianIndex(4, 1) │ CartesianIndex(2, 2) => CartesianIndex(5, 3) │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(4, 3) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1,1))) │ Dict{CartesianIndex{3}, CartesianIndex{3}} with 8 entries: │ CartesianIndex(1, 2, 1) => CartesianIndex(1, 3, 1) │ CartesianIndex(1, 2, 3) => CartesianIndex(1, 3, 2) │ CartesianIndex(1, 2, 2) => CartesianIndex(1, 3, 3) │ CartesianIndex(3, 2, 1) => CartesianIndex(3, 3, 1) │ CartesianIndex(1, 1, 2) => CartesianIndex(1, 1, 3) │ CartesianIndex(3, 2, 3) => CartesianIndex(3, 3, 2) │ CartesianIndex(3, 2, 2) => CartesianIndex(3, 3, 3) │ CartesianIndex(3, 1, 2) => CartesianIndex(3, 1, 3) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,1))) │ │ Evaluated output: │ │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 7 entries: │ CartesianIndex(3, 2) => CartesianIndex(4, 3) │ CartesianIndex(2, 1) => CartesianIndex(5, 1) │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 1) => CartesianIndex(4, 1) │ CartesianIndex(2, 2) => CartesianIndex(5, 3) │ CartesianIndex(3, 3) => CartesianIndex(4, 2) │ CartesianIndex(2, 3) => CartesianIndex(5, 2) │ │ Expected output: │ │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 7 entries: │ CartesianIndex(2, 3) => CartesianIndex(5, 2) │ CartesianIndex(2, 1) => CartesianIndex(5, 1) │ CartesianIndex(3, 3) => CartesianIndex(4, 2) │ CartesianIndex(3, 1) => CartesianIndex(4, 1) │ CartesianIndex(2, 2) => CartesianIndex(5, 3) │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(4, 3) │ │ diff = │ Warning: Diff output requires color. │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 7 entries: │ CartesianIndex(2, 3) CartesianIndex(3, 2) => CartesianIndex(5, 2) │ CartesianIndex(4, 3) │ CartesianIndex(2, 1) => CartesianIndex(5, 1) │ CartesianIndex(3, 3) CartesianIndex(1, 2) => CartesianIndex(4, 2) │ CartesianIndex(1, 3) │ CartesianIndex(3, 1) => CartesianIndex(4, 1) │ CartesianIndex(2, 2) => CartesianIndex(5, 3) │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) 3) => CartesianIndex(4, 3)2) │ CartesianIndex(2, 3) => CartesianIndex(5, 2) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:652 ┌ Error: doctest failure in ../src/fftutils.jl:652-686 │ │ ```jldoctest │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,))) │ Dict{CartesianIndex{1}, CartesianIndex{1}}() │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,))) │ Dict{CartesianIndex{1}, CartesianIndex{1}} with 2 entries: │ CartesianIndex(2,) => CartesianIndex(5,) │ CartesianIndex(3,) => CartesianIndex(4,) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1))) │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 2 entries: │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(3, 3) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsdft((2,1))) │ Dict{CartesianIndex{2}, CartesianIndex{2}} with 7 entries: │ CartesianIndex(2, 3) => CartesianIndex(5, 2) │ CartesianIndex(2, 1) => CartesianIndex(5, 1) │ CartesianIndex(3, 3) => CartesianIndex(4, 2) │ CartesianIndex(3, 1) => CartesianIndex(4, 1) │ CartesianIndex(2, 2) => CartesianIndex(5, 3) │ CartesianIndex(1, 2) => CartesianIndex(1, 3) │ CartesianIndex(3, 2) => CartesianIndex(4, 3) │ │ julia> JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1,1))) │ Dict{CartesianIndex{3}, CartesianIndex{3}} with 8 entries: │ CartesianIndex(1, 2, 1) => CartesianIndex(1, 3, 1) │ CartesianIndex(1, 2, 3) => CartesianIndex(1, 3, 2) │ CartesianIndex(1, 2, 2) => CartesianIndex(1, 3, 3) │ CartesianIndex(3, 2, 1) => CartesianIndex(3, 3, 1) │ CartesianIndex(1, 1, 2) => CartesianIndex(1, 1, 3) │ CartesianIndex(3, 2, 3) => CartesianIndex(3, 3, 2) │ CartesianIndex(3, 2, 2) => CartesianIndex(3, 3, 3) │ CartesianIndex(3, 1, 2) => CartesianIndex(3, 1, 3) │ ``` │ │ Subexpression: │ │ JosephsonCircuits.conjsym(JosephsonCircuits.calcfreqsrdft((2,1,1))) │ │ Evaluated output: │ │ Dict{CartesianIndex{3}, CartesianIndex{3}} with 8 entries: │ CartesianIndex(1, 1, 2) => CartesianIndex(1, 1, 3) │ CartesianIndex(3, 1, 2) => CartesianIndex(3, 1, 3) │ CartesianIndex(1, 2, 3) => CartesianIndex(1, 3, 2) │ CartesianIndex(1, 2, 1) => CartesianIndex(1, 3, 1) │ CartesianIndex(3, 2, 3) => CartesianIndex(3, 3, 2) │ CartesianIndex(3, 2, 2) => CartesianIndex(3, 3, 3) │ CartesianIndex(3, 2, 1) => CartesianIndex(3, 3, 1) │ CartesianIndex(1, 2, 2) => CartesianIndex(1, 3, 3) │ │ Expected output: │ │ Dict{CartesianIndex{3}, CartesianIndex{3}} with 8 entries: │ CartesianIndex(1, 2, 1) => CartesianIndex(1, 3, 1) │ CartesianIndex(1, 2, 3) => CartesianIndex(1, 3, 2) │ CartesianIndex(1, 2, 2) => CartesianIndex(1, 3, 3) │ CartesianIndex(3, 2, 1) => CartesianIndex(3, 3, 1) │ CartesianIndex(1, 1, 2) => CartesianIndex(1, 1, 3) │ CartesianIndex(3, 2, 3) => CartesianIndex(3, 3, 2) │ CartesianIndex(3, 2, 2) => CartesianIndex(3, 3, 3) │ CartesianIndex(3, 1, 2) => CartesianIndex(3, 1, 3) │ │ diff = │ Warning: Diff output requires color. │ Dict{CartesianIndex{3}, CartesianIndex{3}} with 8 entries: │ CartesianIndex(1, 2, 1) 1, 2) => CartesianIndex(1, 3, 1) │ 1, 3) │ CartesianIndex(3, 1, 2) => CartesianIndex(3, 1, 3) │ CartesianIndex(1, 2, 3) => CartesianIndex(1, 3, 2) │ CartesianIndex(1, 2, 2) => CartesianIndex(1, 3, 3) │ CartesianIndex(3, 2, 1) => CartesianIndex(3, CartesianIndex(1, 3, 1) │ CartesianIndex(1, 1, 2) => CartesianIndex(1, 1, 3) │ CartesianIndex(3, 2, 3) => CartesianIndex(3, 3, 2) │ CartesianIndex(3, 2, 2) => CartesianIndex(3, 3, 3) │ CartesianIndex(3, 1, 2) 2, 1) => CartesianIndex(3, 1, 3, 1) │ CartesianIndex(1, 2, 2) => CartesianIndex(1, 3, 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:652 ┌ Error: doctest failure in ../src/fftutils.jl:807-816 │ │ ```jldoctest │ julia> JosephsonCircuits.calcindexdict((2,3)) │ Dict{CartesianIndex{2}, Int64} with 6 entries: │ CartesianIndex(2, 3) => 6 │ CartesianIndex(2, 1) => 2 │ CartesianIndex(1, 3) => 5 │ CartesianIndex(1, 1) => 1 │ CartesianIndex(2, 2) => 4 │ CartesianIndex(1, 2) => 3 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcindexdict((2,3)) │ │ Evaluated output: │ │ Dict{CartesianIndex{2}, Int64} with 6 entries: │ CartesianIndex(1, 1) => 1 │ CartesianIndex(2, 3) => 6 │ CartesianIndex(2, 1) => 2 │ CartesianIndex(1, 2) => 3 │ CartesianIndex(2, 2) => 4 │ CartesianIndex(1, 3) => 5 │ │ Expected output: │ │ Dict{CartesianIndex{2}, Int64} with 6 entries: │ CartesianIndex(2, 3) => 6 │ CartesianIndex(2, 1) => 2 │ CartesianIndex(1, 3) => 5 │ CartesianIndex(1, 1) => 1 │ CartesianIndex(2, 2) => 4 │ CartesianIndex(1, 2) => 3 │ │ diff = │ Warning: Diff output requires color. │ Dict{CartesianIndex{2}, Int64} with 6 entries: │ CartesianIndex(1, 1) => 1 │ CartesianIndex(2, 3) => 6 │ CartesianIndex(2, 1) => 2 │ CartesianIndex(1, 3) => 5 │ CartesianIndex(1, 1) 2) => 1 │ 3 │ CartesianIndex(2, 2) => 4 │ CartesianIndex(1, 2) 3) => 35 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:807 ┌ Error: doctest failure in ../src/fftutils.jl:834-840 │ │ ```jldoctest │ julia> JosephsonCircuits.calcindexdict(3) │ Dict{CartesianIndex{1}, Int64} with 3 entries: │ CartesianIndex(2,) => 2 │ CartesianIndex(3,) => 3 │ CartesianIndex(1,) => 1 │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcindexdict(3) │ │ Evaluated output: │ │ Dict{CartesianIndex{1}, Int64} with 3 entries: │ CartesianIndex(3) => 3 │ CartesianIndex(2) => 2 │ CartesianIndex(1) => 1 │ │ Expected output: │ │ Dict{CartesianIndex{1}, Int64} with 3 entries: │ CartesianIndex(2,) => 2 │ CartesianIndex(3,) => 3 │ CartesianIndex(1,) => 1 │ │ diff = │ Warning: Diff output requires color. │ Dict{CartesianIndex{1}, Int64} with 3 entries: │ CartesianIndex(2,) => 2 │ CartesianIndex(3,) CartesianIndex(3) => 3 │ CartesianIndex(1,) CartesianIndex(2) => 2 │ CartesianIndex(1) => 1 └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/fftutils.jl:834 ┌ Error: doctest failure in ../src/spiceraw.jl:208-213 │ │ ```jldoctest │ julia> JosephsonCircuits.calcspicesortperms(Dict("V" => ["v(1)", "v(2)", "v(3)"], "Hz" => ["frequency"])) │ Dict{String, Vector{Int64}} with 2 entries: │ "V" => [1, 2, 3] │ "Hz" => [1] │ ``` │ │ Subexpression: │ │ JosephsonCircuits.calcspicesortperms(Dict("V" => ["v(1)", "v(2)", "v(3)"], "Hz" => ["frequency"])) │ │ Evaluated output: │ │ Dict{String, Vector{Int64}} with 2 entries: │ "Hz" => [1] │ "V" => [1, 2, 3] │ │ Expected output: │ │ Dict{String, Vector{Int64}} with 2 entries: │ "V" => [1, 2, 3] │ "Hz" => [1] │ │ diff = │ Warning: Diff output requires color. │ Dict{String, Vector{Int64}} with 2 entries: │ "Hz" => [1] │ "V" => [1, 2, 3] │ "Hz" => [1]3] └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/spiceraw.jl:208 ┌ Error: doctest failure in ../src/parseinput.jl:76-89 │ │ ```jldoctest │ @variables Ipump Rleft Cc Lj Cj │ circuit = Tuple{String,String,String,Num}[] │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("C1","1","2",Cc)) │ push!(circuit,("Lj1","2","0",Lj)) │ push!(circuit,("C2","2","0",Cj)) │ println(parsesortcircuit(circuit)) │ │ # output │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 3 3; 1 1 1 3 1 1], ["0", "1", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Num[1, Ipump, Rleft, Cc, Lj, Cj], Dict("I1" => 2, "C1" => 4, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 3) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft Cc Lj Cj │ circuit = Tuple{String,String,String,Num}[] │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("C1","1","2",Cc)) │ push!(circuit,("Lj1","2","0",Lj)) │ push!(circuit,("C2","2","0",Cj)) │ println(parsesortcircuit(circuit)) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 3 3; 1 1 1 3 1 1], ["0", "1", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Num[1, Ipump, Rleft, Cc, Lj, Cj], Dict("C1" => 4, "Lj1" => 5, "I1" => 2, "C2" => 6, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 3 3; 1 1 1 3 1 1], ["0", "1", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Num[1, Ipump, Rleft, Cc, Lj, Cj], Dict("I1" => 2, "C1" => 4, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 3 3; 1 1 1 3 1 1], ["0", "1", "2"], String[], ["P1", "I1", "R1", "C1", "Lj1", "C2"], [:P, :I, :R, :C, :Lj, :C], Num[1, Ipump, Rleft, Cc, Lj, Cj], Dict("I1" => 2, "C1" Dict("C1" => 4, "Lj1" => 5, "I1" => 2, "C2" => 6, "R1" => 3, "P1" => 1, "Lj1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:76 ┌ Error: doctest failure in ../src/parseinput.jl:90-105 │ │ ```jldoctest │ @variables Ipump Rleft L1 L2 C2 │ Kfun(L) = sin(L);@register_symbolic Kfun(L1) │ circuit = Tuple{String,String,String,Num}[] │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",Kfun(L1))) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ println(parsesortcircuit(circuit)) │ │ # output │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 0 3 3; 1 1 1 1 0 1 1], ["0", "1", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, Kfun(L1), L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ ``` │ │ Subexpression: │ │ @variables Ipump Rleft L1 L2 C2 │ Kfun(L) = sin(L);@register_symbolic Kfun(L1) │ circuit = Tuple{String,String,String,Num}[] │ push!(circuit,("P1","1","0",1)) │ push!(circuit,("I1","1","0",Ipump)) │ push!(circuit,("R1","1","0",Rleft)) │ push!(circuit,("L1","1","0",L1)) │ push!(circuit,("K1","L1","L2",Kfun(L1))) │ push!(circuit,("L2","2","0",L2)) │ push!(circuit,("C2","2","0",C2)) │ println(parsesortcircuit(circuit)) │ │ Evaluated output: │ │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 0 3 3; 1 1 1 1 0 1 1], ["0", "1", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, Kfun(L1), L2, C2], Dict("L2" => 6, "K1" => 5, "I1" => 2, "L1" => 4, "C2" => 7, "R1" => 3, "P1" => 1), 3) │ │ Expected output: │ │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 0 3 3; 1 1 1 1 0 1 1], ["0", "1", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, Kfun(L1), L2, C2], Dict("L1" => 4, "I1" => 2, "L2" => 6, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 3) │ │ diff = │ Warning: Diff output requires color. │ JosephsonCircuits.ParsedSortedCircuit([2 2 2 2 0 3 3; 1 1 1 1 0 1 1], ["0", "1", "2"], ["L1", "L2"], ["P1", "I1", "R1", "L1", "K1", "L2", "C2"], [:P, :I, :R, :L, :K, :L, :C], Num[1, Ipump, Rleft, L1, Kfun(L1), L2, C2], Dict("L1" Dict("L2" => 4, 6, "K1" => 5, "I1" => 2, "L2" "L1" => 6, 4, "C2" => 7, "R1" => 3, "P1" => 1, "K1" => 5), 1), 3) └ @ Documenter ~/.julia/packages/JosephsonCircuits/cMKqv/src/parseinput.jl:90 Doctests (Documenter.jl): Error During Test at /home/pkgeval/.julia/packages/JosephsonCircuits/cMKqv/test/runtests.jl:16 Got exception outside of a @test `makedocs` encountered a doctest error. Terminating build Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:213 [3] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 [4] #89 @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] [5] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) @ Base ./env.jl:265 [6] #87 @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] [7] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) @ Base.Filesystem ./file.jl:112 [8] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{remotes::Nothing, root::String, modules::Vector{Module}, doctest::Symbol, sitename::String}) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 [9] kwcall(::@NamedTuple{remotes::Nothing, root::String, modules::Vector{Module}, doctest::Symbol, sitename::String, format::Documenter.HTMLWriter.HTML}, ::typeof(makedocs)) @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 [10] top-level scope @ ~/.julia/packages/JosephsonCircuits/cMKqv/test/runtests.jl:10 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [12] macro expansion @ ~/.julia/packages/JosephsonCircuits/cMKqv/test/runtests.jl:17 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [14] macro expansion @ ~/.julia/packages/JosephsonCircuits/cMKqv/test/runtests.jl:23 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:310 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:310 [19] _start() @ Base ./client.jl:577 norm(F)/norm(x): 0.005004530419534594 Infinity norm: 0.00048017773697897766 norm(F)/norm(x): 0.005004530419534645 Infinity norm: 0.0004801777369789841 Test Summary: | Pass Error Broken Total Time JosephsonCircuits | 791 1 2 794 11m49.0s Code quality (Aqua.jl) | 9 9 55.0s Unbound type parameters | 1 1 0.1s Undefined exports | 1 1 0.0s Compare Project.toml and test/Project.toml | 1 1 0.3s Stale dependencies | 1 1 31.1s Compat bounds | 4 4 0.6s Piracy | 1 1 0.2s Doctests (Documenter.jl) | 1 1 6m37.5s capindmat | 8 8 0.7s calcMb JJ as first inductor | 1 1 0.6s calcMb JJ as second inductor | 1 1 0.0s calcLmean_inner | 1 1 0.0s calcnodematrix | 2 2 0.0s combine | 3 3 0.1s exportnetlist | 10 10 4.3s export_netlist import_netlist | 2 2 0.7s import_netlist! errors | 1 1 0.0s sumvalues | 1 1 0.0s componentdictionaries errors | 3 3 0.1s calcCjIcmean errors | 3 3 3.4s fftutils | 137 137 4.1s applynl: cos(z*cos(theta)) | 2 2 0.4s applynl: sin(z*sin(theta)) | 2 2 0.2s applynl: x-x^3/6 for z1*cos(theta1)+z2*cos(theta2) | 64 64 0.7s applynl: 1-x^2/2 for z1*cos(theta1)+z2*cos(theta2) | 64 64 1.1s phivectortomatrix! and phimatrixtovector! | 1 1 0.5s phimatrixtovector! | 2 2 0.5s phivectortomatrix! | 2 2 0.7s graphproc | 1 1 0.0s storeuniqueloops! | 1 1 0.0s hbsolve | 22 22 22.5s hbsolve lossless | 2 2 0.7s hbsolve lossless two ports | 2 2 0.2s hbsolve lossless new syntax | 6 6 7.8s hbsolve initial nodeflux | 1 1 0.8s hbnlsolve lossless error | 1 1 1.1s hbnlsolve simple testcase | 1 1 3.9s hbnlsolve simple testcase error | 1 1 0.0s hbsolve hbsolveold comparison | 2 2 5.6s hbsolve lossy | 2 2 1.8s hbsolve hbsolveold lossy comparison | 2 2 0.5s calcsources errors | 2 2 0.0s hbsolveold | 21 21 16.9s hbsolveold lossless | 4 4 1.4s hbsolveold lossless nodeflux, no QE, CM | 2 2 0.1s hbsolveold lossy | 2 2 6.3s hbsolveold lossy freq dep | 2 2 5.6s hlinsolveold lossless | 1 1 0.1s hbnlsolveold lossless | 1 1 0.1s hbnlsolveold lossless error | 1 1 0.0s hbnlsolveold lossless error | 1 1 0.0s hbnlsolveold simple testcase | 1 1 2.7s calcAoLjbm error | 2 2 0.0s updateAoLjbm! error | 3 3 0.6s sincosnloddtoboth | 1 1 0.0s JosephsonCircuits | 11 11 1m52.2s warmup | 1 1 0.5s warmupsymsold | 1 1 0.6s warmupsymsnew | 1 1 2.8s warmupsyms | 1 1 0.0s warmupparse | 1 1 0.7s warmupparsesort | 1 1 0.5s warmupnumericmatrices | 1 1 0.1s warmuphblinsolve | 1 1 2.2s warmupvvn | 1 1 0.5s warmupnetwork | 1 1 1m33.8s warmupconnect | 1 1 10.6s network parameter conversion | 176 176 18.7s StoZ, StoY, StoA, StoB, StoABCD consistency | 110 110 14.3s StoT, AtoB, ZtoA, YtoA, YtoB, ZtoB, ZtoY consistency | 56 56 4.4s Different types of conversions | 10 10 0.0s networks | 173 173 12.5s ABCD_seriesZ, ABCD_seriesZ! errors | 2 2 0.1s ABCD_seriesZ, ABCD_seriesZ! consistency | 4 4 0.7s ABCD_shuntY, ABCD_shuntY! errors | 2 2 0.0s ABCD_shuntY, ABCD_shuntY! consistency | 4 4 0.2s Y_seriesY, Y_seriesY! errors | 2 2 0.0s Y_seriesY, Y_seriesY! consistency | 4 4 0.2s Z_shuntZ, Z_shuntZ! errors | 2 2 0.0s Z_shuntZ, Z_shuntZ! consistency | 4 4 0.2s ABCD_tline, ABCD_tline! errors | 5 5 0.2s ABCD_tline, ABCD_tline! consistency | 6 6 0.3s Z_tline, Z_tline! errors | 5 5 0.2s Z_tline, Z_tline! consistency | 6 6 0.4s ABCD_PiY, ABCD_PiY! errors | 4 4 0.2s ABCD_PiY, ABCD_PiY! consistency | 4 4 0.2s Y_PiY, Y_PiY! errors | 4 4 0.1s Y_PiY, Y_PiY! consistency | 4 4 0.2s ABCD_TZ, ABCD_TZ! errors | 4 4 0.2s ABCD_TZ, ABCD_TZ! consistency | 4 4 0.2s Z_TZ, Z_TZ! errors | 4 4 0.1s Z_TZ, Z_TZ! consistency | 4 4 0.2s ABCD_coupled_tline, ABCD_coupled_tline! errors | 7 7 0.4s ABCD_coupled_tline, ABCD_coupled_tline! consistency | 6 6 0.4s Z_coupled_tline, Z_coupled_tline! errors | 7 7 0.4s Z_coupled_tline, Z_coupled_tline! consistency | 6 6 0.4s S_short! errors | 2 2 0.0s S_open! errors | 2 2 0.0s S_match! errors | 2 2 0.0s S_splitter! errors | 2 2 0.0s consistency checks | 6 6 0.0s Z_invC, Y_C, Z_L, Y_invL, Z_L!, Z_invC!, Y_C!, Y_invL! | 6 6 0.4s Z_L!, Z_invC!, Y_C!, Y_invL! errors | 4 4 0.0s ZC_basis_coupled_lines | 4 4 3.0s A_coupled_tlines | 1 1 1.5s Z_canonical_coupled_line_circuits | 11 11 0.4s canonical_coupled_line_circuits | 5 5 0.7s directional couplers | 17 17 0.7s attenuators | 1 1 0.0s circulators | 6 6 0.3s network connection | 78 78 26.7s connectS one network errors | 7 7 0.1s connectS! one network errors | 4 4 0.1s connectS two networks errors | 6 6 0.0s connectS! two networks errors | 6 6 0.1s connectS consistency | 6 6 3.8s connectSports one network | 5 5 0.0s connectSports two networks | 4 4 0.0s connectS with list of connections | 1 1 1.9s connectS with list of connections, many frequencies | 2 2 0.2s connectS with list of connections, small_splitters | 5 5 3.4s make_connection! errors | 2 2 0.4s connectS_initialize errors | 8 8 5.0s parse_connections_sparse errors | 8 8 2.1s add_splitters errors | 4 4 2.3s connectS solveS comparison | 1 1 0.0s connectS! solveS! in-place updates | 4 4 0.3s connectS solveS splitters | 3 3 2.8s connectS solveS mirror | 2 2 4.3s matutils | 53 53 7.1s diagrepeat! | 1 1 0.0s diagcombine | 1 1 0.0s diagcombine! | 2 2 0.1s axis_to_modes | 3 3 0.0s axis_to_modes! | 2 2 0.1s spaddkeepzeros | 1 1 0.0s sparseadd! | 14 14 0.0s sparseaddconjsubst! | 6 6 0.0s sparseaddmap | 2 2 0.0s conjnegfreq! | 1 1 0.0s freqsubst | 3 3 0.1s spmatmul! | 4 4 0.6s lu_2x2 | 7 7 4.9s ldiv_2x2 errors | 2 2 0.1s ldiv_2x2 | 4 4 1.1s nlsolve | 15 15 1.0s linesearch | 5 5 0.0s linesearch error | 1 1 0.0s nlsolve errors | 3 3 0.4s nlsolve klu error | 1 1 0.5s tryfactorize! error | 3 3 0.0s tryfactorize! elseif path | 2 2 0.1s parseinput | 26 2 28 2.1s parsecircuit | 1 1 0.0s parsecomponenttype | 2 2 0.0s checkcomponenttypes | 1 1 0.0s extractbranches | 2 2 0.0s extractbranches! | 1 1 0.1s calcnodesorting | 4 4 0.0s calcvaluetype | 1 1 0.0s calcnoiseportimpedanceindices | 2 2 0.0s calcportindicesnumbers | 4 4 0.0s calcportimpedanceindices | 6 6 0.1s Symbolics.jl and complex numbers | 2 2 4 1.9s qesparams | 21 21 1.7s calcimpedance errors | 4 4 0.0s calccm! errors | 12 12 1.3s calcqe! errors | 3 3 0.2s calcqeideal! | 1 1 0.0s calcdZdroZ2 | 1 1 0.0s spiceraw | 11 11 1.8s spice_raw_load | 2 2 1.4s spice_raw_load option line | 2 2 0.0s spice_raw_load extra variables | 1 1 0.0s spice_raw_load ascii | 1 1 0.0s spice_raw_load flags | 1 1 0.0s spice_raw_load incorrect format | 1 1 0.0s spice_raw_load time domain | 2 2 0.4s parsespicevariable no match | 1 1 0.0s spiceutils | 2 2 0.6s wrspice_input_paramp | 1 1 0.4s wrspice_calcS_paramp | 1 1 0.2s spicewrapper | 17 17 5.0s spice_hb_load | 4 4 2.3s wrspice_input_transient | 7 7 0.6s wrspice_input_ac array | 1 1 0.1s wrspice_input_ac float | 1 1 0.0s wrspice_input_ac float array | 1 1 0.0s wrspice_cmd | 1 1 0.0s XicTools.wrspice | 2 2 2.0s testutils | 0 0.0s RNG of the outermost testset: Random.Xoshiro(0x3ad9c0762a9ac25e, 0xdd999f8689a5546b, 0x19b630bc212e5f2c, 0x69274e2f06b4b3c5, 0x3448b5ff9c6385de) ERROR: LoadError: Some tests did not pass: 791 passed, 0 failed, 1 errored, 2 broken. in expression starting at /home/pkgeval/.julia/packages/JosephsonCircuits/cMKqv/test/runtests.jl:7 Testing failed after 1494.59s ERROR: LoadError: Package JosephsonCircuits errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:3010 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2859 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:572 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:548 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:172 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:161 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:160 [9] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:160 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:159 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:237 [12] include(mod::Module, _path::String) @ Base ./Base.jl:309 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [14] _start() @ Base ./client.jl:577 in expression starting at /PkgEval.jl/scripts/evaluate.jl:228 PkgEval failed after 2399.49s: package tests unexpectedly errored