ORNL-QCI / tnqvm

Tensor Network QPU Simulator for Eclipse XACC
43 stars 10 forks source link

Implement density matrix simulation via full tensor network contraction #88

Closed 1tnguyen closed 3 years ago

1tnguyen commented 3 years ago

Related to https://github.com/ORNL-QCI/tnqvm/issues/84 and https://github.com/ORNL-QCI/tnqvm/issues/87

Implemented a noisy simulation (exatn-dm) via full tensor network contraction. Gates and Kraus tensors are appended --> perform a full contraction. Support retrieval of the density matrix up to 10 qubits. Exp-val calc. (no limit on the number of qubits) is performed by tracing the tensor network (closing the bra and ket legs).

Also, added backend key as a way to specify the visitor name.