quimb_tn_hubo

Contents

quimb_tn_hubo#

iqm.qaoa.circuits.quimb_tn_hubo(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 (HUBOQAOA) – A HUBOQAOA 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