CQCL / pytket-cutensornet

cuTensorNet Python API extensions for pytket quantum SDK
Apache License 2.0
8 stars 1 forks source link

TTN simulation fails when installing from pypi #97

Closed PabloAndresCQ closed 2 months ago

PabloAndresCQ commented 2 months ago

Using the simulate method with SimulationAlgorithm.TTNxGate fails due to the automatic partition of the qubits being found using KaHyPar, which requires an .ini file not available in the pypi release.

Could not load context file at: /home/brot/anaconda3/envs/py3.11/lib/python3.11/site-packages/pytket/extensions/cutensornet/structured_state/cut_rKaHyPar_sea20.ini
PabloAndresCQ commented 2 months ago

I was planning to remove this approach of initial qubit partition anyway, so I'll probably fall back to NetworkX in the next release as a hotfix, then remove this altogether later on.