English
Languages
English
Shortcuts



WarmStartQAOAFactory.create_mixer

WarmStartQAOAFactory.create_mixer(initial_variables)[source]

Creates an evolved mixer circuit as Ry(theta)Rz(-2beta)Ry(-theta).

Parameters

initial_variables (List[float]) – Already created initial variables.

Return type

QuantumCircuit

Returns

A quantum circuit to be used as a mixer in QAOA.