CQCL / pytket-cutensornet

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

Feature: MPS support for gates on non-adjacent qubits #119

Open PabloAndresCQ opened 1 month ago

PabloAndresCQ commented 1 month ago

Description

MPS algorithms MPSxGate and MPSxMPO now support simulation of two-qubit gates acting on non-adjacent qubits.

Related issues

It relates to #107. As discussed in the comments on that issue, sometimes applying prepare_circuit_mps to add SWAPs so that all gates act on adjacent qubits is advantageous for runtime, hence, it is still supported. However, it is generally advised to skip this preprocessing.

Checklist