qat.mps.compute_mps

qat.mps.compute_mps(circ, qpu: MPSQPU)

Compute the pure state in MPS representation for given circuit and QPU.

Parameters
  • circ (Circuit) – The circuit to simulate.

  • qpu (QPU) – The MPS QPU to use.

Returns

The computed MPS. dict : Info about the simulation run.

Return type

StateMPS

Note

This method is available as an application in Qaptiva Access.