quimb_tn

Contents

quimb_tn#

iqm.qaoa.circuits.quimb_tn(qaoa)[source]#

Constructs a quimb tensor network representing the quantum circuit.

The object is constructed just like any other quantum circuit by applying quantum gates. quimb transforms those into tensors.

Parameters:

qaoa (QUBOQAOA) – A QUBOQAOA object whose angles and interaction strengths are used in the construction of the tensor network.

Returns:

quimb tensor network representing the QAOA circuit (without measurements).

Return type:

qtn.Circuit