✨ Add QCO density-matrix DD simulation - #2080
Conversation
deee3fa to
9b0bd0e
Compare
6a5d936 to
d721d90
Compare
1610209 to
2cc1383
Compare
d721d90 to
f018bc5
Compare
f018bc5 to
ee78dbd
Compare
2cc1383 to
24e5bf7
Compare
ee78dbd to
878256e
Compare
660ed03 to
9f92f1d
Compare
878256e to
19d2a47
Compare
9c1a42e to
c7dd051
Compare
500a038 to
3ac809d
Compare
c7dd051 to
759e359
Compare
69621de to
2a0aad6
Compare
759e359 to
8f994f8
Compare
2a0aad6 to
9a3981a
Compare
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
5112cf9 to
bcde134
Compare
2591ca2 to
1040ed9
Compare
Assisted-by: GPT-5.6 via Codex
bcde134 to
7080496
Compare
1040ed9 to
aa7f7f2
Compare
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
c7b62f6 to
8caa3b7
Compare
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
aa7f7f2 to
621f909
Compare
8caa3b7 to
bdce626
Compare
|
I think it is almost save to say that we can close this for now. Density matrix simulation is not a priority for now and has actually been moved out of the DD package into DDSIM for v4. I believe it does not make too much sense to add it back now for the MLIR part of the code base. |
bdce626 to
eab1c1d
Compare
Just cross-checked with #2288, but seems like we do not really need it, will close this PR and restack #2288 onto #2079. |
🤖 AI text below 🤖
Summary
Adds density-matrix execution as the final QCO DD functionality layer on top of #2079.
U ρ U†, including dynamic allocation, measurement, reset, classical control, and physically irrelevant global-phase cancellation.make_density_matrix,simulate_density, andsample_densityin Python with live-reference/package validation and a documented exact initial-register contract.ValueError, and report invalid density probabilities through normal MLIR failures.This final QCO DD layer follows #1915, #1973, and #2077–#2079.
Validation
git diff --checkpassed.GPT-5.6 via Codex materially assisted with implementation, testing, review, and stack restructuring under maintainer direction. Maintainer review remains required.
Checklist
If PR contains AI-assisted content:
🤖 *AI text below* 🤖(titles are exempt).