bondscell_resultsY$a41f348d-7d13-4fd1-b7c7-abef440cf9b1queued¤logsrunning¦outputbody H

Suppose we have a system with a Lindblad operator $\hat{A}$. The question is what is the Lindblad operator in a composite system. Presumably, $\hat{A} ⊗ 𝟙$, but one could also think that with $𝟙 = ∑|k⟩⟨k|$, the composite system could have one Lindblad operator $\hat{A} ⊗ |k⟩⟨k|$ for each basis vector of the second system. That is, the composite system would have multiple Lindblad operators?

Are those two things potentially equivalent? They are not! The difference is in the term $\hat{A} \hat{\rho} \hat{A}^\dagger$ in the Liouville equation. With a single Lindblad operator $\hat{A} ⊗ 𝟙$, we find

$$(\hat{A} ⊗ 𝟙) \hat\rho (\hat{A} ⊗ 𝟙)^\dagger = \sum_{ijnm} \rho_{(ij),(nm)} \hat{A} |i⟩⟨n| \hat{A}^{\dagger} \otimes |j⟩⟨m| \tag{1}$$

where $|ij⟩⟨jm|$ is the double-indexed basis in which $\hat{\rho}$ is represented, and $\rho_{(ij),(nm)}$ is the matrix element for those indices.

On the other hand, with multiple Lindblad operators, we have

$$\sum_k (\hat{A} ⊗ |k⟩⟨k|) \hat\rho (\hat{A} ⊗ |k⟩⟨k|)^\dagger = \sum_{ink}\rho_{(ik),(nk)} \hat{A} |i⟩⟨n| \hat{A}^{\dagger} \otimes |k⟩⟨k| \tag{2}$$

That is, we are missing the cross-terms $|j⟩⟨m|$ in Eq. (1) for $j \ne m$.

These matrices are coherences in the second system that are lost in the dynamics. That hints at the choice of multiple Lindblad operators being unphysical: Simply tensoring a non-dissipative system to a dissipative system should not affect the non-dissipative system at all, the dissipative system should not be inducing dissipation into the non-dissipative system.

We can illustrate this for the example of a single qubit with spontaneous decay. We will simulate the dynamics of the qubit, and then the dynamics of the system tensored with a second, non-dissipative qubit, for the two possible choices of composite Lindblad operators.

mimetext/htmlrootassigneelast_run_timestampA1vpersist_js_state·has_pluto_hook_features§cell_id$a41f348d-7d13-4fd1-b7c7-abef440cf9b1depends_on_disabled_cells§runtime s~published_object_keysdepends_on_skipped_cells§errored$777eefbd-a782-4388-af28-987fa43ef205queued¤logsrunning¦outputbodyw

Then, the population dynamics of the sub-systems, with the other system traced out:

mimetext/htmlrootassigneelast_run_timestampA1!persist_js_state·has_pluto_hook_features§cell_id$777eefbd-a782-4388-af28-987fa43ef205depends_on_disabled_cells§runtime5apublished_object_keysdepends_on_skipped_cells§errored$a3fd0098-e0a1-4e9e-859f-37f1064cce29queued¤logsrunning¦outputbodyx  mimeimage/svg+xmlrootassigneelast_run_timestampA1Qpersist_js_state·has_pluto_hook_features§cell_id$a3fd0098-e0a1-4e9e-859f-37f1064cce29depends_on_disabled_cells§runtime gpublished_object_keysdepends_on_skipped_cells§errored$8cd9f807-6b19-4aae-b222-1560f04c3afbqueued¤logsrunning¦outputbody :
partial_trace

Calculate the partial trace of the given density matrix ρ

ρ_red = partial_trace(ρ, (N_i, N, N_j))

calculates the reduced density with the middle degree of freedom integrated out.

It is assumed that the density matrix ρ has the structure

$$ρ = \sum ρ_{(inj)(i^′n^′j^′)} |inj⟩⟨i^′n^′j^′|$$

with the triple-index $(inj)$ where $i$ is in the range $(1, N_i)$, $n$ is in the range $(1, N)$, and $j$ is in the range $(1, N_j)$

The reduced density matrix is defined as

$$ρ^{(red)} = \sum \underbrace{\sum_{n} ρ_{(inj)(i^′nj^′)}}_{= \rho^{(red)}_{(ij),(i^′j^′)}} |ij⟩⟨i^′j^′|$$

Note that assuming a structure of 3 tensored Hilbert spaces and always tracing out the middle Hilbert space allows handling an arbitrary number of actual Hilbert spaces, and tracing out arbitrary degrees of freedom: All Hilbert spaces to the left of the degree of freedom to be integrated out can be combined into a single Hilbert space of dimension $N_i$, and all the Hilbert spaces on the right can be combined into a space of dimension $N_j$. This includes the situation where we have two actual Hilbert spaces with dimensions N and M, respectively. If we wanted to trace out the first Hilbert space, we could use

ρ_red = partial_trace(ρ, (1, N, M))

If we wanted to trace out the second Hilbert space, we would instead use

ρ_red = partial_trace(ρ, (N, M, 1))

The given ρ can be a matrix or vectorized matrix. The reduced density matrix will be returned correspondingly.

mimetext/htmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$8cd9f807-6b19-4aae-b222-1560f04c3afbdepends_on_disabled_cells§runtimeDpublished_object_keysdepends_on_skipped_cells§errored$91ab02a1-65b0-43c4-99f3-08dbc274e0edqueued¤logsrunning¦outputbodyelementsprefixInt64elements2text/plain5text/plaintypeArrayprefix_shortobjectid3dc94151e8be127b!application/vnd.pluto.tree+objectprefixInt64elements12text/plain15text/plaintypeArrayprefix_shortobjectiddcf1f4a7a70f8068!application/vnd.pluto.tree+objectprefixComplexF64elements0.0+0.1imtext/plain0.0+0.1imtext/plaintypeArrayprefix_shortobjectid691d85d0bf66a4b0!application/vnd.pluto.tree+objecttypeTupleobjectid34f9b353db3ca593mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA1w persist_js_state·has_pluto_hook_features§cell_id$91ab02a1-65b0-43c4-99f3-08dbc274e0eddepends_on_disabled_cells§runtimeE;published_object_keysdepends_on_skipped_cells§errored$233b2763-5612-4786-9df0-17a6bdd10912queued¤logsrunning¦outputbodyu

And, the reduced density matrix of the second TLS (first TLS traced out):

mimetext/htmlrootassigneelast_run_timestampA1RHpersist_js_state·has_pluto_hook_features§cell_id$233b2763-5612-4786-9df0-17a6bdd10912depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33dequeued¤logsrunning¦outputbody mimeimage/svg+xmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33dedepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$4c62e504-4ab5-4eec-a2bc-0967f7a7ae64queued¤logsrunning¦outputbody2

We can now use

mimetext/htmlrootassigneelast_run_timestampA1?ٰpersist_js_state·has_pluto_hook_features§cell_id$4c62e504-4ab5-4eec-a2bc-0967f7a7ae64depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$107f5cb1-6f79-483a-bbd2-e292a1592986queued¤logsrunning¦outputbodyO

We'll consider a completely static TLS:

mimetext/htmlrootassigneelast_run_timestampA1̰persist_js_state·has_pluto_hook_features§cell_id$107f5cb1-6f79-483a-bbd2-e292a1592986depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$e300efca-2800-4c0c-b915-ec8e4f81b292queued¤logsrunning¦outputbodys

Now we tensor the system with a second TLS. This second TLS is non-dissipative.

mimetext/htmlrootassigneelast_run_timestampA1ܰpersist_js_state·has_pluto_hook_features§cell_id$e300efca-2800-4c0c-b915-ec8e4f81b292depends_on_disabled_cells§runtimeLpublished_object_keysdepends_on_skipped_cells§errored$dd8f6890-5234-4b1c-8ed7-b6d370c86876queued¤logsrunning¦outputbody$⊗ (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA1[9persist_js_state·has_pluto_hook_features§cell_id$dd8f6890-5234-4b1c-8ed7-b6d370c86876depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$89d0de66-b78a-4f0f-9134-84ca622f2ca3queued¤logsrunning¦outputbody2

and the purity

mimetext/htmlrootassigneelast_run_timestampA1Φpersist_js_state·has_pluto_hook_features§cell_id$89d0de66-b78a-4f0f-9134-84ca622f2ca3depends_on_disabled_cells§runtime\published_object_keysdepends_on_skipped_cells§errored$531a7b9d-60bc-416e-9260-5757a4cc093cqueued¤logsrunning¦outputbodyH

Lindblad operators for composite systems

Note: the code for this notebook is available at https://github.com/goerz-research/2025-09-11_Composite_Dissipation

mimetext/htmlrootassigneelast_run_timestampA1ɋpersist_js_state·has_pluto_hook_features§cell_id$531a7b9d-60bc-416e-9260-5757a4cc093cdepends_on_disabled_cells§runtime7wõpublished_object_keysdepends_on_skipped_cells§errored$0a3cef9f-4dd7-4469-b4ae-18c4e3093cedqueued¤logsrunning¦outputbody0.1mimetext/plainrootassigneeγlast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$0a3cef9f-4dd7-4469-b4ae-18c4e3093ceddepends_on_disabled_cells§runtime1ȵpublished_object_keysdepends_on_skipped_cells§errored$72010ae9-8300-41bb-a10b-37927cd8e000queued¤logsrunning¦outputbody

Note that the purity starting from a mixed state should be $1 - \frac{1}{2} \left(e^{-\gamma t} + e^{-2\gamma t}\right)$: The purity first drops due to the dissipation and then rises again because in the infinite time limit, all the population ends up in the (pure) ground state.

mimetext/htmlrootassigneelast_run_timestampA1rpersist_js_state·has_pluto_hook_features§cell_id$72010ae9-8300-41bb-a10b-37927cd8e000depends_on_disabled_cells§runtimeI$published_object_keysdepends_on_skipped_cells§errored$e210cf9e-a5d6-4d48-83e1-200008a1d9d3queued¤logsrunning¦outputbody mimeimage/svg+xmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$e210cf9e-a5d6-4d48-83e1-200008a1d9d3depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$c0342b62-302d-470c-9e96-128905bbe848queued¤logsrunning¦outputbodyn

Uses two Lindblad operators, one for each of the levels in the second TLS.

mimetext/htmlrootassigneelast_run_timestampA1D persist_js_state·has_pluto_hook_features§cell_id$c0342b62-302d-470c-9e96-128905bbe848depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$113410b5-64b3-4fcb-9263-9ba89a013107queued¤logsrunning¦outputbody.

When analyzing the dynamics, what we'll be looking for is that the second system remains unaffected by the dissipation in the first system. To this end, we'll have to calculate the reduced density matrices for the first and second TLS, using a partial trace:

mimetext/htmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$113410b5-64b3-4fcb-9263-9ba89a013107depends_on_disabled_cells§runtimeIpublished_object_keysdepends_on_skipped_cells§errored$a36ca5a6-f584-4bba-8e21-968bda4d5190queued¤logsrunning¦outputbodyw

The difference comes in via the purity (the coherences) in the sub-systems:

mimetext/htmlrootassigneelast_run_timestampA1{persist_js_state·has_pluto_hook_features§cell_id$a36ca5a6-f584-4bba-8e21-968bda4d5190depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$f5d72c44-185e-40f9-be10-50ca467ae8bfqueued¤logsrunning¦outputbodyi

The population dynamics even for the sub-systems still looks correct:

mimetext/htmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$f5d72c44-185e-40f9-be10-50ca467ae8bfdepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$28a8661d-e5f5-4ecd-82d2-bb4f64c36039queued¤logsrunning¦outputbody1.5273449659913243e-16mimetext/plainrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$28a8661d-e5f5-4ecd-82d2-bb4f64c36039depends_on_disabled_cells§runtimeTpublished_object_keysdepends_on_skipped_cells§errored$6b05ff89-52e0-4af1-8460-052222ebe93equeued¤logsrunning¦outputbody0.8837279210325912mimetext/plainrootassigneelast_run_timestampA1I:persist_js_state·has_pluto_hook_features§cell_id$6b05ff89-52e0-4af1-8460-052222ebe93edepends_on_disabled_cells§runtimeF;Fpublished_object_keysdepends_on_skipped_cells§errored$452f72e9-6817-45db-a514-23ddd0a4ebb2queued¤logsrunning¦outputbody6×6 Matrix{ComplexF64}: 0.714402+0.0im -0.24748-0.0147125im … -0.0219476-0.0129593im -0.24748+0.0147125im 0.0860338+0.0im 0.00786988+0.00403731im -0.307368-0.211605im 0.102119+0.0796332im 0.00560433+0.0120765im 0.0205404-0.0442616im -0.00802703+0.0149099im -0.00143394+0.000987185im -0.00620398+0.0157559im 0.00247363-0.00533032im 0.000476409-0.000371507im -0.0219476+0.0129593im 0.00786988-0.00403731im … 0.00090935+0.0immimetext/plainrootassignee_Clast_run_timestampA1 persist_js_state·has_pluto_hook_features§cell_id$452f72e9-6817-45db-a514-23ddd0a4ebb2depends_on_disabled_cells§runtime=]published_object_keysdepends_on_skipped_cells§errored$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9equeued¤logsrunning¦outputbodyprefixFloat64elements0.5text/plain0.5text/plaintypeArrayprefix_shortobjectid1c16476edc364fedmime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA1 ◰persist_js_state·has_pluto_hook_features§cell_id$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9edepends_on_disabled_cells§runtimeIbpublished_object_keysdepends_on_skipped_cells§errored$f3d99a0a-2188-4cb1-81d9-9670ece84610queued¤logsrunning¦outputbody3×3 Matrix{ComplexF64}: 0.717735+0.0im -0.248634-0.0147811im -0.308802+0.212592im -0.248634+0.0147811im 0.0864352+0.0im 0.102596-0.0800047im -0.308802-0.212592im 0.102596+0.0800047im 0.19583+0.0immimetext/plainrootassignee_Blast_run_timestampA1ppersist_js_state·has_pluto_hook_features§cell_id$f3d99a0a-2188-4cb1-81d9-9670ece84610depends_on_disabled_cells§runtimepfpublished_object_keysdepends_on_skipped_cells§errored$629a5a46-0bea-4762-9c89-78c07cb43c72queued¤logsrunning¦outputbody'purity (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA1ӑpersist_js_state·has_pluto_hook_features§cell_id$629a5a46-0bea-4762-9c89-78c07cb43c72depends_on_disabled_cells§runtime7&Vpublished_object_keysdepends_on_skipped_cells§errored$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998queued¤logsrunning¦outputbodyprefixComplexF64elements0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain 0.25+0.0imtext/plain 0.25+0.0imtext/plain 0.25+0.0imtext/plain 0.25+0.0imtext/plain 0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plaintypeArrayprefix_shortobjectid98c65c1778bad3b2mime!application/vnd.pluto.tree+objectrootassigneeρ₀_compositelast_run_timestampA1-Qpersist_js_state·has_pluto_hook_features§cell_id$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998depends_on_disabled_cells§runtime`published_object_keysdepends_on_skipped_cells§errored$11ea567a-74dd-4a87-9695-7dfeccf49c0equeued¤logsrunning¦outputbodyprefixComplexF64elements0.5+0.0imtext/plain0.5+0.0imtext/plain0.5+0.0imtext/plain0.5+0.0imtext/plaintypeArrayprefix_shortobjectida01d423a61dea796mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA1E԰persist_js_state·has_pluto_hook_features§cell_id$11ea567a-74dd-4a87-9695-7dfeccf49c0edepends_on_disabled_cells§runtime

tensors the original Lindblad operator with the identity for the second TLS.

Second,

mimetext/htmlrootassigneelast_run_timestampA1*|persist_js_state·has_pluto_hook_features§cell_id$f8d76484-05e6-4a72-98c8-3f33b06f4306depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$20eb5f97-ca69-434d-80ec-5c99b8f153c1queued¤logsrunning¦outputbodyprefixStringelements"|00⟩⟨00|"text/plain"|01⟩⟨00|"text/plain"|10⟩⟨00|"text/plain"|11⟩⟨00|"text/plain"|00⟩⟨01|"text/plain"|01⟩⟨01|"text/plain"|10⟩⟨01|"text/plain"|11⟩⟨01|"text/plain "|00⟩⟨10|"text/plain "|01⟩⟨10|"text/plain "|10⟩⟨10|"text/plain "|11⟩⟨10|"text/plain "|00⟩⟨11|"text/plain"|01⟩⟨11|"text/plain"|10⟩⟨11|"text/plain"|11⟩⟨11|"text/plaintypeArrayprefix_shortobjectidc813cf94dbba48dcmime!application/vnd.pluto.tree+objectrootassigneesuperop_labelslast_run_timestampA1Cpersist_js_state·has_pluto_hook_features§cell_id$20eb5f97-ca69-434d-80ec-5c99b8f153c1depends_on_disabled_cells§runtimë́published_object_keysdepends_on_skipped_cells§errored$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2queued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1upersist_js_state·has_pluto_hook_features§cell_id$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2depends_on_disabled_cells§runtime밵published_object_keysdepends_on_skipped_cells§errored$378380e4-7043-434d-8933-72b36e3a8981queued¤logsrunning¦outputbody4×4 SparseArrays.SparseMatrixCSC{ComplexF64, Int64} with 4 stored entries: ⋅ ⋅ ⋅ 0.0+0.1im ⋅ 0.0-0.05im ⋅ ⋅ ⋅ ⋅ 0.0-0.05im ⋅ ⋅ ⋅ ⋅ 0.0-0.1immimetext/plainrootassigneeLlast_run_timestampA1&persist_js_state·has_pluto_hook_features§cell_id$378380e4-7043-434d-8933-72b36e3a8981depends_on_disabled_cells§runtime !Xpublished_object_keysdepends_on_skipped_cells§errored$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0queued¤logsrunning¦outputbody%pops (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0depends_on_disabled_cells§runtime~published_object_keysdepends_on_skipped_cells§errored$337e927c-6c23-4afe-9a62-bf30f3a12c0aqueued¤logsrunning¦outputbodye

First, we look at the population dynamics of the combined system:

mimetext/htmlrootassigneelast_run_timestampA1%persist_js_state·has_pluto_hook_features§cell_id$337e927c-6c23-4afe-9a62-bf30f3a12c0adepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$a86b96af-f20d-48ac-b493-12204567a21cqueued¤logsrunning¦outputbodyn

We have two candidates for the Lindbladian of the composite system. First,

mimetext/htmlrootassigneelast_run_timestampA10persist_js_state·has_pluto_hook_features§cell_id$a86b96af-f20d-48ac-b493-12204567a21cdepends_on_disabled_cells§runtimeUpublished_object_keysdepends_on_skipped_cells§errored$b2ac08e1-8e2a-43ad-bb49-7441408d0571queued¤logsrunning¦outputbody

Just to test our implementation of the partial trace a bit more for the general case, we can check that we can recover the components of a random separable state:

mimetext/htmlrootassigneelast_run_timestampA1l+persist_js_state·has_pluto_hook_features§cell_id$b2ac08e1-8e2a-43ad-bb49-7441408d0571depends_on_disabled_cells§runtimeC'published_object_keysdepends_on_skipped_cells§errored$9fa924d6-f287-4f6c-b5b6-1adb4909318cqueued¤logsrunning¦outputbodyU

We can look at which matrix elements are missing.

mimetext/htmlrootassigneelast_run_timestampA1 persist_js_state·has_pluto_hook_features§cell_id$9fa924d6-f287-4f6c-b5b6-1adb4909318cdepends_on_disabled_cells§runtime\published_object_keysdepends_on_skipped_cells§errored$90ff733c-01ac-48d0-a6b6-faa5021a8a9bqueued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1gIpersist_js_state·has_pluto_hook_features§cell_id$90ff733c-01ac-48d0-a6b6-faa5021a8a9bdepends_on_disabled_cells§runtime~published_object_keysdepends_on_skipped_cells§errored$208b3fda-4263-4f7d-b73d-25eedd1771aaqueued¤logsrunning¦outputbodyt

Multiple Lindblad Operators Dynamics

mimetext/htmlrootassigneelast_run_timestampA1t%persist_js_state·has_pluto_hook_features§cell_id$208b3fda-4263-4f7d-b73d-25eedd1771aadepends_on_disabled_cells§runtimeVpublished_object_keysdepends_on_skipped_cells§errored$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05queued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1)"հpersist_js_state·has_pluto_hook_features§cell_id$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05depends_on_disabled_cells§runtimeÐpublished_object_keysdepends_on_skipped_cells§errored$1799c3d7-97c9-4602-9a02-7a0691ddf80equeued¤logsrunning¦outputbodyٍ

L1 and L2 do not have the same number of non-zero entries!

mimetext/htmlrootassigneelast_run_timestampA1Ѥpersist_js_state·has_pluto_hook_features§cell_id$1799c3d7-97c9-4602-9a02-7a0691ddf80edepends_on_disabled_cells§runtime:$published_object_keysdepends_on_skipped_cells§errored$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6queued¤logsrunning¦outputbody16×16 SparseArrays.SparseMatrixCSC{ComplexF64, Int64} with 14 stored entries: ⎡⠀⢄⠀⠀⠀⠁⠀⠀⎤ ⎢⠀⠀⠀⢄⠀⠀⠀⠐⎥ ⎢⠀⠀⠀⠀⠑⢄⠀⠀⎥ ⎣⠀⠀⠀⠀⠀⠀⠑⢄⎦mimetext/plainrootassigneeL2last_run_timestampA1hApersist_js_state·has_pluto_hook_features§cell_id$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6depends_on_disabled_cells§runtimew published_object_keysdepends_on_skipped_cells§errored$f3bd26e5-f6d4-4833-88aa-01ba389451b1queued¤logsrunning¦outputbodya

We'll add to that spontaneous decay, with a decay rate of

mimetext/htmlrootassigneelast_run_timestampA1 persist_js_state·has_pluto_hook_features§cell_id$f3bd26e5-f6d4-4833-88aa-01ba389451b1depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$8e9523fc-2810-4370-b1cc-e159b588ea83queued¤logsrunning¦outputbody|

This is clearly unphysical: without interactions between system 1 and system 2, the dissipation in system 1 should not be causing dissipation in system 2! System 2 should remain pure at all times.

Thus, we can conclude that a single Lindblad operator $\hat{A} \otimes 𝟙$ is the correct approach.

mimetext/htmlrootassigneelast_run_timestampA1npersist_js_state·has_pluto_hook_features§cell_id$8e9523fc-2810-4370-b1cc-e159b588ea83depends_on_disabled_cells§runtime:ĵpublished_object_keysdepends_on_skipped_cells§errored$9029c42e-462d-4bc6-9d9f-edc53fb28dedqueued¤logsrunning¦outputbodyL

Composite System

mimetext/htmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$9029c42e-462d-4bc6-9d9f-edc53fb28deddepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$6aa6f586-9977-476f-a306-73345c0bbc30queued¤logsrunning¦outputbodyprefixComplexF64elements0.0+0.0imtext/plain1.0+0.0imtext/plaintypeArrayprefix_shortobjectidc4c7e38a8797345amime!application/vnd.pluto.tree+objectrootassigneeket1last_run_timestampA1bEpersist_js_state·has_pluto_hook_features§cell_id$6aa6f586-9977-476f-a306-73345c0bbc30depends_on_disabled_cells§runtime\published_object_keysdepends_on_skipped_cells§errored$e06b72c2-913d-4de9-8ef1-af12a1a2b8c8queued¤logsrunning¦outputbody_

The Liouvillian can be constructed as a super-operator, via

mimetext/htmlrootassigneelast_run_timestampA1&persist_js_state·has_pluto_hook_features§cell_id$e06b72c2-913d-4de9-8ef1-af12a1a2b8c8depends_on_disabled_cells§runtime @published_object_keysdepends_on_skipped_cells§errored$0d819a8e-95d8-43e4-846d-1b1a44cb9214queued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1ᱰpersist_js_state·has_pluto_hook_features§cell_id$0d819a8e-95d8-43e4-846d-1b1a44cb9214depends_on_disabled_cells§runtimeUpublished_object_keysdepends_on_skipped_cells§errored$50703d4a-b742-4ccb-9f1a-2171d94e5e0aqueued¤logsrunning¦outputbodyD

Single Qubit

mimetext/htmlrootassigneelast_run_timestampA1̰persist_js_state·has_pluto_hook_features§cell_id$50703d4a-b742-4ccb-9f1a-2171d94e5e0adepends_on_disabled_cells§runtime^published_object_keysdepends_on_skipped_cells§errored$3fca1322-b88c-4016-81d1-44a3a8013e32queued¤logsrunning¦outputbody mimeimage/svg+xmlrootassigneelast_run_timestampA1;persist_js_state·has_pluto_hook_features§cell_id$3fca1322-b88c-4016-81d1-44a3a8013e32depends_on_disabled_cells§runtimev/published_object_keysdepends_on_skipped_cells§errored$29b3077f-fe4a-4ed9-910b-532af7b5684bqueued¤logsrunning¦outputbody4.586543737968368mimetext/plainrootassigneelast_run_timestampA1 WOpersist_js_state·has_pluto_hook_features§cell_id$29b3077f-fe4a-4ed9-910b-532af7b5684bdepends_on_disabled_cells§runtime5published_object_keysdepends_on_skipped_cells§errored$96b3bbd3-966c-4912-82cc-ff01f089f066queued¤logsrunning¦outputbodyprefixComplexF64elements0.5+0.0imtext/plain0.5+0.0imtext/plain0.5+0.0imtext/plain0.5+0.0imtext/plaintypeArrayprefix_shortobjectide3feff1b6d5ded1bmime!application/vnd.pluto.tree+objectrootassigneeρ₀last_run_timestampA1Npersist_js_state·has_pluto_hook_features§cell_id$96b3bbd3-966c-4912-82cc-ff01f089f066depends_on_disabled_cells§runtimeNpublished_object_keysdepends_on_skipped_cells§errored$d565abf9-4b59-429e-834c-d390017a5b53queued¤logsrunning¦outputbody^

We can check that the intial state decomposes as expected:

mimetext/htmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$d565abf9-4b59-429e-834c-d390017a5b53depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$b307c37f-2395-4806-a35f-a9118bb9adf9queued¤logsrunning¦outputbodyx  mimeimage/svg+xmlrootassigneelast_run_timestampA1 persist_js_state·has_pluto_hook_features§cell_id$b307c37f-2395-4806-a35f-a9118bb9adf9depends_on_disabled_cells§runtime =%published_object_keysdepends_on_skipped_cells§errored$6fdf587d-4555-445e-b392-5ddc99c34bb6queued¤logsrunning¦outputbodyT

which we can analyze in terms of the populations

mimetext/htmlrootassigneelast_run_timestampA1΍7persist_js_state·has_pluto_hook_features§cell_id$6fdf587d-4555-445e-b392-5ddc99c34bb6depends_on_disabled_cells§runtime?published_object_keysdepends_on_skipped_cells§errored$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5queued¤logsrunning¦outputbody0.14142135623730953mimetext/plainrootassigneelast_run_timestampA1npersist_js_state·has_pluto_hook_features§cell_id$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5depends_on_disabled_cells§runtimeINpublished_object_keysdepends_on_skipped_cells§errored$e944732c-ab82-4b09-b9e6-7fc8df1dbcbaqueued¤logsrunning¦outputbodyn

Single Lindblad Operator Dynamics

mimetext/htmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$e944732c-ab82-4b09-b9e6-7fc8df1dbcbadepends_on_disabled_cells§runtimeHpublished_object_keysdepends_on_skipped_cells§errored$9d5ee94b-250a-4062-8d97-b7f789edce25queued¤logsrunning¦outputbodyC

The result of the propgation is

mimetext/htmlrootassigneelast_run_timestampA1sɰpersist_js_state·has_pluto_hook_features§cell_id$9d5ee94b-250a-4062-8d97-b7f789edce25depends_on_disabled_cells§runtime\published_object_keysdepends_on_skipped_cells§errored$5adbc0dd-f040-4d8f-b960-593edf3c1b3cqueued¤logsrunning¦outputbody0.9999999999999996mimetext/plainrootassigneelast_run_timestampA1G8ڰpersist_js_state·has_pluto_hook_features§cell_id$5adbc0dd-f040-4d8f-b960-593edf3c1b3cdepends_on_disabled_cells§runtime@Wpublished_object_keysdepends_on_skipped_cells§errored$fe72a230-9546-4962-82a8-c5980fb297b1queued¤logsrunning¦outputbodyp

The reduced density matrix of the first TLS (second TLS traced out):

mimetext/htmlrootassigneelast_run_timestampA18ɰpersist_js_state·has_pluto_hook_features§cell_id$fe72a230-9546-4962-82a8-c5980fb297b1depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$8a7d114b-eca7-47db-8191-8052ffc226b8queued¤logsrunning¦outputbody@ mimeimage/svg+xmlrootassigneelast_run_timestampA10°persist_js_state·has_pluto_hook_features§cell_id$8a7d114b-eca7-47db-8191-8052ffc226b8depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$dd2084d0-e587-4afa-bd17-d79f1260091equeued¤logsrunning¦outputbody16×16 SparseArrays.SparseMatrixCSC{ComplexF64, Int64} with 2 stored entries: ⎡⠀⠀⠀⠀⠀⠐⠀⠀⎤ ⎢⠀⠀⠀⠀⠀⠀⠀⠁⎥ ⎢⠀⠀⠀⠀⠀⠀⠀⠀⎥ ⎣⠀⠀⠀⠀⠀⠀⠀⠀⎦mimetext/plainrootassigneedifflast_run_timestampA1oͫpersist_js_state·has_pluto_hook_features§cell_id$dd2084d0-e587-4afa-bd17-d79f1260091edepends_on_disabled_cells§runtimeCpublished_object_keysdepends_on_skipped_cells§errored$573dbc48-530a-4f52-8864-18aad432c147queued¤logsrunning¦outputbody9.813077866773595e-18mimetext/plainrootassigneelast_run_timestampA1Q7persist_js_state·has_pluto_hook_features§cell_id$573dbc48-530a-4f52-8864-18aad432c147depends_on_disabled_cells§runtimeIpublished_object_keysdepends_on_skipped_cells§errored$a286612a-2119-4860-9911-00eaa4ddebb9queued¤logsrunning¦outputbodyȪw mimeimage/svg+xmlrootassigneelast_run_timestampA1Eipersist_js_state·has_pluto_hook_features§cell_id$a286612a-2119-4860-9911-00eaa4ddebb9depends_on_disabled_cells§runtime published_object_keysdepends_on_skipped_cells§errored$0d20207a-ac00-483e-a1db-e0755845a7e6queued¤logsrunning¦outputbodyّ

to simulate the dynamics of a coherent superposition of |0⟩ and |1⟩ as an initial state, over a time grid

mimetext/htmlrootassigneelast_run_timestampA1Ypersist_js_state·has_pluto_hook_features§cell_id$0d20207a-ac00-483e-a1db-e0755845a7e6depends_on_disabled_cells§runtime׵published_object_keysdepends_on_skipped_cells§errored$cb5f6496-3170-4f07-808a-c641c98469d7queued¤logsrunning¦outputbodyprefixComplexF64elements1.0+0.0imtext/plain0.0+0.0imtext/plaintypeArrayprefix_shortobjectid7bf3bf5e72ffac27mime!application/vnd.pluto.tree+objectrootassigneeket0last_run_timestampA1 $persist_js_state·has_pluto_hook_features§cell_id$cb5f6496-3170-4f07-808a-c641c98469d7depends_on_disabled_cells§runtimedpublished_object_keysdepends_on_skipped_cells§errored$46b81556-c322-4d06-8a8d-5e69caefff63queued¤logsrunning¦outputbodyprefixStringelements"00"text/plain"01"text/plain"10"text/plain"11"text/plaintypeArrayprefix_shortobjectidf91b535f7e86ab5mime!application/vnd.pluto.tree+objectrootassigneecomposite_labelslast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$46b81556-c322-4d06-8a8d-5e69caefff63depends_on_disabled_cells§runtime

We repeat this analysis for the second candidate of a Liouvillian, with two Liouville operators.

The population dynamics in the combined system looks unsuspicious:

mimetext/htmlrootassigneelast_run_timestampA1Ԑ~persist_js_state·has_pluto_hook_features§cell_id$d45416d2-ba22-43d3-bc6a-6e7edf050be8depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$296fa066-fc76-4a1b-9d70-57c0fe080966queued¤logsrunning¦outputbody16×16 SparseArrays.SparseMatrixCSC{ComplexF64, Int64} with 16 stored entries: ⎡⠀⢄⠀⠀⠀⠑⠀⠀⎤ ⎢⠀⠀⠀⢄⠀⠀⠀⠑⎥ ⎢⠀⠀⠀⠀⠑⢄⠀⠀⎥ ⎣⠀⠀⠀⠀⠀⠀⠑⢄⎦mimetext/plainrootassigneeL1last_run_timestampA1bpersist_js_state·has_pluto_hook_features§cell_id$296fa066-fc76-4a1b-9d70-57c0fe080966depends_on_disabled_cells§runtime^published_object_keysdepends_on_skipped_cells§errored$9e8682c2-0e3d-4515-bb1f-28a8d339402aqueued¤logsrunning¦outputbodyټ

As we expect, the population deviates from the initial superposition only for the first system.

Lastly, we look at the purity in the sub-systems:

mimetext/htmlrootassigneelast_run_timestampA1>persist_js_state·has_pluto_hook_features§cell_id$9e8682c2-0e3d-4515-bb1f-28a8d339402adepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5queued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1gFpersist_js_state·has_pluto_hook_features§cell_id$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5depends_on_disabled_cells§runtimenOpublished_object_keysdepends_on_skipped_cells§errored$3a19ed7c-0c11-4415-a397-e8c195d966c8queued¤logsrunning¦outputbodyg

Again, we see the purity deviating from 1 only in the first system.

mimetext/htmlrootassigneelast_run_timestampA1Ypersist_js_state·has_pluto_hook_features§cell_id$3a19ed7c-0c11-4415-a397-e8c195d966c8depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$07ac2aab-759e-4aea-afa4-dbdb46568fc7queued¤logsrunning¦outputbodyQ

It might be interesting to further look into the interpretation of exactly how these matrix elements affect the dynamics. But in lieue of that, we'll simply simulate the dynamics.

As the initial state, we'll use a coherent superposition both in the first and in the second TLS:

mimetext/htmlrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$07ac2aab-759e-4aea-afa4-dbdb46568fc7depends_on_disabled_cells§runtime$published_object_keysdepends_on_skipped_cells§errored$ebad3a75-a9e9-4573-8d97-525ce8421fa1queued¤logsrunning¦outputbodyprefixComplexF64elements0.707107+0.0imtext/plain0.707107+0.0imtext/plaintypeArrayprefix_shortobjectid1bf4dcb8355cd5c4mime!application/vnd.pluto.tree+objectrootassigneeΨ₀last_run_timestampA1Axpersist_js_state·has_pluto_hook_features§cell_id$ebad3a75-a9e9-4573-8d97-525ce8421fa1depends_on_disabled_cells§runtimeS published_object_keysdepends_on_skipped_cells§errored$4df2b6b2-8e4e-11f0-3732-a75c62505eb7queued¤logsrunning¦outputbodyP mimetext/htmlrootassigneelast_run_timestampA1@ͧpersist_js_state·has_pluto_hook_features§cell_id$4df2b6b2-8e4e-11f0-3732-a75c62505eb7depends_on_disabled_cells§runtimeK%published_object_keysdepends_on_skipped_cells§errored$906eb8c1-c1bc-4c61-8e22-8ab6eb91182fqueued¤logsrunning¦outputbodyٍ

Now, we can compare the dynamics under our two candidate Liouvillian L1 and L2:

mimetext/htmlrootassigneelast_run_timestampA1҆persist_js_state·has_pluto_hook_features§cell_id$906eb8c1-c1bc-4c61-8e22-8ab6eb91182fdepends_on_disabled_cells§runtime<&published_object_keysdepends_on_skipped_cells§errored$ba6711cb-c036-4db8-953d-d9d71eaba585queued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1!ɰpersist_js_state·has_pluto_hook_features§cell_id$ba6711cb-c036-4db8-953d-d9d71eaba585depends_on_disabled_cells§runtimeFApublished_object_keysdepends_on_skipped_cells§errored$b958e41a-493c-4566-aebb-161868f15bcaqueued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1װpersist_js_state·has_pluto_hook_features§cell_id$b958e41a-493c-4566-aebb-161868f15bcadepends_on_disabled_cells§runtime'published_object_keysdepends_on_skipped_cells§errored$95c10e78-c60b-4bd0-9558-1858f80e157dqueued¤logsrunning¦outputbodyU

But the dynamics are certainly not identical!

mimetext/htmlrootassigneelast_run_timestampA1Ԫ&persist_js_state·has_pluto_hook_features§cell_id$95c10e78-c60b-4bd0-9558-1858f80e157ddepends_on_disabled_cells§runtime0published_object_keysdepends_on_skipped_cells§errored$148ac275-d22b-444e-bd2e-507decd5188equeued¤logsrunning¦outputbodyprefixComplexF64elements0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain 0.25+0.0imtext/plain 0.25+0.0imtext/plain 0.25+0.0imtext/plain 0.25+0.0imtext/plain 0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plain0.25+0.0imtext/plaintypeArrayprefix_shortobjectid98c65c1778bad3b2mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA1persist_js_state·has_pluto_hook_features§cell_id$148ac275-d22b-444e-bd2e-507decd5188edepends_on_disabled_cells§runtime&2published_object_keysdepends_on_skipped_cells§errored$2f65cb30-99b2-4e68-bb77-1feae4c8be00queued¤logsrunning¦outputbodyprefixComplexF64elements0.5+0.0imtext/plain0.5+0.0imtext/plain0.5+0.0imtext/plain0.5+0.0imtext/plaintypeArrayprefix_shortobjectid2c89ee7d7adcbe16mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA1Rpersist_js_state·has_pluto_hook_features§cell_id$2f65cb30-99b2-4e68-bb77-1feae4c8be00depends_on_disabled_cells§runtime;published_object_keysdepends_on_skipped_cells§errored$69fdfe8d-0de8-4c61-ace2-b20f70af52dequeued¤logsrunning¦outputbodyprefixFloat64elements0.0text/plain0.01text/plain0.02text/plain0.03text/plain0.04text/plain0.05text/plain0.06text/plain0.07text/plain 0.08text/plain 0.09text/plain 0.1text/plain 0.11text/plain 0.12text/plain0.13text/plain0.14text/plain0.15text/plain0.16text/plain0.17text/plain0.18text/plain0.19text/plainmore9.91text/plainᒤ9.92text/plain⒤9.93text/plain㒤9.94text/plain䒤9.95text/plain咤9.96text/plain撤9.97text/plain璤9.98text/plain蒤9.99text/plain钤10.0text/plaintypeArrayprefix_shortobjectidee59073bce67642cmime!application/vnd.pluto.tree+objectrootassigneetlistlast_run_timestampA19yBpersist_js_state·has_pluto_hook_features§cell_id$69fdfe8d-0de8-4c61-ace2-b20f70af52dedepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$855b56e1-c95b-41e5-a933-57d6686a3c1equeued¤logsrunning¦outputbodyprefixStringelements"|01⟩⟨00| ↔ |11⟩⟨10|"text/plain"|00⟩⟨01| ↔ |10⟩⟨11|"text/plaintypeArrayprefix_shortobjectid52337ba5ed03e9fcmime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA1epersist_js_state·has_pluto_hook_features§cell_id$855b56e1-c95b-41e5-a933-57d6686a3c1edepends_on_disabled_cells§runtimef.published_object_keysdepends_on_skipped_cells§errored$6d064572-5af2-463b-8091-fb3defd36ef4queued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1gpersist_js_state·has_pluto_hook_features§cell_id$6d064572-5af2-463b-8091-fb3defd36ef4depends_on_disabled_cells§runtimewApublished_object_keysdepends_on_skipped_cells§errored$109055a1-edc4-4c83-8262-99cdcae5b1a5queued¤logsrunning¦outputbodyp4×1001 Matrix{ComplexF64}: 0.5+0.0im 0.5005-2.38069e-26im 0.500999-8.06994e-26im … 0.81606+7.9742e-22im 0.5+0.0im 0.49975-3.10011e-29im 0.4995+3.71318e-28im 0.303265-3.35173e-18im 0.5+0.0im 0.49975-3.10011e-29im 0.4995+3.71318e-28im 0.303265-3.35173e-18im 0.5+0.0im 0.4995+1.80587e-26im 0.499001+4.51017e-26im 0.18394-5.27352e-23immimetext/plainrootassigneestateslast_run_timestampA1 'persist_js_state·has_pluto_hook_features§cell_id$109055a1-edc4-4c83-8262-99cdcae5b1a5depends_on_disabled_cells§runtime捻published_object_keysdepends_on_skipped_cells§errored$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fqueued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA1gs*persist_js_state·has_pluto_hook_features§cell_id$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fdepends_on_disabled_cells§runtime2published_object_keysdepends_on_skipped_cells§errored$2e405a3e-4b5e-489e-a651-5792ae26e089queued¤logsrunning¦outputbody)2×2 Matrix{Float64}: 1.0 0.0 0.0 1.0mimetext/plainrootassignee𝟙last_run_timestampA1Tذpersist_js_state·has_pluto_hook_features§cell_id$2e405a3e-4b5e-489e-a651-5792ae26e089depends_on_disabled_cells§runtime?Rpublished_object_keysdepends_on_skipped_cells§errored$0a7a7970-d66d-41ca-8cb8-7180d288c9e6queued¤logsrunning¦outputbodyl mimeimage/svg+xmlrootassigneelast_run_timestampA1&-persist_js_state·has_pluto_hook_features§cell_id$0a7a7970-d66d-41ca-8cb8-7180d288c9e6depends_on_disabled_cells§runtimeW ĵpublished_object_keysdepends_on_skipped_cells§errored±cell_dependenciesY$a41f348d-7d13-4fd1-b7c7-abef440cf9b1precedence_heuristic cell_id$a41f348d-7d13-4fd1-b7c7-abef440cf9b1downstream_cells_mapupstream_cells_map@md_strgetindex$777eefbd-a782-4388-af28-987fa43ef205precedence_heuristic cell_id$777eefbd-a782-4388-af28-987fa43ef205downstream_cells_mapupstream_cells_map@md_strgetindex$a3fd0098-e0a1-4e9e-859f-37f1064cce29precedence_heuristic cell_id$a3fd0098-e0a1-4e9e-859f-37f1064cce29downstream_cells_mapupstream_cells_maplengthpops$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0:hcattlist$69fdfe8d-0de8-4c61-ace2-b20f70af52deplotstates_composite1$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2adjointconj$8cd9f807-6b19-4aae-b222-1560f04c3afbprecedence_heuristic cell_id$8cd9f807-6b19-4aae-b222-1560f04c3afbdownstream_cells_mappartial_trace$11ea567a-74dd-4a87-9695-7dfeccf49c0e$2f65cb30-99b2-4e68-bb77-1feae4c8be00$28a8661d-e5f5-4ecd-82d2-bb4f64c36039$573dbc48-530a-4f52-8864-18aad432c147$e210cf9e-a5d6-4d48-83e1-200008a1d9d3$8a7d114b-eca7-47db-8191-8052ffc226b8$3fca1322-b88c-4016-81d1-44a3a8013e32$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33deupstream_cells_map@assertTuple>islesslength<≥Base.require_one_based_indexing^eltype==Base.AssertionError@doc:Base.throwerror@raw_strzeros#___this_pluto_module_nameAnyBase-reshape>=+Union*ndims$91ab02a1-65b0-43c4-99f3-08dbc274e0edprecedence_heuristic cell_id$91ab02a1-65b0-43c4-99f3-08dbc274e0eddownstream_cells_mapJNZ$855b56e1-c95b-41e5-a933-57d6686a3c1eINZ$855b56e1-c95b-41e5-a933-57d6686a3c1eVNZupstream_cells_mapfindnz$6d064572-5af2-463b-8091-fb3defd36ef4diff$dd2084d0-e587-4afa-bd17-d79f1260091e$233b2763-5612-4786-9df0-17a6bdd10912precedence_heuristic cell_id$233b2763-5612-4786-9df0-17a6bdd10912downstream_cells_mapupstream_cells_map@md_strgetindex$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33deprecedence_heuristic cell_id$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33dedownstream_cells_mapupstream_cells_maplength:plottlist$69fdfe8d-0de8-4c61-ace2-b20f70af52deplot!purity$629a5a46-0bea-4762-9c89-78c07cb43c72partial_trace$8cd9f807-6b19-4aae-b222-1560f04c3afbstates_composite2$b958e41a-493c-4566-aebb-161868f15bca$4c62e504-4ab5-4eec-a2bc-0967f7a7ae64precedence_heuristic cell_id$4c62e504-4ab5-4eec-a2bc-0967f7a7ae64downstream_cells_mapupstream_cells_map@md_strgetindex$107f5cb1-6f79-483a-bbd2-e292a1592986precedence_heuristic cell_id$107f5cb1-6f79-483a-bbd2-e292a1592986downstream_cells_mapupstream_cells_map@md_strgetindex$e300efca-2800-4c0c-b915-ec8e4f81b292precedence_heuristic cell_id$e300efca-2800-4c0c-b915-ec8e4f81b292downstream_cells_mapupstream_cells_map@md_strgetindex$dd8f6890-5234-4b1c-8ed7-b6d370c86876precedence_heuristic cell_id$dd8f6890-5234-4b1c-8ed7-b6d370c86876downstream_cells_map⊗$296fa066-fc76-4a1b-9d70-57c0fe080966$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998$452f72e9-6817-45db-a514-23ddd0a4ebb2upstream_cells_mapkron$4df2b6b2-8e4e-11f0-3732-a75c62505eb7$89d0de66-b78a-4f0f-9134-84ca622f2ca3precedence_heuristic cell_id$89d0de66-b78a-4f0f-9134-84ca622f2ca3downstream_cells_mapupstream_cells_map@md_strgetindex$531a7b9d-60bc-416e-9260-5757a4cc093cprecedence_heuristic cell_id$531a7b9d-60bc-416e-9260-5757a4cc093cdownstream_cells_mapupstream_cells_map@md_strgetindex$0a3cef9f-4dd7-4469-b4ae-18c4e3093cedprecedence_heuristic cell_id$0a3cef9f-4dd7-4469-b4ae-18c4e3093ceddownstream_cells_mapγ$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05upstream_cells_map$72010ae9-8300-41bb-a10b-37927cd8e000precedence_heuristic cell_id$72010ae9-8300-41bb-a10b-37927cd8e000downstream_cells_mapupstream_cells_map@md_strgetindex$e210cf9e-a5d6-4d48-83e1-200008a1d9d3precedence_heuristic cell_id$e210cf9e-a5d6-4d48-83e1-200008a1d9d3downstream_cells_mapupstream_cells_map:hcatadjointlengthpops$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0plottlist$69fdfe8d-0de8-4c61-ace2-b20f70af52deplot!states_composite1$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2partial_trace$8cd9f807-6b19-4aae-b222-1560f04c3afbconj$c0342b62-302d-470c-9e96-128905bbe848precedence_heuristic cell_id$c0342b62-302d-470c-9e96-128905bbe848downstream_cells_mapupstream_cells_map@md_strgetindex$113410b5-64b3-4fcb-9263-9ba89a013107precedence_heuristic cell_id$113410b5-64b3-4fcb-9263-9ba89a013107downstream_cells_mapupstream_cells_map@md_strgetindex$a36ca5a6-f584-4bba-8e21-968bda4d5190precedence_heuristic cell_id$a36ca5a6-f584-4bba-8e21-968bda4d5190downstream_cells_mapupstream_cells_map@md_strgetindex$f5d72c44-185e-40f9-be10-50ca467ae8bfprecedence_heuristic cell_id$f5d72c44-185e-40f9-be10-50ca467ae8bfdownstream_cells_mapupstream_cells_map@md_strgetindex$28a8661d-e5f5-4ecd-82d2-bb4f64c36039precedence_heuristic cell_id$28a8661d-e5f5-4ecd-82d2-bb4f64c36039downstream_cells_mapupstream_cells_map_C$452f72e9-6817-45db-a514-23ddd0a4ebb2-norm$4df2b6b2-8e4e-11f0-3732-a75c62505eb7partial_trace$8cd9f807-6b19-4aae-b222-1560f04c3afb_B$f3d99a0a-2188-4cb1-81d9-9670ece84610$6b05ff89-52e0-4af1-8460-052222ebe93eprecedence_heuristic cell_id$6b05ff89-52e0-4af1-8460-052222ebe93edownstream_cells_mapupstream_cells_map:purity$629a5a46-0bea-4762-9c89-78c07cb43c72states$109055a1-edc4-4c83-8262-99cdcae5b1a5end$452f72e9-6817-45db-a514-23ddd0a4ebb2precedence_heuristic cell_id$452f72e9-6817-45db-a514-23ddd0a4ebb2downstream_cells_map_C$28a8661d-e5f5-4ecd-82d2-bb4f64c36039$573dbc48-530a-4f52-8864-18aad432c147upstream_cells_map_A$a734c0b3-eef1-43a7-801c-81b5fdda1219_B$f3d99a0a-2188-4cb1-81d9-9670ece84610⊗$dd8f6890-5234-4b1c-8ed7-b6d370c86876$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9eprecedence_heuristic cell_id$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9edownstream_cells_mapupstream_cells_mappops$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0:states$109055a1-edc4-4c83-8262-99cdcae5b1a5$f3d99a0a-2188-4cb1-81d9-9670ece84610precedence_heuristic cell_id$f3d99a0a-2188-4cb1-81d9-9670ece84610downstream_cells_mapΨ_B_B$452f72e9-6817-45db-a514-23ddd0a4ebb2$28a8661d-e5f5-4ecd-82d2-bb4f64c36039upstream_cells_map*adjointconjrandom_state_vector$ba6711cb-c036-4db8-953d-d9d71eaba585$629a5a46-0bea-4762-9c89-78c07cb43c72precedence_heuristic cell_id$629a5a46-0bea-4762-9c89-78c07cb43c72downstream_cells_mappurity$a286612a-2119-4860-9911-00eaa4ddebb9$5adbc0dd-f040-4d8f-b960-593edf3c1b3c$6b05ff89-52e0-4af1-8460-052222ebe93e$8a7d114b-eca7-47db-8191-8052ffc226b8$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33deupstream_cells_maptrace$4df2b6b2-8e4e-11f0-3732-a75c62505eb7@assertsizelengthisqrtreshape^AssertionErrorthrow==abs$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998precedence_heuristic cell_id$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998downstream_cells_mapρ₀_composite$148ac275-d22b-444e-bd2e-507decd5188e$11ea567a-74dd-4a87-9695-7dfeccf49c0e$2f65cb30-99b2-4e68-bb77-1feae4c8be00$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2$b958e41a-493c-4566-aebb-161868f15bcaupstream_cells_mapΨ₀$ebad3a75-a9e9-4573-8d97-525ce8421fa1:reshape*adjointconj⊗$dd8f6890-5234-4b1c-8ed7-b6d370c86876$11ea567a-74dd-4a87-9695-7dfeccf49c0eprecedence_heuristic cell_id$11ea567a-74dd-4a87-9695-7dfeccf49c0edownstream_cells_mapupstream_cells_mapρ₀_composite$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998partial_trace$8cd9f807-6b19-4aae-b222-1560f04c3afb$a734c0b3-eef1-43a7-801c-81b5fdda1219precedence_heuristic cell_id$a734c0b3-eef1-43a7-801c-81b5fdda1219downstream_cells_mapΨ_A_A$452f72e9-6817-45db-a514-23ddd0a4ebb2$573dbc48-530a-4f52-8864-18aad432c147upstream_cells_map*adjointconjrandom_state_vector$ba6711cb-c036-4db8-953d-d9d71eaba585$f8d76484-05e6-4a72-98c8-3f33b06f4306precedence_heuristic cell_id$f8d76484-05e6-4a72-98c8-3f33b06f4306downstream_cells_mapupstream_cells_map@md_strgetindex$20eb5f97-ca69-434d-80ec-5c99b8f153c1precedence_heuristic cell_id$20eb5f97-ca69-434d-80ec-5c99b8f153c1downstream_cells_mapsuperop_labels$855b56e1-c95b-41e5-a933-57d6686a3c1eupstream_cells_map:reshapecomposite_labels$46b81556-c322-4d06-8a8d-5e69caefff63$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2precedence_heuristic cell_id$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2downstream_cells_mapstates_composite1$a3fd0098-e0a1-4e9e-859f-37f1064cce29$e210cf9e-a5d6-4d48-83e1-200008a1d9d3$8a7d114b-eca7-47db-8191-8052ffc226b8$29b3077f-fe4a-4ed9-910b-532af7b5684bupstream_cells_mapL1$296fa066-fc76-4a1b-9d70-57c0fe080966Newton$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fρ₀_composite$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998propagate$28f7b3c0-be79-4d30-99b1-dd90f9f30b3ftlist$69fdfe8d-0de8-4c61-ace2-b20f70af52de$378380e4-7043-434d-8933-72b36e3a8981precedence_heuristic cell_id$378380e4-7043-434d-8933-72b36e3a8981downstream_cells_mapL$109055a1-edc4-4c83-8262-99cdcae5b1a5upstream_cells_mapA$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05liouvillian$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5H$0d819a8e-95d8-43e4-846d-1b1a44cb9214$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0precedence_heuristic cell_id$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0downstream_cells_mappops$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9e$0a7a7970-d66d-41ca-8cb8-7180d288c9e6$a3fd0098-e0a1-4e9e-859f-37f1064cce29$e210cf9e-a5d6-4d48-83e1-200008a1d9d3$b307c37f-2395-4806-a35f-a9118bb9adf9$3fca1322-b88c-4016-81d1-44a3a8013e32upstream_cells_maperrorFloat64size==abs$337e927c-6c23-4afe-9a62-bf30f3a12c0aprecedence_heuristic cell_id$337e927c-6c23-4afe-9a62-bf30f3a12c0adownstream_cells_mapupstream_cells_map@md_strgetindex$a86b96af-f20d-48ac-b493-12204567a21cprecedence_heuristic cell_id$a86b96af-f20d-48ac-b493-12204567a21cdownstream_cells_mapupstream_cells_map@md_strgetindex$b2ac08e1-8e2a-43ad-bb49-7441408d0571precedence_heuristic cell_id$b2ac08e1-8e2a-43ad-bb49-7441408d0571downstream_cells_mapupstream_cells_map@md_strgetindex$9fa924d6-f287-4f6c-b5b6-1adb4909318cprecedence_heuristic cell_id$9fa924d6-f287-4f6c-b5b6-1adb4909318cdownstream_cells_mapupstream_cells_map@md_strgetindex$90ff733c-01ac-48d0-a6b6-faa5021a8a9bprecedence_heuristiccell_id$90ff733c-01ac-48d0-a6b6-faa5021a8a9bdownstream_cells_mapLinearAlgebraupstream_cells_map$208b3fda-4263-4f7d-b73d-25eedd1771aaprecedence_heuristic cell_id$208b3fda-4263-4f7d-b73d-25eedd1771aadownstream_cells_mapupstream_cells_map@md_strgetindex$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05precedence_heuristic cell_id$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05downstream_cells_mapA$378380e4-7043-434d-8933-72b36e3a8981$296fa066-fc76-4a1b-9d70-57c0fe080966$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6upstream_cells_mapγ$0a3cef9f-4dd7-4469-b4ae-18c4e3093cedsqrt√*ket1$6aa6f586-9977-476f-a306-73345c0bbc30adjointconjket0$cb5f6496-3170-4f07-808a-c641c98469d7$1799c3d7-97c9-4602-9a02-7a0691ddf80eprecedence_heuristic cell_id$1799c3d7-97c9-4602-9a02-7a0691ddf80edownstream_cells_mapupstream_cells_map@md_strgetindex$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6precedence_heuristic cell_id$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6downstream_cells_mapL2$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5$dd2084d0-e587-4afa-bd17-d79f1260091e$b958e41a-493c-4566-aebb-161868f15bcaupstream_cells_mapA$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05𝟙$2e405a3e-4b5e-489e-a651-5792ae26e089adjointliouvillian$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5⊗$dd8f6890-5234-4b1c-8ed7-b6d370c86876ket1$6aa6f586-9977-476f-a306-73345c0bbc30+*conjH$0d819a8e-95d8-43e4-846d-1b1a44cb9214ket0$cb5f6496-3170-4f07-808a-c641c98469d7$f3bd26e5-f6d4-4833-88aa-01ba389451b1precedence_heuristic cell_id$f3bd26e5-f6d4-4833-88aa-01ba389451b1downstream_cells_mapupstream_cells_map@md_strgetindex$8e9523fc-2810-4370-b1cc-e159b588ea83precedence_heuristic cell_id$8e9523fc-2810-4370-b1cc-e159b588ea83downstream_cells_mapupstream_cells_map@md_strgetindex$9029c42e-462d-4bc6-9d9f-edc53fb28dedprecedence_heuristic cell_id$9029c42e-462d-4bc6-9d9f-edc53fb28deddownstream_cells_mapupstream_cells_map@md_strgetindex$6aa6f586-9977-476f-a306-73345c0bbc30precedence_heuristic cell_id$6aa6f586-9977-476f-a306-73345c0bbc30downstream_cells_mapket1$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05$ebad3a75-a9e9-4573-8d97-525ce8421fa1$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6upstream_cells_mapComplexF64$e06b72c2-913d-4de9-8ef1-af12a1a2b8c8precedence_heuristic cell_id$e06b72c2-913d-4de9-8ef1-af12a1a2b8c8downstream_cells_mapupstream_cells_map@md_strgetindex$0d819a8e-95d8-43e4-846d-1b1a44cb9214precedence_heuristic cell_id$0d819a8e-95d8-43e4-846d-1b1a44cb9214downstream_cells_mapH$378380e4-7043-434d-8933-72b36e3a8981$296fa066-fc76-4a1b-9d70-57c0fe080966$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6upstream_cells_map$50703d4a-b742-4ccb-9f1a-2171d94e5e0aprecedence_heuristic cell_id$50703d4a-b742-4ccb-9f1a-2171d94e5e0adownstream_cells_mapupstream_cells_map@md_strgetindex$3fca1322-b88c-4016-81d1-44a3a8013e32precedence_heuristic cell_id$3fca1322-b88c-4016-81d1-44a3a8013e32downstream_cells_mapupstream_cells_map:hcatstates_composite2$b958e41a-493c-4566-aebb-161868f15bcaadjointlengthpops$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0plottlist$69fdfe8d-0de8-4c61-ace2-b20f70af52deplot!partial_trace$8cd9f807-6b19-4aae-b222-1560f04c3afbconj$29b3077f-fe4a-4ed9-910b-532af7b5684bprecedence_heuristic cell_id$29b3077f-fe4a-4ed9-910b-532af7b5684bdownstream_cells_mapupstream_cells_map-states_composite1$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2norm$4df2b6b2-8e4e-11f0-3732-a75c62505eb7states_composite2$b958e41a-493c-4566-aebb-161868f15bca$96b3bbd3-966c-4912-82cc-ff01f089f066precedence_heuristic cell_id$96b3bbd3-966c-4912-82cc-ff01f089f066downstream_cells_mapρ₀$109055a1-edc4-4c83-8262-99cdcae5b1a5upstream_cells_map:reshape*adjointconjΨ₀$ebad3a75-a9e9-4573-8d97-525ce8421fa1$d565abf9-4b59-429e-834c-d390017a5b53precedence_heuristic cell_id$d565abf9-4b59-429e-834c-d390017a5b53downstream_cells_mapupstream_cells_map@md_strgetindex$b307c37f-2395-4806-a35f-a9118bb9adf9precedence_heuristic cell_id$b307c37f-2395-4806-a35f-a9118bb9adf9downstream_cells_mapupstream_cells_maplengthpops$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0:hcattlist$69fdfe8d-0de8-4c61-ace2-b20f70af52deplotstates_composite2$b958e41a-493c-4566-aebb-161868f15bcaadjointconj$6fdf587d-4555-445e-b392-5ddc99c34bb6precedence_heuristic cell_id$6fdf587d-4555-445e-b392-5ddc99c34bb6downstream_cells_mapupstream_cells_map@md_strgetindex$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5precedence_heuristic cell_id$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5downstream_cells_mapupstream_cells_mapL2$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6L1$296fa066-fc76-4a1b-9d70-57c0fe080966-norm$4df2b6b2-8e4e-11f0-3732-a75c62505eb7$e944732c-ab82-4b09-b9e6-7fc8df1dbcbaprecedence_heuristic cell_id$e944732c-ab82-4b09-b9e6-7fc8df1dbcbadownstream_cells_mapupstream_cells_map@md_strgetindex$9d5ee94b-250a-4062-8d97-b7f789edce25precedence_heuristic cell_id$9d5ee94b-250a-4062-8d97-b7f789edce25downstream_cells_mapupstream_cells_map@md_strgetindex$5adbc0dd-f040-4d8f-b960-593edf3c1b3cprecedence_heuristic cell_id$5adbc0dd-f040-4d8f-b960-593edf3c1b3cdownstream_cells_mapupstream_cells_map:purity$629a5a46-0bea-4762-9c89-78c07cb43c72states$109055a1-edc4-4c83-8262-99cdcae5b1a5$fe72a230-9546-4962-82a8-c5980fb297b1precedence_heuristic cell_id$fe72a230-9546-4962-82a8-c5980fb297b1downstream_cells_mapupstream_cells_map@md_strgetindex$8a7d114b-eca7-47db-8191-8052ffc226b8precedence_heuristic cell_id$8a7d114b-eca7-47db-8191-8052ffc226b8downstream_cells_mapupstream_cells_maplength:plottlist$69fdfe8d-0de8-4c61-ace2-b20f70af52deplot!states_composite1$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2purity$629a5a46-0bea-4762-9c89-78c07cb43c72partial_trace$8cd9f807-6b19-4aae-b222-1560f04c3afb$dd2084d0-e587-4afa-bd17-d79f1260091eprecedence_heuristic cell_id$dd2084d0-e587-4afa-bd17-d79f1260091edownstream_cells_mapdiff$91ab02a1-65b0-43c4-99f3-08dbc274e0edupstream_cells_mapL2$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6L1$296fa066-fc76-4a1b-9d70-57c0fe080966-$573dbc48-530a-4f52-8864-18aad432c147precedence_heuristic cell_id$573dbc48-530a-4f52-8864-18aad432c147downstream_cells_mapupstream_cells_map_A$a734c0b3-eef1-43a7-801c-81b5fdda1219_C$452f72e9-6817-45db-a514-23ddd0a4ebb2-norm$4df2b6b2-8e4e-11f0-3732-a75c62505eb7partial_trace$8cd9f807-6b19-4aae-b222-1560f04c3afb$a286612a-2119-4860-9911-00eaa4ddebb9precedence_heuristic cell_id$a286612a-2119-4860-9911-00eaa4ddebb9downstream_cells_mapupstream_cells_maplength:plottlist$69fdfe8d-0de8-4c61-ace2-b20f70af52depurity$629a5a46-0bea-4762-9c89-78c07cb43c72states$109055a1-edc4-4c83-8262-99cdcae5b1a5$0d20207a-ac00-483e-a1db-e0755845a7e6precedence_heuristic cell_id$0d20207a-ac00-483e-a1db-e0755845a7e6downstream_cells_mapupstream_cells_map@md_strgetindex$cb5f6496-3170-4f07-808a-c641c98469d7precedence_heuristic cell_id$cb5f6496-3170-4f07-808a-c641c98469d7downstream_cells_mapket0$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05$ebad3a75-a9e9-4573-8d97-525ce8421fa1$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6upstream_cells_mapComplexF64$46b81556-c322-4d06-8a8d-5e69caefff63precedence_heuristic cell_id$46b81556-c322-4d06-8a8d-5e69caefff63downstream_cells_mapcomposite_labels$20eb5f97-ca69-434d-80ec-5c99b8f153c1upstream_cells_map$d45416d2-ba22-43d3-bc6a-6e7edf050be8precedence_heuristic cell_id$d45416d2-ba22-43d3-bc6a-6e7edf050be8downstream_cells_mapupstream_cells_map@md_strgetindex$296fa066-fc76-4a1b-9d70-57c0fe080966precedence_heuristic cell_id$296fa066-fc76-4a1b-9d70-57c0fe080966downstream_cells_mapL1$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5$dd2084d0-e587-4afa-bd17-d79f1260091e$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2upstream_cells_mapA$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05+𝟙$2e405a3e-4b5e-489e-a651-5792ae26e089liouvillian$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5H$0d819a8e-95d8-43e4-846d-1b1a44cb9214⊗$dd8f6890-5234-4b1c-8ed7-b6d370c86876$9e8682c2-0e3d-4515-bb1f-28a8d339402aprecedence_heuristic cell_id$9e8682c2-0e3d-4515-bb1f-28a8d339402adownstream_cells_mapupstream_cells_map@md_strgetindex$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5precedence_heuristiccell_id$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5downstream_cells_mapliouvillian$378380e4-7043-434d-8933-72b36e3a8981$296fa066-fc76-4a1b-9d70-57c0fe080966$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6upstream_cells_map$3a19ed7c-0c11-4415-a397-e8c195d966c8precedence_heuristic cell_id$3a19ed7c-0c11-4415-a397-e8c195d966c8downstream_cells_mapupstream_cells_map@md_strgetindex$07ac2aab-759e-4aea-afa4-dbdb46568fc7precedence_heuristic cell_id$07ac2aab-759e-4aea-afa4-dbdb46568fc7downstream_cells_mapupstream_cells_map@md_strgetindex$ebad3a75-a9e9-4573-8d97-525ce8421fa1precedence_heuristic cell_id$ebad3a75-a9e9-4573-8d97-525ce8421fa1downstream_cells_mapΨ₀$96b3bbd3-966c-4912-82cc-ff01f089f066$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998upstream_cells_mapsqrt/√+ket1$6aa6f586-9977-476f-a306-73345c0bbc30ket0$cb5f6496-3170-4f07-808a-c641c98469d7$4df2b6b2-8e4e-11f0-3732-a75c62505eb7precedence_heuristiccell_id$4df2b6b2-8e4e-11f0-3732-a75c62505eb7downstream_cells_maptrace$629a5a46-0bea-4762-9c89-78c07cb43c72PlutoUIPlotskron$dd8f6890-5234-4b1c-8ed7-b6d370c86876norm$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5$28a8661d-e5f5-4ecd-82d2-bb4f64c36039$573dbc48-530a-4f52-8864-18aad432c147$29b3077f-fe4a-4ed9-910b-532af7b5684bupstream_cells_mapTableOfContents$906eb8c1-c1bc-4c61-8e22-8ab6eb91182fprecedence_heuristic cell_id$906eb8c1-c1bc-4c61-8e22-8ab6eb91182fdownstream_cells_mapupstream_cells_map@md_strgetindex$ba6711cb-c036-4db8-953d-d9d71eaba585precedence_heuristiccell_id$ba6711cb-c036-4db8-953d-d9d71eaba585downstream_cells_maprandom_state_vector$a734c0b3-eef1-43a7-801c-81b5fdda1219$f3d99a0a-2188-4cb1-81d9-9670ece84610upstream_cells_map$b958e41a-493c-4566-aebb-161868f15bcaprecedence_heuristic cell_id$b958e41a-493c-4566-aebb-161868f15bcadownstream_cells_mapstates_composite2$b307c37f-2395-4806-a35f-a9118bb9adf9$29b3077f-fe4a-4ed9-910b-532af7b5684b$3fca1322-b88c-4016-81d1-44a3a8013e32$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33deupstream_cells_mapL2$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6Newton$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fρ₀_composite$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998propagate$28f7b3c0-be79-4d30-99b1-dd90f9f30b3ftlist$69fdfe8d-0de8-4c61-ace2-b20f70af52de$95c10e78-c60b-4bd0-9558-1858f80e157dprecedence_heuristic cell_id$95c10e78-c60b-4bd0-9558-1858f80e157ddownstream_cells_mapupstream_cells_map@md_strgetindex$148ac275-d22b-444e-bd2e-507decd5188eprecedence_heuristic cell_id$148ac275-d22b-444e-bd2e-507decd5188edownstream_cells_mapupstream_cells_mapρ₀_composite$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998$2f65cb30-99b2-4e68-bb77-1feae4c8be00precedence_heuristic cell_id$2f65cb30-99b2-4e68-bb77-1feae4c8be00downstream_cells_mapupstream_cells_mapρ₀_composite$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998partial_trace$8cd9f807-6b19-4aae-b222-1560f04c3afb$69fdfe8d-0de8-4c61-ace2-b20f70af52deprecedence_heuristic cell_id$69fdfe8d-0de8-4c61-ace2-b20f70af52dedownstream_cells_maptlist$109055a1-edc4-4c83-8262-99cdcae5b1a5$0a7a7970-d66d-41ca-8cb8-7180d288c9e6$a286612a-2119-4860-9911-00eaa4ddebb9$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2$a3fd0098-e0a1-4e9e-859f-37f1064cce29$e210cf9e-a5d6-4d48-83e1-200008a1d9d3$8a7d114b-eca7-47db-8191-8052ffc226b8$b958e41a-493c-4566-aebb-161868f15bca$b307c37f-2395-4806-a35f-a9118bb9adf9$3fca1322-b88c-4016-81d1-44a3a8013e32$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33deupstream_cells_maprangecollect$855b56e1-c95b-41e5-a933-57d6686a3c1eprecedence_heuristic cell_id$855b56e1-c95b-41e5-a933-57d6686a3c1edownstream_cells_mapupstream_cells_mapsuperop_labels$20eb5f97-ca69-434d-80ec-5c99b8f153c1JNZ$91ab02a1-65b0-43c4-99f3-08dbc274e0edINZ$91ab02a1-65b0-43c4-99f3-08dbc274e0edzip$6d064572-5af2-463b-8091-fb3defd36ef4precedence_heuristiccell_id$6d064572-5af2-463b-8091-fb3defd36ef4downstream_cells_mapfindnz$91ab02a1-65b0-43c4-99f3-08dbc274e0edupstream_cells_map$109055a1-edc4-4c83-8262-99cdcae5b1a5precedence_heuristic cell_id$109055a1-edc4-4c83-8262-99cdcae5b1a5downstream_cells_mapstates$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9e$0a7a7970-d66d-41ca-8cb8-7180d288c9e6$a286612a-2119-4860-9911-00eaa4ddebb9$5adbc0dd-f040-4d8f-b960-593edf3c1b3c$6b05ff89-52e0-4af1-8460-052222ebe93eupstream_cells_mapNewton$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fpropagate$28f7b3c0-be79-4d30-99b1-dd90f9f30b3ftlist$69fdfe8d-0de8-4c61-ace2-b20f70af52deρ₀$96b3bbd3-966c-4912-82cc-ff01f089f066L$378380e4-7043-434d-8933-72b36e3a8981$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fprecedence_heuristiccell_id$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fdownstream_cells_mapNewton$109055a1-edc4-4c83-8262-99cdcae5b1a5$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2$b958e41a-493c-4566-aebb-161868f15bcapropagate$109055a1-edc4-4c83-8262-99cdcae5b1a5$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2$b958e41a-493c-4566-aebb-161868f15bcaupstream_cells_map$2e405a3e-4b5e-489e-a651-5792ae26e089precedence_heuristic cell_id$2e405a3e-4b5e-489e-a651-5792ae26e089downstream_cells_map𝟙$296fa066-fc76-4a1b-9d70-57c0fe080966$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6upstream_cells_map$0a7a7970-d66d-41ca-8cb8-7180d288c9e6precedence_heuristic cell_id$0a7a7970-d66d-41ca-8cb8-7180d288c9e6downstream_cells_mapupstream_cells_maplengthpops$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0:hcattlist$69fdfe8d-0de8-4c61-ace2-b20f70af52deplotadjointconjstates$109055a1-edc4-4c83-8262-99cdcae5b1a5cell_execution_orderY$4df2b6b2-8e4e-11f0-3732-a75c62505eb7$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5$28f7b3c0-be79-4d30-99b1-dd90f9f30b3f$6d064572-5af2-463b-8091-fb3defd36ef4$ba6711cb-c036-4db8-953d-d9d71eaba585$90ff733c-01ac-48d0-a6b6-faa5021a8a9b$531a7b9d-60bc-416e-9260-5757a4cc093c$a41f348d-7d13-4fd1-b7c7-abef440cf9b1$50703d4a-b742-4ccb-9f1a-2171d94e5e0a$107f5cb1-6f79-483a-bbd2-e292a1592986$0d819a8e-95d8-43e4-846d-1b1a44cb9214$cb5f6496-3170-4f07-808a-c641c98469d7$6aa6f586-9977-476f-a306-73345c0bbc30$f3bd26e5-f6d4-4833-88aa-01ba389451b1$0a3cef9f-4dd7-4469-b4ae-18c4e3093ced$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05$e06b72c2-913d-4de9-8ef1-af12a1a2b8c8$378380e4-7043-434d-8933-72b36e3a8981$4c62e504-4ab5-4eec-a2bc-0967f7a7ae64$0d20207a-ac00-483e-a1db-e0755845a7e6$69fdfe8d-0de8-4c61-ace2-b20f70af52de$ebad3a75-a9e9-4573-8d97-525ce8421fa1$96b3bbd3-966c-4912-82cc-ff01f089f066$9d5ee94b-250a-4062-8d97-b7f789edce25$109055a1-edc4-4c83-8262-99cdcae5b1a5$6fdf587d-4555-445e-b392-5ddc99c34bb6$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9e$0a7a7970-d66d-41ca-8cb8-7180d288c9e6$89d0de66-b78a-4f0f-9134-84ca622f2ca3$629a5a46-0bea-4762-9c89-78c07cb43c72$a286612a-2119-4860-9911-00eaa4ddebb9$72010ae9-8300-41bb-a10b-37927cd8e000$5adbc0dd-f040-4d8f-b960-593edf3c1b3c$6b05ff89-52e0-4af1-8460-052222ebe93e$9029c42e-462d-4bc6-9d9f-edc53fb28ded$e300efca-2800-4c0c-b915-ec8e4f81b292$2e405a3e-4b5e-489e-a651-5792ae26e089$dd8f6890-5234-4b1c-8ed7-b6d370c86876$a86b96af-f20d-48ac-b493-12204567a21c$296fa066-fc76-4a1b-9d70-57c0fe080966$f8d76484-05e6-4a72-98c8-3f33b06f4306$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6$c0342b62-302d-470c-9e96-128905bbe848$1799c3d7-97c9-4602-9a02-7a0691ddf80e$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5$dd2084d0-e587-4afa-bd17-d79f1260091e$9fa924d6-f287-4f6c-b5b6-1adb4909318c$91ab02a1-65b0-43c4-99f3-08dbc274e0ed$46b81556-c322-4d06-8a8d-5e69caefff63$20eb5f97-ca69-434d-80ec-5c99b8f153c1$855b56e1-c95b-41e5-a933-57d6686a3c1e$07ac2aab-759e-4aea-afa4-dbdb46568fc7$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998$113410b5-64b3-4fcb-9263-9ba89a013107$8cd9f807-6b19-4aae-b222-1560f04c3afb$148ac275-d22b-444e-bd2e-507decd5188e$d565abf9-4b59-429e-834c-d390017a5b53$fe72a230-9546-4962-82a8-c5980fb297b1$11ea567a-74dd-4a87-9695-7dfeccf49c0e$233b2763-5612-4786-9df0-17a6bdd10912$2f65cb30-99b2-4e68-bb77-1feae4c8be00$b2ac08e1-8e2a-43ad-bb49-7441408d0571$a734c0b3-eef1-43a7-801c-81b5fdda1219$f3d99a0a-2188-4cb1-81d9-9670ece84610$452f72e9-6817-45db-a514-23ddd0a4ebb2$28a8661d-e5f5-4ecd-82d2-bb4f64c36039$573dbc48-530a-4f52-8864-18aad432c147$906eb8c1-c1bc-4c61-8e22-8ab6eb91182f$e944732c-ab82-4b09-b9e6-7fc8df1dbcba$337e927c-6c23-4afe-9a62-bf30f3a12c0a$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2$a3fd0098-e0a1-4e9e-859f-37f1064cce29$777eefbd-a782-4388-af28-987fa43ef205$e210cf9e-a5d6-4d48-83e1-200008a1d9d3$9e8682c2-0e3d-4515-bb1f-28a8d339402a$8a7d114b-eca7-47db-8191-8052ffc226b8$3a19ed7c-0c11-4415-a397-e8c195d966c8$208b3fda-4263-4f7d-b73d-25eedd1771aa$d45416d2-ba22-43d3-bc6a-6e7edf050be8$b958e41a-493c-4566-aebb-161868f15bca$b307c37f-2395-4806-a35f-a9118bb9adf9$95c10e78-c60b-4bd0-9558-1858f80e157d$29b3077f-fe4a-4ed9-910b-532af7b5684b$f5d72c44-185e-40f9-be10-50ca467ae8bf$3fca1322-b88c-4016-81d1-44a3a8013e32$a36ca5a6-f584-4bba-8e21-968bda4d5190$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33de$8e9523fc-2810-4370-b1cc-e159b588ea83last_hot_reload_timeshortpathCompositeDissipation.jlprocess_statusreadypathk/home/runner/work/2025-09-11_Composite_Dissipation/2025-09-11_Composite_Dissipation/CompositeDissipation.jlpluto_versionv0.20.18last_save_timeA1(cell_orderY$531a7b9d-60bc-416e-9260-5757a4cc093c$4df2b6b2-8e4e-11f0-3732-a75c62505eb7$a41f348d-7d13-4fd1-b7c7-abef440cf9b1$50703d4a-b742-4ccb-9f1a-2171d94e5e0a$107f5cb1-6f79-483a-bbd2-e292a1592986$0d819a8e-95d8-43e4-846d-1b1a44cb9214$cb5f6496-3170-4f07-808a-c641c98469d7$6aa6f586-9977-476f-a306-73345c0bbc30$f3bd26e5-f6d4-4833-88aa-01ba389451b1$0a3cef9f-4dd7-4469-b4ae-18c4e3093ced$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05$e06b72c2-913d-4de9-8ef1-af12a1a2b8c8$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5$378380e4-7043-434d-8933-72b36e3a8981$4c62e504-4ab5-4eec-a2bc-0967f7a7ae64$28f7b3c0-be79-4d30-99b1-dd90f9f30b3f$0d20207a-ac00-483e-a1db-e0755845a7e6$69fdfe8d-0de8-4c61-ace2-b20f70af52de$ebad3a75-a9e9-4573-8d97-525ce8421fa1$96b3bbd3-966c-4912-82cc-ff01f089f066$9d5ee94b-250a-4062-8d97-b7f789edce25$109055a1-edc4-4c83-8262-99cdcae5b1a5$6fdf587d-4555-445e-b392-5ddc99c34bb6$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9e$0a7a7970-d66d-41ca-8cb8-7180d288c9e6$89d0de66-b78a-4f0f-9134-84ca622f2ca3$629a5a46-0bea-4762-9c89-78c07cb43c72$a286612a-2119-4860-9911-00eaa4ddebb9$72010ae9-8300-41bb-a10b-37927cd8e000$5adbc0dd-f040-4d8f-b960-593edf3c1b3c$6b05ff89-52e0-4af1-8460-052222ebe93e$9029c42e-462d-4bc6-9d9f-edc53fb28ded$e300efca-2800-4c0c-b915-ec8e4f81b292$2e405a3e-4b5e-489e-a651-5792ae26e089$dd8f6890-5234-4b1c-8ed7-b6d370c86876$a86b96af-f20d-48ac-b493-12204567a21c$296fa066-fc76-4a1b-9d70-57c0fe080966$f8d76484-05e6-4a72-98c8-3f33b06f4306$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6$c0342b62-302d-470c-9e96-128905bbe848$1799c3d7-97c9-4602-9a02-7a0691ddf80e$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5$dd2084d0-e587-4afa-bd17-d79f1260091e$6d064572-5af2-463b-8091-fb3defd36ef4$9fa924d6-f287-4f6c-b5b6-1adb4909318c$91ab02a1-65b0-43c4-99f3-08dbc274e0ed$46b81556-c322-4d06-8a8d-5e69caefff63$20eb5f97-ca69-434d-80ec-5c99b8f153c1$855b56e1-c95b-41e5-a933-57d6686a3c1e$07ac2aab-759e-4aea-afa4-dbdb46568fc7$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998$113410b5-64b3-4fcb-9263-9ba89a013107$8cd9f807-6b19-4aae-b222-1560f04c3afb$148ac275-d22b-444e-bd2e-507decd5188e$d565abf9-4b59-429e-834c-d390017a5b53$fe72a230-9546-4962-82a8-c5980fb297b1$11ea567a-74dd-4a87-9695-7dfeccf49c0e$233b2763-5612-4786-9df0-17a6bdd10912$2f65cb30-99b2-4e68-bb77-1feae4c8be00$b2ac08e1-8e2a-43ad-bb49-7441408d0571$ba6711cb-c036-4db8-953d-d9d71eaba585$a734c0b3-eef1-43a7-801c-81b5fdda1219$f3d99a0a-2188-4cb1-81d9-9670ece84610$90ff733c-01ac-48d0-a6b6-faa5021a8a9b$452f72e9-6817-45db-a514-23ddd0a4ebb2$28a8661d-e5f5-4ecd-82d2-bb4f64c36039$573dbc48-530a-4f52-8864-18aad432c147$906eb8c1-c1bc-4c61-8e22-8ab6eb91182f$e944732c-ab82-4b09-b9e6-7fc8df1dbcba$337e927c-6c23-4afe-9a62-bf30f3a12c0a$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2$a3fd0098-e0a1-4e9e-859f-37f1064cce29$777eefbd-a782-4388-af28-987fa43ef205$e210cf9e-a5d6-4d48-83e1-200008a1d9d3$9e8682c2-0e3d-4515-bb1f-28a8d339402a$8a7d114b-eca7-47db-8191-8052ffc226b8$3a19ed7c-0c11-4415-a397-e8c195d966c8$208b3fda-4263-4f7d-b73d-25eedd1771aa$d45416d2-ba22-43d3-bc6a-6e7edf050be8$b958e41a-493c-4566-aebb-161868f15bca$b307c37f-2395-4806-a35f-a9118bb9adf9$95c10e78-c60b-4bd0-9558-1858f80e157d$29b3077f-fe4a-4ed9-910b-532af7b5684b$f5d72c44-185e-40f9-be10-50ca467ae8bf$3fca1322-b88c-4016-81d1-44a3a8013e32$a36ca5a6-f584-4bba-8e21-968bda4d5190$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33de$8e9523fc-2810-4370-b1cc-e159b588ea83published_objectsnbpkginstall_time_ns |Ьinstantiatedòinstalled_versionsQuantumControlTestUtils0.3.1LinearAlgebrastdlibPlutoUI0.7.71Plots1.40.18SparseArraysstdlibQuantumPropagators0.8.3terminal_outputsQuantumControlTestUtils Resolving... ===  No Changes to `/tmp/jl_XP4FCH/Project.toml`  No Changes to `/tmp/jl_XP4FCH/Manifest.toml` Instantiating... === Precompiling... === [debug cache flags] CacheFlags(; use_pkgimages=true, debug_level=1, check_bounds=0, inline=true, opt_level=2)  Activating project at `/tmp/jl_XP4FCH`nbpkg_sync Resolving... ===  No Changes to `/tmp/jl_XP4FCH/Project.toml`  No Changes to `/tmp/jl_XP4FCH/Manifest.toml` Instantiating... === Precompiling... === [debug cache flags] CacheFlags(; use_pkgimages=true, debug_level=1, check_bounds=0, inline=true, opt_level=2)  Activating project at `/tmp/jl_XP4FCH`LinearAlgebra Resolving... ===  No Changes to `/tmp/jl_XP4FCH/Project.toml`  No Changes to `/tmp/jl_XP4FCH/Manifest.toml` Instantiating... === Precompiling... === [debug cache flags] CacheFlags(; use_pkgimages=true, debug_level=1, check_bounds=0, inline=true, opt_level=2)  Activating project at `/tmp/jl_XP4FCH`PlutoUI Resolving... ===  No Changes to `/tmp/jl_XP4FCH/Project.toml`  No Changes to `/tmp/jl_XP4FCH/Manifest.toml` Instantiating... === Precompiling... === [debug cache flags] CacheFlags(; use_pkgimages=true, debug_level=1, check_bounds=0, inline=true, opt_level=2)  Activating project at `/tmp/jl_XP4FCH`Plots Resolving... ===  No Changes to `/tmp/jl_XP4FCH/Project.toml`  No Changes to `/tmp/jl_XP4FCH/Manifest.toml` Instantiating... === Precompiling... === [debug cache flags] CacheFlags(; use_pkgimages=true, debug_level=1, check_bounds=0, inline=true, opt_level=2)  Activating project at `/tmp/jl_XP4FCH`SparseArrays Resolving... ===  No Changes to `/tmp/jl_XP4FCH/Project.toml`  No Changes to `/tmp/jl_XP4FCH/Manifest.toml` Instantiating... === Precompiling... === [debug cache flags] CacheFlags(; use_pkgimages=true, debug_level=1, check_bounds=0, inline=true, opt_level=2)  Activating project at `/tmp/jl_XP4FCH`QuantumPropagators Resolving... ===  No Changes to `/tmp/jl_XP4FCH/Project.toml`  No Changes to `/tmp/jl_XP4FCH/Manifest.toml` Instantiating... === Precompiling... === [debug cache flags] CacheFlags(; use_pkgimages=true, debug_level=1, check_bounds=0, inline=true, opt_level=2)  Activating project at `/tmp/jl_XP4FCH`enabled÷restart_recommended_msgrestart_required_msgbusy_packageswaiting_for_permission,waiting_for_permission_but_probably_disabled«cell_inputsY$a41f348d-7d13-4fd1-b7c7-abef440cf9b1cell_id$a41f348d-7d13-4fd1-b7c7-abef440cf9b1codemd""" Suppose we have a system with a Lindblad operator ``\hat{A}``. The question is what is the Lindblad operator in a composite system. Presumably, ``\hat{A} ⊗ 𝟙``, but one could also think that with ``𝟙 = ∑|k⟩⟨k|``, the composite system could have one Lindblad operator ``\hat{A} ⊗ |k⟩⟨k|`` for each basis vector of the second system. That is, the composite system would have _multiple_ Lindblad operators? Are those two things potentially equivalent? They are not! The difference is in the term ``\hat{A} \hat{\rho} \hat{A}^\dagger`` in the Liouville equation. With a single Lindblad operator ``\hat{A} ⊗ 𝟙``, we find ```math (\hat{A} ⊗ 𝟙) \hat\rho (\hat{A} ⊗ 𝟙)^\dagger = \sum_{ijnm} \rho_{(ij),(nm)} \hat{A} |i⟩⟨n| \hat{A}^{\dagger} \otimes |j⟩⟨m| \tag{1} ``` where ``|ij⟩⟨jm|`` is the double-indexed basis in which ``\hat{\rho}`` is represented, and ``\rho_{(ij),(nm)}`` is the matrix element for those indices. On the other hand, with multiple Lindblad operators, we have ```math \sum_k (\hat{A} ⊗ |k⟩⟨k|) \hat\rho (\hat{A} ⊗ |k⟩⟨k|)^\dagger = \sum_{ink}\rho_{(ik),(nk)} \hat{A} |i⟩⟨n| \hat{A}^{\dagger} \otimes |k⟩⟨k| \tag{2} ``` That is, we are missing the cross-terms ``|j⟩⟨m|`` in Eq. (1) for ``j \ne m``. These matrices are coherences in the second system that are lost in the dynamics. That hints at the choice of multiple Lindblad operators being unphysical: Simply tensoring a non-dissipative system to a dissipative system should not affect the non-dissipative system at all, the dissipative system should not be inducing dissipation into the non-dissipative system. We can illustrate this for the example of a single qubit with spontaneous decay. We will simulate the dynamics of the qubit, and then the dynamics of the system tensored with a second, non-dissipative qubit, for the two possible choices of composite Lindblad operators. """metadatashow_logsèdisabled®skip_as_script«code_folded$777eefbd-a782-4388-af28-987fa43ef205cell_id$777eefbd-a782-4388-af28-987fa43ef205code]md""" Then, the population dynamics of the sub-systems, with the other system traced out: """metadatashow_logsèdisabled®skip_as_script«code_folded$a3fd0098-e0a1-4e9e-859f-37f1064cce29cell_id$a3fd0098-e0a1-4e9e-859f-37f1064cce29codeټplot( tlist, hcat([pops(states_composite1[:, i]) for i = 1:length(tlist)]...)'; xlabel = "time", ylabel = "population", label = ["|00⟩" "|01⟩" "|10⟩" "|10⟩"], )metadatashow_logsèdisabled®skip_as_script«code_folded$8cd9f807-6b19-4aae-b222-1560f04c3afbcell_id$8cd9f807-6b19-4aae-b222-1560f04c3afbcode @doc raw"""Calculate the partial trace of the given density matrix ρ ```julia ρ_red = partial_trace(ρ, (N_i, N, N_j)) ``` calculates the reduced density with the middle degree of freedom integrated out. It is assumed that the density matrix ρ has the structure ```math ρ = \sum ρ_{(inj)(i^′n^′j^′)} |inj⟩⟨i^′n^′j^′| ``` with the triple-index ``(inj)`` where ``i`` is in the range ``(1, N_i)``, ``n`` is in the range ``(1, N)``, and ``j`` is in the range ``(1, N_j)`` The reduced density matrix is defined as ```math ρ^{(red)} = \sum \underbrace{\sum_{n} ρ_{(inj)(i^′nj^′)}}_{= \rho^{(red)}_{(ij),(i^′j^′)}} |ij⟩⟨i^′j^′| ``` Note that assuming a structure of 3 tensored Hilbert spaces and always tracing out the middle Hilbert space allows handling an arbitrary number of _actual_ Hilbert spaces, and tracing out arbitrary degrees of freedom: All Hilbert spaces to the _left_ of the degree of freedom to be integrated out can be combined into a single Hilbert space of dimension ``N_i``, and all the Hilbert spaces on the _right_ can be combined into a space of dimension ``N_j``. This includes the situation where we have _two_ actual Hilbert spaces with dimensions N and M, respectively. If we wanted to trace out the first Hilbert space, we could use ```julia ρ_red = partial_trace(ρ, (1, N, M)) ``` If we wanted to trace out the second Hilbert space, we would instead use ```julia ρ_red = partial_trace(ρ, (N, M, 1)) ``` The given `ρ` can be a matrix or vectorized matrix. The reduced density matrix will be returned correspondingly. """ function partial_trace(ρ, dims) N_i, N, N_j = dims @assert N_i ≥ 1 @assert N > 1 @assert N_j ≥ 1 @assert length(ρ) == (N_i * N * N_j)^2 if ndims(ρ) == 1 ρ_red = partial_trace(reshape(ρ, (N_i*N*N_j, N_i*N*N_j)), dims) return reshape(ρ_red, :) elseif ndims(ρ) == 2 Base.require_one_based_indexing(ρ) ρ_red = zeros(eltype(ρ), N_i * N_j, N_i * N_j) for i′ = 1:N_i for j′ = 1:N_j i′_j′ = (i′-1) * N_j + j′ for i = 1:N_i for j = 1:N_j i_j = (i-1) * N_j + j for n = 1:N # unroll the multi-indices i_n_j = (i-1) * N * N_j + (n - 1) * N_j + j i′_n_j′ = (i′-1) * N * N_j + (n - 1) * N_j + j′ ρ_red[i_j, i′_j′] += ρ[i_n_j, i′_n_j′] end end end end end return ρ_red else error("ρ must be matrix or vectorized matrix") end endmetadatashow_logsèdisabled®skip_as_script«code_folded$91ab02a1-65b0-43c4-99f3-08dbc274e0edcell_id$91ab02a1-65b0-43c4-99f3-08dbc274e0edcodeINZ, JNZ, VNZ = findnz(diff)metadatashow_logsèdisabled®skip_as_script«code_folded$233b2763-5612-4786-9df0-17a6bdd10912cell_id$233b2763-5612-4786-9df0-17a6bdd10912codeSmd""" And, the reduced density matrix of the second TLS (first TLS traced out): """metadatashow_logsèdisabled®skip_as_script«code_folded$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33decell_id$f3dc6aa3-7f04-4d43-a925-3a3ab8ce33decodebegin plot( tlist, [purity(partial_trace(states_composite2[:, i], (2, 2, 1))) for i = 1:length(tlist)]; xlabel = "time", ylabel = "purity", label = "1", ) plot!( tlist, [purity(partial_trace(states_composite2[:, i], (1, 2, 2))) for i = 1:length(tlist)]; xlabel = "time", ylabel = "purity", label = "2", ) endmetadatashow_logsèdisabled®skip_as_script«code_folded$4c62e504-4ab5-4eec-a2bc-0967f7a7ae64cell_id$4c62e504-4ab5-4eec-a2bc-0967f7a7ae64codemd""" We can now use """metadatashow_logsèdisabled®skip_as_script«code_folded$107f5cb1-6f79-483a-bbd2-e292a1592986cell_id$107f5cb1-6f79-483a-bbd2-e292a1592986code1md""" We'll consider a completely static TLS: """metadatashow_logsèdisabled®skip_as_script«code_folded$e300efca-2800-4c0c-b915-ec8e4f81b292cell_id$e300efca-2800-4c0c-b915-ec8e4f81b292codeYmd""" Now we tensor the system with a second TLS. This second TLS is non-dissipative. """metadatashow_logsèdisabled®skip_as_script«code_folded$dd8f6890-5234-4b1c-8ed7-b6d370c86876cell_id$dd8f6890-5234-4b1c-8ed7-b6d370c86876code⊗(A, B) = kron(A, B)metadatashow_logsèdisabled®skip_as_script«code_folded$89d0de66-b78a-4f0f-9134-84ca622f2ca3cell_id$89d0de66-b78a-4f0f-9134-84ca622f2ca3codemd""" and the purity """metadatashow_logsèdisabled®skip_as_script«code_folded$531a7b9d-60bc-416e-9260-5757a4cc093ccell_id$531a7b9d-60bc-416e-9260-5757a4cc093ccode٫md""" # Lindblad operators for composite systems Note: the code for this notebook is available at """metadatashow_logsèdisabled®skip_as_script«code_folded$0a3cef9f-4dd7-4469-b4ae-18c4e3093cedcell_id$0a3cef9f-4dd7-4469-b4ae-18c4e3093cedcodeγ = 0.1metadatashow_logsèdisabled®skip_as_script«code_folded$72010ae9-8300-41bb-a10b-37927cd8e000cell_id$72010ae9-8300-41bb-a10b-37927cd8e000code#md""" Note that the purity starting from a mixed state should be ``1 - \frac{1}{2} \left(e^{-\gamma t} + e^{-2\gamma t}\right)``: The purity first drops due to the dissipation and then rises again because in the infinite time limit, all the population ends up in the (pure) ground state. """metadatashow_logsèdisabled®skip_as_script«code_folded$e210cf9e-a5d6-4d48-83e1-200008a1d9d3cell_id$e210cf9e-a5d6-4d48-83e1-200008a1d9d3code^begin plot( tlist, hcat( [ pops(partial_trace(states_composite1[:, i], (2, 2, 1))) for i = 1:length(tlist) ]..., )'; xlabel = "time", ylabel = "population", label = ["|0⟩₁" "|1⟩₁"], ) plot!( tlist, hcat( [ pops(partial_trace(states_composite1[:, i], (1, 2, 2))) for i = 1:length(tlist) ]..., )'; xlabel = "time", ylabel = "population", label = ["|0⟩₂" "|1⟩₂"], ) endmetadatashow_logsèdisabled®skip_as_script«code_folded$c0342b62-302d-470c-9e96-128905bbe848cell_id$c0342b62-302d-470c-9e96-128905bbe848codeTmd""" Uses two Lindblad operators, one for each of the levels in the second TLS. """metadatashow_logsèdisabled®skip_as_script«code_folded$113410b5-64b3-4fcb-9263-9ba89a013107cell_id$113410b5-64b3-4fcb-9263-9ba89a013107code md""" When analyzing the dynamics, what we'll be looking for is that the second system remains unaffected by the dissipation in the first system. To this end, we'll have to calculate the reduced density matrices for the first and second TLS, using a partial trace: """metadatashow_logsèdisabled®skip_as_script«code_folded$a36ca5a6-f584-4bba-8e21-968bda4d5190cell_id$a36ca5a6-f584-4bba-8e21-968bda4d5190codeUmd""" The difference comes in via the purity (the coherences) in the sub-systems: """metadatashow_logsèdisabled®skip_as_script«code_folded$f5d72c44-185e-40f9-be10-50ca467ae8bfcell_id$f5d72c44-185e-40f9-be10-50ca467ae8bfcodeOmd""" The population dynamics even for the sub-systems still looks correct: """metadatashow_logsèdisabled®skip_as_script«code_folded$28a8661d-e5f5-4ecd-82d2-bb4f64c36039cell_id$28a8661d-e5f5-4ecd-82d2-bb4f64c36039code'norm(partial_trace(_C, (1, 2, 3)) - _B)metadatashow_logsèdisabled®skip_as_script«code_folded$6b05ff89-52e0-4af1-8460-052222ebe93ecell_id$6b05ff89-52e0-4af1-8460-052222ebe93ecodepurity(states[:, end])metadatashow_logsèdisabled®skip_as_script«code_folded$452f72e9-6817-45db-a514-23ddd0a4ebb2cell_id$452f72e9-6817-45db-a514-23ddd0a4ebb2code_C = _A ⊗ _Bmetadatashow_logsèdisabled®skip_as_script«code_folded$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9ecell_id$e7b9b53a-b4e8-4701-ab4a-7a6b06cbbc9ecodepops(states[:, 1])metadatashow_logsèdisabled®skip_as_script«code_folded$f3d99a0a-2188-4cb1-81d9-9670ece84610cell_id$f3d99a0a-2188-4cb1-81d9-9670ece84610codeA_B = begin Ψ_B = random_state_vector(3) Ψ_B * Ψ_B' endmetadatashow_logsèdisabled®skip_as_script«code_folded$629a5a46-0bea-4762-9c89-78c07cb43c72cell_id$629a5a46-0bea-4762-9c89-78c07cb43c72code٧function purity(ρ_vec) N² = length(ρ_vec) @assert size(ρ_vec) == (N²,) N = isqrt(N²) ρ = reshape(ρ_vec, (N, N)) return abs(trace(ρ^2)) endmetadatashow_logsèdisabled®skip_as_script«code_folded$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998cell_id$2b48afa7-5fbd-4262-ac8b-efa8a2f6a998codeDρ₀_composite = reshape((Ψ₀ ⊗ Ψ₀) * (Ψ₀ ⊗ Ψ₀)', :)metadatashow_logsèdisabled®skip_as_script«code_folded$11ea567a-74dd-4a87-9695-7dfeccf49c0ecell_id$11ea567a-74dd-4a87-9695-7dfeccf49c0ecode)partial_trace(ρ₀_composite, (2, 2, 1))metadatashow_logsèdisabled®skip_as_script«code_folded$a734c0b3-eef1-43a7-801c-81b5fdda1219cell_id$a734c0b3-eef1-43a7-801c-81b5fdda1219codeA_A = begin Ψ_A = random_state_vector(2) Ψ_A * Ψ_A' endmetadatashow_logsèdisabled®skip_as_script«code_folded$f8d76484-05e6-4a72-98c8-3f33b06f4306cell_id$f8d76484-05e6-4a72-98c8-3f33b06f4306code_md""" tensors the original Lindblad operator with the identity for the second TLS. Second, """metadatashow_logsèdisabled®skip_as_script«code_folded$20eb5f97-ca69-434d-80ec-5c99b8f153c1cell_id$20eb5f97-ca69-434d-80ec-5c99b8f153c1codensuperop_labels = reshape(["|$(composite_labels[i])⟩⟨$(composite_labels[j])|" for i = 1:4, j = 1:4], :)metadatashow_logsèdisabled®skip_as_script«code_folded$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2cell_id$0fabd75f-e9d1-46d5-8ba5-7e334101d1c2code[states_composite1 = propagate(ρ₀_composite, L1, tlist; method = Newton, storage = true);metadatashow_logsèdisabled®skip_as_script«code_folded$378380e4-7043-434d-8933-72b36e3a8981cell_id$378380e4-7043-434d-8933-72b36e3a8981code,L = liouvillian(H, (A,); convention = :TDSE)metadatashow_logsèdisabled®skip_as_script«code_folded$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0cell_id$0eaf2661-c7cd-4c3d-872e-00d4eaef74e0codefunction pops(ρ) if size(ρ) == (16,) return Float64[abs(ρ[1]), abs(ρ[6]), abs(ρ[11]), abs(ρ[16])] elseif size(ρ) == (4,) return Float64[abs(ρ[1]), abs(ρ[4])] else error("Not implemented") end endmetadatashow_logsèdisabled®skip_as_script«code_folded$337e927c-6c23-4afe-9a62-bf30f3a12c0acell_id$337e927c-6c23-4afe-9a62-bf30f3a12c0acodeKmd""" First, we look at the population dynamics of the combined system: """metadatashow_logsèdisabled®skip_as_script«code_folded$a86b96af-f20d-48ac-b493-12204567a21ccell_id$a86b96af-f20d-48ac-b493-12204567a21ccodeTmd""" We have two candidates for the Lindbladian of the composite system. First, """metadatashow_logsèdisabled®skip_as_script«code_folded$b2ac08e1-8e2a-43ad-bb49-7441408d0571cell_id$b2ac08e1-8e2a-43ad-bb49-7441408d0571code٬md""" Just to test our implementation of the partial trace a bit more for the general case, we can check that we can recover the components of a random separable state: """metadatashow_logsèdisabled®skip_as_script«code_folded$9fa924d6-f287-4f6c-b5b6-1adb4909318ccell_id$9fa924d6-f287-4f6c-b5b6-1adb4909318ccode;md""" We can look at which matrix elements are missing. """metadatashow_logsèdisabled®skip_as_script«code_folded$90ff733c-01ac-48d0-a6b6-faa5021a8a9bcell_id$90ff733c-01ac-48d0-a6b6-faa5021a8a9bcodeusing LinearAlgebrametadatashow_logsèdisabled®skip_as_script«code_folded$208b3fda-4263-4f7d-b73d-25eedd1771aacell_id$208b3fda-4263-4f7d-b73d-25eedd1771aacode2md""" ### Multiple Lindblad Operators Dynamics """metadatashow_logsèdisabled®skip_as_script«code_folded$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05cell_id$b7a6ffd9-6a9a-42ef-970f-c4e660b36f05codeA = √γ * ket0 * ket1';metadatashow_logsèdisabled®skip_as_script«code_folded$1799c3d7-97c9-4602-9a02-7a0691ddf80ecell_id$1799c3d7-97c9-4602-9a02-7a0691ddf80ecodeLmd""" **`L1` and `L2` do not have the same number of non-zero entries!** """metadatashow_logsèdisabled®skip_as_script«code_folded$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6cell_id$91c11d2b-a7f2-4a7d-b014-6b7c3ea292a6codeoL2 = liouvillian(H ⊗ 𝟙 + 𝟙 ⊗ H, (A ⊗ (ket0 * ket0'), A ⊗ (ket1 * ket1')); convention = :TDSE)metadatashow_logsèdisabled®skip_as_script«code_folded$f3bd26e5-f6d4-4833-88aa-01ba389451b1cell_id$f3bd26e5-f6d4-4833-88aa-01ba389451b1codeCmd""" We'll add to that spontaneous decay, with a decay rate of """metadatashow_logsèdisabled®skip_as_script«code_folded$8e9523fc-2810-4370-b1cc-e159b588ea83cell_id$8e9523fc-2810-4370-b1cc-e159b588ea83code7md""" This is clearly unphysical: without interactions between system 1 and system 2, the dissipation in system 1 should not be causing dissipation in system 2! System 2 should remain pure at all times. Thus, we can conclude that a single Lindblad operator ``\hat{A} \otimes 𝟙`` is the correct approach. """metadatashow_logsèdisabled®skip_as_script«code_folded$9029c42e-462d-4bc6-9d9f-edc53fb28dedcell_id$9029c42e-462d-4bc6-9d9f-edc53fb28dedcodemd""" ## Composite System """metadatashow_logsèdisabled®skip_as_script«code_folded$6aa6f586-9977-476f-a306-73345c0bbc30cell_id$6aa6f586-9977-476f-a306-73345c0bbc30codeket1 = ComplexF64[0, 1]metadatashow_logsèdisabled®skip_as_script«code_folded$e06b72c2-913d-4de9-8ef1-af12a1a2b8c8cell_id$e06b72c2-913d-4de9-8ef1-af12a1a2b8c8codeEmd""" The Liouvillian can be constructed as a super-operator, via """metadatashow_logsèdisabled®skip_as_script«code_folded$0d819a8e-95d8-43e4-846d-1b1a44cb9214cell_id$0d819a8e-95d8-43e4-846d-1b1a44cb9214codeH = [0.0 0.0; 0.0 0.0];metadatashow_logsèdisabled®skip_as_script«code_folded$50703d4a-b742-4ccb-9f1a-2171d94e5e0acell_id$50703d4a-b742-4ccb-9f1a-2171d94e5e0acodemd""" ## Single Qubit """metadatashow_logsèdisabled®skip_as_script«code_folded$3fca1322-b88c-4016-81d1-44a3a8013e32cell_id$3fca1322-b88c-4016-81d1-44a3a8013e32code^begin plot( tlist, hcat( [ pops(partial_trace(states_composite2[:, i], (2, 2, 1))) for i = 1:length(tlist) ]..., )'; xlabel = "time", ylabel = "population", label = ["|0⟩₁" "|1⟩₁"], ) plot!( tlist, hcat( [ pops(partial_trace(states_composite2[:, i], (1, 2, 2))) for i = 1:length(tlist) ]..., )'; xlabel = "time", ylabel = "population", label = ["|0⟩₂" "|1⟩₂"], ) endmetadatashow_logsèdisabled®skip_as_script«code_folded$29b3077f-fe4a-4ed9-910b-532af7b5684bcell_id$29b3077f-fe4a-4ed9-910b-532af7b5684bcode+norm(states_composite2 - states_composite1)metadatashow_logsèdisabled®skip_as_script«code_folded$96b3bbd3-966c-4912-82cc-ff01f089f066cell_id$96b3bbd3-966c-4912-82cc-ff01f089f066code"ρ₀ = reshape(Ψ₀ * Ψ₀', :)metadatashow_logsèdisabled®skip_as_script«code_folded$d565abf9-4b59-429e-834c-d390017a5b53cell_id$d565abf9-4b59-429e-834c-d390017a5b53codeDmd""" We can check that the intial state decomposes as expected: """metadatashow_logsèdisabled®skip_as_script«code_folded$b307c37f-2395-4806-a35f-a9118bb9adf9cell_id$b307c37f-2395-4806-a35f-a9118bb9adf9codeټplot( tlist, hcat([pops(states_composite2[:, i]) for i = 1:length(tlist)]...)'; xlabel = "time", ylabel = "population", label = ["|00⟩" "|01⟩" "|10⟩" "|10⟩"], )metadatashow_logsèdisabled®skip_as_script«code_folded$6fdf587d-4555-445e-b392-5ddc99c34bb6cell_id$6fdf587d-4555-445e-b392-5ddc99c34bb6code:md""" which we can analyze in terms of the populations """metadatashow_logsèdisabled®skip_as_script«code_folded$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5cell_id$31bc35f7-f79a-4d0e-bf4f-e6362b372ec5codenorm(L1 - L2)metadatashow_logsèdisabled®skip_as_script«code_folded$e944732c-ab82-4b09-b9e6-7fc8df1dbcbacell_id$e944732c-ab82-4b09-b9e6-7fc8df1dbcbacode/md""" ### Single Lindblad Operator Dynamics """metadatashow_logsèdisabled®skip_as_script«code_folded$9d5ee94b-250a-4062-8d97-b7f789edce25cell_id$9d5ee94b-250a-4062-8d97-b7f789edce25code)md""" The result of the propgation is """metadatashow_logsèdisabled®skip_as_script«code_folded$5adbc0dd-f040-4d8f-b960-593edf3c1b3ccell_id$5adbc0dd-f040-4d8f-b960-593edf3c1b3ccodepurity(states[:, 1])metadatashow_logsèdisabled®skip_as_script«code_folded$fe72a230-9546-4962-82a8-c5980fb297b1cell_id$fe72a230-9546-4962-82a8-c5980fb297b1codeNmd""" The reduced density matrix of the first TLS (second TLS traced out): """metadatashow_logsèdisabled®skip_as_script«code_folded$8a7d114b-eca7-47db-8191-8052ffc226b8cell_id$8a7d114b-eca7-47db-8191-8052ffc226b8codebegin plot( tlist, [purity(partial_trace(states_composite1[:, i], (2, 2, 1))) for i = 1:length(tlist)]; xlabel = "time", ylabel = "purity", label = "1", ) plot!( tlist, [purity(partial_trace(states_composite1[:, i], (1, 2, 2))) for i = 1:length(tlist)]; xlabel = "time", ylabel = "purity", label = "2", ) endmetadatashow_logsèdisabled®skip_as_script«code_folded$dd2084d0-e587-4afa-bd17-d79f1260091ecell_id$dd2084d0-e587-4afa-bd17-d79f1260091ecodediff = (L1 - L2)metadatashow_logsèdisabled®skip_as_script«code_folded$573dbc48-530a-4f52-8864-18aad432c147cell_id$573dbc48-530a-4f52-8864-18aad432c147code'norm(partial_trace(_C, (2, 3, 1)) - _A)metadatashow_logsèdisabled®skip_as_script«code_folded$a286612a-2119-4860-9911-00eaa4ddebb9cell_id$a286612a-2119-4860-9911-00eaa4ddebb9codeقplot( tlist, [purity(states[:, i]) for i = 1:length(tlist)]; xlabel = "time", ylabel = "purity", label = "", )metadatashow_logsèdisabled®skip_as_script«code_folded$0d20207a-ac00-483e-a1db-e0755845a7e6cell_id$0d20207a-ac00-483e-a1db-e0755845a7e6codewmd""" to simulate the dynamics of a coherent superposition of |0⟩ and |1⟩ as an initial state, over a time grid """metadatashow_logsèdisabled®skip_as_script«code_folded$cb5f6496-3170-4f07-808a-c641c98469d7cell_id$cb5f6496-3170-4f07-808a-c641c98469d7codeket0 = ComplexF64[1, 0]metadatashow_logsèdisabled®skip_as_script«code_folded$46b81556-c322-4d06-8a8d-5e69caefff63cell_id$46b81556-c322-4d06-8a8d-5e69caefff63code+composite_labels = ["00", "01", "10", "11"]metadatashow_logsèdisabled®skip_as_script«code_folded$d45416d2-ba22-43d3-bc6a-6e7edf050be8cell_id$d45416d2-ba22-43d3-bc6a-6e7edf050be8codeٮmd""" We repeat this analysis for the second candidate of a Liouvillian, with two Liouville operators. The population dynamics in the combined system looks unsuspicious: """metadatashow_logsèdisabled®skip_as_script«code_folded$296fa066-fc76-4a1b-9d70-57c0fe080966cell_id$296fa066-fc76-4a1b-9d70-57c0fe080966codeLL1 = liouvillian(H ⊗ 𝟙 + 𝟙 ⊗ H, (A ⊗ 𝟙,); convention = :TDSE)metadatashow_logsèdisabled®skip_as_script«code_folded$9e8682c2-0e3d-4515-bb1f-28a8d339402acell_id$9e8682c2-0e3d-4515-bb1f-28a8d339402acodeٜmd""" As we expect, the population deviates from the initial superposition only for the first system. Lastly, we look at the purity in the sub-systems: """metadatashow_logsèdisabled®skip_as_script«code_folded$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5cell_id$e24ce5f2-58ac-489e-9d24-02fdd66d0cd5code0using QuantumPropagators.Generators: liouvillianmetadatashow_logsèdisabled®skip_as_script«code_folded$3a19ed7c-0c11-4415-a397-e8c195d966c8cell_id$3a19ed7c-0c11-4415-a397-e8c195d966c8codeMmd""" Again, we see the purity deviating from 1 only in the first system. """metadatashow_logsèdisabled®skip_as_script«code_folded$07ac2aab-759e-4aea-afa4-dbdb46568fc7cell_id$07ac2aab-759e-4aea-afa4-dbdb46568fc7code"md""" It might be interesting to further look into the interpretation of exactly how these matrix elements affect the dynamics. But in lieue of that, we'll simply _simulate_ the dynamics. As the initial state, we'll use a coherent superposition both in the first and in the second TLS: """metadatashow_logsèdisabled®skip_as_script«code_folded$ebad3a75-a9e9-4573-8d97-525ce8421fa1cell_id$ebad3a75-a9e9-4573-8d97-525ce8421fa1codeΨ₀ = (ket0 + ket1) / √2metadatashow_logsèdisabled®skip_as_script«code_folded$4df2b6b2-8e4e-11f0-3732-a75c62505eb7cell_id$4df2b6b2-8e4e-11f0-3732-a75c62505eb7coderbegin using LinearAlgebra: norm, kron, tr as trace using Plots using PlutoUI TableOfContents() endmetadatashow_logsèdisabled®skip_as_script«code_folded$906eb8c1-c1bc-4c61-8e22-8ab6eb91182fcell_id$906eb8c1-c1bc-4c61-8e22-8ab6eb91182fcode]md""" Now, we can compare the dynamics under our two candidate Liouvillian `L1` and `L2`: """metadatashow_logsèdisabled®skip_as_script«code_folded$ba6711cb-c036-4db8-953d-d9d71eaba585cell_id$ba6711cb-c036-4db8-953d-d9d71eaba585code@using QuantumControlTestUtils.RandomObjects: random_state_vectormetadatashow_logsèdisabled®skip_as_script«code_folded$b958e41a-493c-4566-aebb-161868f15bcacell_id$b958e41a-493c-4566-aebb-161868f15bcacode[states_composite2 = propagate(ρ₀_composite, L2, tlist; method = Newton, storage = true);metadatashow_logsèdisabled®skip_as_script«code_folded$95c10e78-c60b-4bd0-9558-1858f80e157dcell_id$95c10e78-c60b-4bd0-9558-1858f80e157dcode7md""" But the dynamics are certainly not identical! """metadatashow_logsèdisabled®skip_as_script«code_folded$148ac275-d22b-444e-bd2e-507decd5188ecell_id$148ac275-d22b-444e-bd2e-507decd5188ecodeρ₀_compositemetadatashow_logsèdisabled®skip_as_script«code_folded$2f65cb30-99b2-4e68-bb77-1feae4c8be00cell_id$2f65cb30-99b2-4e68-bb77-1feae4c8be00code)partial_trace(ρ₀_composite, (1, 2, 2))metadatashow_logsèdisabled®skip_as_script«code_folded$69fdfe8d-0de8-4c61-ace2-b20f70af52decell_id$69fdfe8d-0de8-4c61-ace2-b20f70af52decode,tlist = collect(range(0, 10; length = 1001))metadatashow_logsèdisabled®skip_as_script«code_folded$855b56e1-c95b-41e5-a933-57d6686a3c1ecell_id$855b56e1-c95b-41e5-a933-57d6686a3c1ecodeM["$(superop_labels[i]) ↔ $(superop_labels[j])" for (i, j) in zip(INZ, JNZ)]metadatashow_logsèdisabled®skip_as_script«code_folded$6d064572-5af2-463b-8091-fb3defd36ef4cell_id$6d064572-5af2-463b-8091-fb3defd36ef4codeusing SparseArrays: findnzmetadatashow_logsèdisabled®skip_as_script«code_folded$109055a1-edc4-4c83-8262-99cdcae5b1a5cell_id$109055a1-edc4-4c83-8262-99cdcae5b1a5codeDstates = propagate(ρ₀, L, tlist; method = Newton, storage = true)metadatashow_logsèdisabled®skip_as_script«code_folded$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fcell_id$28f7b3c0-be79-4d30-99b1-dd90f9f30b3fcode+using QuantumPropagators: propagate, Newtonmetadatashow_logsèdisabled®skip_as_script«code_folded$2e405a3e-4b5e-489e-a651-5792ae26e089cell_id$2e405a3e-4b5e-489e-a651-5792ae26e089code𝟙 = [1.0 0.0; 0.0 1.0]metadatashow_logsèdisabled®skip_as_script«code_folded$0a7a7970-d66d-41ca-8cb8-7180d288c9e6cell_id$0a7a7970-d66d-41ca-8cb8-7180d288c9e6codeٝplot( tlist, hcat([pops(states[:, i]) for i = 1:length(tlist)]...)'; xlabel = "time", ylabel = "population", label = ["|0⟩" "|1⟩"], )metadatashow_logsèdisabled®skip_as_script«code_folded«notebook_id$fbe9d286-8ff3-11f0-3195-3f9d08dd8d6din_temp_dir¨metadata