Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

fix the bug in thermal loss for gaussian backend#746

Open
sylviemonet wants to merge 1 commit intomasterfrom
fixthermalloss
Open

fix the bug in thermal loss for gaussian backend#746
sylviemonet wants to merge 1 commit intomasterfrom
fixthermalloss

Conversation

@sylviemonet
Copy link
Copy Markdown
Contributor

Context: The thermal loss factor was added to the full nmatrix of the object in the backend, but it shouldn't be.

Description of the Change: Rewrite the thermal loss.

Benefits:

Possible Drawbacks: the variable "k" doesn't have a type hint so it is considered as int here, which may cause problems in the future.

Related GitHub Issues:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants