QuantumUtils / quantum-utils-mathematica

QuantumUtils for Mathematica is a software library for quantum information scientists.
Other
76 stars 18 forks source link

Error after installation #21

Open albertomercurio opened 3 years ago

albertomercurio commented 3 years ago

Hello, i installed correctly the package on Ubuntu 20.04 with Mathematica 12.1. But when i try to run the test it returns:

Needs["QUTesting`"];

AssignUsage::nousg: No usage message in UsageData[] for symbol TestResults found; using a blank message instead.

AssignUsage::nousg: No usage message in UsageData[] for symbol RunAllTests found; using a blank message instead.

RunAllTests[]

Needs::string: String expected at position 2 in Needs[PredicatesTests`,FileNameJoin[{QUDevTools`Private`TestingPath,PredicatesTests.m}]].

Needs::string: String expected at position 2 in Needs[TensorTests`,FileNameJoin[{QUDevTools`Private`TestingPath,TensorTests.m}]].

Needs::string: String expected at position 2 in Needs[QuantumSystemsTests`,FileNameJoin[{QUDevTools`Private`TestingPath,QuantumSystemsTests.m}]].

General::stop: Further output of Needs::string will be suppressed during this calculation.

0 of 7 unit tests passed.
awstasiuk commented 2 years ago

There appears to be an issue with the way strings are handled in this version of Mathematica. Even though things like testing will fail, many of the functions still appear to work. Namely, CircleTimes and PartialTr.