RQAOAType

class RQAOAType

ベースクラス: Enum

Selects the QAOA circuit construction strategy used within each RQAOA iteration.

Pass this as RQAOA.Parameters.qaoa_type to control which QAOA implementation is used when solving the reduced sub-problems.

Attributes

ORIGINAL

Standard QAOA for unconstrained Ising problems.

ORIGINAL_QUADRATIC

Like ORIGINAL but restricts the objective to quadratic form.

classmethod __contains__(value)

Return True if value is in cls.

value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls's members. 3) value is a pseudo-member (flags)

classmethod __getitem__(name)

Return the member matching name.

classmethod __iter__()

Return members in definition order.

classmethod __len__()

Return the number of members (no aliases)

ORIGINAL = (<class 'amplify_quantum.algo.qaoa.impls.qaoa_original.OriginalQAOAImpl'>, <amplify.AcceptableDegrees object>)

Standard QAOA for unconstrained Ising problems.

ORIGINAL_QUADRATIC = (<class 'amplify_quantum.algo.qaoa.impls.qaoa_original.OriginalQAOAImpl'>, <amplify.AcceptableDegrees object>)

Like ORIGINAL but restricts the objective to quadratic form.