Skip to content

Conversation

@abhinavd
Copy link

I sometimes need the reduced density matrix function for tracing out non-normalised states, like a difference of two valid density matrices. In such a setting, re-normalising the trace to 1 does not make sense. I've added an option to turn off this behaviour by passing 'normalize = False' to the method.

@tencentqlab tencentqlab merged commit ea6f217 into tencent-quantum-lab:master Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants