qat.mps.compute_mpo

qat.mps.compute_mpo(circ, qpu: MPOQPU)

Compute the mixed state in MPO representation for given circuit and QPU.

Non-1D circuits are supported thanks to nnization.

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

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

Returns:

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

Return type:

StateMPO

Note

This method is available as an application in Qaptiva Access.