quchip.engine.input_output

Backend-neutral input-output assembly for stationary port calculations.

Accessible channels are the port-marked subset of CollapseTerm. This module derives coherent input Hamiltonians, output coupling operators, and stationary-frame checks from those resolved terms.

Functions

add_port_inputs(engine, backend, tones)

Add stationary i(beta* L - beta L†) terms in angular units.

port_operators(engine, backend)

Return each resolved channel coupling L_p = exp(i phi) sqrt(kappa) A_p.

reject_retained_mode_responses(chip)

Reject a stationary field calculation that would omit retained multiport mode responses.

resolve_stationary_engine(chip, port_frequencies)

Resolve port-tone frequencies into one static engine description.

stationary_frame_plan(chip, port_frequencies)

Return the frame plan of stationary port tones and the planning resolution.

quchip.engine.input_output.reject_retained_mode_responses(chip)[source]

Reject a stationary field calculation that would omit retained multiport mode responses.

quchip.engine.input_output.stationary_frame_plan(chip, port_frequencies)[source]

Return the frame plan of stationary port tones and the planning resolution.

quchip.engine.input_output.resolve_stationary_engine(chip, port_frequencies)[source]

Resolve port-tone frequencies into one static engine description.

Under an active excitation cutoff, the engine keeps the labels with N <= K and the projected model on them.

quchip.engine.input_output.port_operators(engine, backend)[source]

Return each resolved channel coupling L_p = exp(i phi) sqrt(kappa) A_p.

quchip.engine.input_output.add_port_inputs(engine, backend, tones)[source]

Add stationary i(beta* L - beta L†) terms in angular units.