Skip to content

Can't take partial trace of non-numeric matrix #105

@araujoms

Description

@araujoms

Apparently this issue was fixed some years ago, but it came back: #93

Specifically, the following code fails:

import QuantumInformation
import JuMP

model = JuMP.Model()
JuMP.@variable(model, rho[1:4, 1:4] in JuMP.PSDCone())

QuantumInformation.ptrace(1.0*rho,[2,2],2)

Also, I've had compatibility problems with some packages because your Project.toml was restricting TensorOperations to version 3; I've tried removing this restriction. It caused a different error message to appear when trying to compute the partial trace.

Unrelated: you are also restricting SCS to version 1, and I'm pretty sure version 2 won't break anything.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions