Skip to content

Add lazy option to QuantumOpticsRepr - #78

Closed
ruthwikchikoti wants to merge 1 commit into
qojulia:mainfrom
ruthwikchikoti:add-lazy-quantumopticsrepr
Closed

Add lazy option to QuantumOpticsRepr#78
ruthwikchikoti wants to merge 1 commit into
qojulia:mainfrom
ruthwikchikoti:add-lazy-quantumopticsrepr

Conversation

@ruthwikchikoti

Copy link
Copy Markdown

Summary

Part of qojulia/QuantumOptics.jl#521 (unitaryHACK26).

Adds a lazy::Bool=false field to QuantumOpticsRepr so that downstream packages (QuantumSymbolics.jl) can opt into structure-preserving lazy operator output. The existing QuantumOpticsRepr() and QuantumOpticsRepr(cutoff) constructors are preserved via an explicit single-argument constructor.

Changes

  • lazy field on QuantumOpticsRepr (default false)
  • Preserved QuantumOpticsRepr() and QuantumOpticsRepr(cutoff) constructors
  • Version 0.4.2 → 0.4.3, CHANGELOG

Test plan

  • CI passes (Pkg.test() on Julia 1.x and 1.6)

Add a `lazy::Bool=false` field to `QuantumOpticsRepr` so that downstream
packages (QuantumSymbolics.jl) can opt into structure-preserving lazy
operator output. The existing `QuantumOpticsRepr()` and
`QuantumOpticsRepr(cutoff)` constructors are preserved via an explicit
single-argument constructor.
@Krastanov

Copy link
Copy Markdown
Member

We do not accept AI generated PRs for bounties.

@Krastanov Krastanov closed this Jun 3, 2026
@ruthwikchikoti
ruthwikchikoti deleted the add-lazy-quantumopticsrepr branch June 3, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants