amplify.client.QulacsClientParameters
- class QulacsClientParameters
A parameter class of the Qulacs client. This client solves Ising model and quadratic unconstrained binary problem by means of the Quantum Approximate Optimization Algorithm (QAOA).
- __init__(*args, **kwargs)
Methods
__init__
(*args, **kwargs)Attributes
Set or get a flag using formulation specialized to one-hot constraints.
Set or get a classical optimizer used in the QAOA tuning phase.
Set or get the quality parameter of the approximation in QAOA.
Set or get the number of executions in each quantum circuit for both tune and run phase.
- property n_hot_encoding
Set or get a flag using formulation specialized to one-hot constraints.
When n_hot_encoding is true, The default value is true.
- Type:
- property optimizer
Set or get a classical optimizer used in the QAOA tuning phase.
This parameters corresponds to \(\beta\) and \(\gamma\) in the QAOA papaer. Available optimizers are given from scipy minimize methods.
The default value is COBYLA.
- Type:
- property reps
Set or get the quality parameter of the approximation in QAOA.
This parameters corresponds to \(p\) in the QAOA papaer.
Larger reps increases the complexity of the circuit used in the QAOA algorithm.
This parameter must be a non-negative integer.
The default value is 10.
- Type: