Vertex-code API ================ This interface is fixed to the binary d=1,p=0 circle code. Its model, operator and transfer-matrix definitions are in :doc:`../theory/vertex`. It is separate from ``ModelSpec`` and the higher-degree CLI. VertexModel ------------ .. autoclass:: hcphases.VertexModel :members: volume, delta, couplings, log_prefactor, to_json :undoc-members: ``length`` is the spatial circle length L and ``slices`` the time-circle length M. Each must be an integer at least three, with L*M<=65536. ``K,g,T`` are strictly positive finite real quantum parameters. There is no J term, h argument, general-N option, boundary twist or longitudinal field. ``volume`` is L*M; ``delta`` is 1/(T*M). ``couplings`` returns the tuple (kappa_x,kappa_tau)=(delta*K/2,-log(tanh(delta*g))/2). ``log_prefactor`` is the logarithm of the full quantum/classical partition-sum prefactor, including the projector constant. ``to_json`` records the five constructor fields. The numerical domain requires finite delta, 0