BinaryBlockConfig¶
- class BinaryBlockConfig(n_customers, n_vehicles, max_steps, bits_per_slot, n_slots, n_qubits)[source]¶
Bases:
objectConfiguration for binary-encoded CE-QAOA blocks.
- Variables:
n_customers – Number of customers (excluding depot).
n_vehicles – Number of vehicles.
max_steps – Maximum route length per vehicle.
bits_per_slot – Qubits per slot (ceil(log₂(n_customers + 1))).
n_slots – Total number of (vehicle, timestep) slots.
n_qubits – Total qubit count.
Attributes Summary
Attributes Documentation