Optimal control 2026-10-05
Choice of a control input to minimize an objective subject to differential equations for a state and constraints on the control, state or terminal time. Necessary conditions such as the Pontryagin maximum principle require regularity hypotheses and do not by themselves prove global optimality.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 60 2 a Solution Created 2026-10-03 Updated 2026-10-14
In units , a bilinear Hamiltonian control system haswhere the Hermitian matrices are fixed, and the real functions are admissible control inputs. The corresponding vector or density operator dynamics are or . The dynamics are linear in the state at fixed input and affine in the inputs at fixed state; this is the bilinear terminology.
The reachable set from an initial state at time is . With freely chosen duration, take . Controllability means every allowed target is reachable from every allowed initial state. The allowed space and phase convention must be specified. For closed quantum control, density operators remain on their initial unitary orbit of a density operator, rather than becoming arbitrary density operators with different eigenvalues.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 61 1 a Solution Created 2026-10-03 Updated 2026-10-14
A reachable set contains all states attainable from a specified initial state by admissible control inputs in the allowed times, and controllability means that every target in the declared state space is reachable from every initial state. For a closed quantum control system, distinguish pure-state controllability on state rays, density operator controllability on fixed-spectrum unitary orbits, and unitary operator controllability for entire propagators. State engineering asks for a particular state transfer; process engineering asks for an entire quantum gate, which must act correctly on every input. A closed Hamiltonian evolution preserves density-operator eigenvalues, so arbitrary mixed states of different spectra cannot be connected even by a fully operator-controllable system.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 52 1 a Solution Created 2026-10-03 Updated 2026-10-14
The target specifies the desired output; the controller selects a control input; an actuator realizes it on the system; and the sensor returns a measured output. The environment supplies additional interactions and disturbances. A simple loop is:
Quantum control loop, showing the measurement record and measurement backaction
. Details. For a quantum sensor, a measurement in quantum mechanics has statistical outcomes and generally changes the state through measurement backaction. For example, outcome of an instrument with operator has probability and conditional stateA single unknown quantum state cannot generally supply its complete instantaneous state vector to a controller. Noncommuting observables cannot be read simultaneously with arbitrary precision, and reliable quantum state tomography normally needs many reproducible preparations. A conditional state estimate can instead be updated from a continuous record, with its disturbance included in the model.
Quantum actuators change a Quantum Hamiltonian through applied electromagnetic fields, tunable interactions or couplings to auxiliary systems. A closed-system actuator implements unitary operators, so it preserves the spectrum and purity of a density operator; it cannot arbitrarily overwrite a state as a classical assignment operation could. Dissipative actuators or measurement in quantum measurements can change these invariants, but their dynamics must be accounted for.
The environment can entangle with the system, causing decoherence and dissipation when unobserved degrees of freedom are traced out. It is consequently part of the dynamical model, rather than just an additive classical disturbance. Conversely, Markovian reservoir engineering uses such coupling constructively to prepare and stabilize states.
In open-loop control the applied waveform is prescribed without using measurements from the current evolution. In closed-loop control it depends on the available measurement record or inferred state. Measurement-based quantum feedback is one realization of the latter; experimental adaptation across repeated preparations is another. The measurement record is classical information, but its production has quantum backaction.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 52 1 b Solution Created 2026-10-03 Updated 2026-10-14
Three standard objectives are state preparation, observable optimization and process implementation. All optimizations are over admissible control inputs and a specified final time .
For state preparation, steer an initial density operator to a target . An exact goal is , or one may minimize the squared Hilbert-Schmidt distanceFor a pure target , maximizing is a useful alternative. The target must be physically attainable: Hamiltonian engineering alone preserves the initial spectrum of the density operator.
For an observable objective, choose a Hermitian operator and maximize its expected final value:Population transfer is a special case with the projector onto the desired level or subspace; suppressing an unwanted population reverses the sign or minimizes this quantity.
For coherent process engineering, implement a target unitary operator on every input, rather than merely arranging one state transfer. If the propagator is , a phase-insensitive error isThe error vanishes precisely when : equality in the Hilbert-Schmidt inner product Cauchy-Schwarz inequality bound makes the two operators proportional. For an open-system process, the analogous objective compares the implemented quantum channel with the target channel. These objectives can be supplemented by pulse-energy, amplitude, bandwidth and duration constraints in quantum optimal control.
Plant (control theory) 2026-10-13
The controlled plant is the part of a control theory model that receives the control input and produces the plant output, including the mechanism that applies the command. The controller is specified separately. In the illustrative ordinary differential equation , the controlled plant accumulates the control input and control disturbance; it does not itself choose .
Proportional control 2026-10-14
Proportional control chooses a control input proportional to the current tracking error. For the ideal controlled plant and constant reference signal , its ordinary differential equation is . With and initial condition , the exact response isFor , and , this gives and . To verify the formula, substitute it into the ordinary differential equation and check the initial condition; its decaying exponential function explains the approach to the goal.
With a constant control disturbance, setting gives the equilibrium point and steady-state tracking error . For , doubling the feedback gain from to reduces the offset from to . This improvement is a statement about the ideal model: it neglects feedback delay and measurement noise, so it does not establish that arbitrarily large feedback gains are safe. [ref]
https://www.fbswiki.org/wiki/index.php/Introduction. Åström and Murray, Chapter 1: feedback benefits and drawbacks
In the first diagram's switched control disturbance experiment, and from give, for ,Thus and . At the equilibrium point, the controller supplies to cancel the control disturbance. Proportional control needs a nonzero tracking error to produce that persistent correction.
Quantum control 2026-10-13
Quantum control chooses externally adjustable interactions to steer a quantum state or implement a desired unitary operator. Its achievable transformations depend on the Hamiltonian or Lindblad equation, the available control inputs, and physical constraints such as bandwidth and amplitude. Quantum optimal control optimizes performance within those constraints.
Quantum controllability 2026-10-14
Quantum controllability concerns the transformations reachable under specified quantum control inputs. Unitary operator controllability concerns entire propagators; density operator controllability concerns conjugation on every spectral orbit; pure-state controllability concerns normalized state vectors or their physical rays. These notions need not coincide.
Reachability in control theory 2026-10-13
Reachability in control theory asks about a particular initial state and target : does some admissible control input make at the declared time , or at some allowed duration? Controllability requires this for every pair in the declared state space. This is a property of state evolution, distinct from graph reachability.
For a linear time-invariant system, solving the ordinary differential equation by a matrix exponential givesThe first term is the unforced endpoint. Reachability in control theory asks whether the control input can supply exactly the displacement . The timing matters because the same command is carried by different amounts of subsequent dynamics. [ref]
https://ee263.stanford.edu/archive/contr.pdf. Stephen Boyd, EE263: Controllability and state transfer, slide 18–3
Here is a contrasting mathematical example with one shared control input:The controllability matrix has rank of a matrix one. Since , the difference is invariant under every allowed control input. From the reachable set is the diagonal when input amplitudes are unrestricted: is reachable at using , while is impossible at every duration. Having a control input appear in both state equations did not give independent control of both states. This reachable set is pictured alongside the bounded double integrator below.
Reachable set 2026-10-14
The reachable set collects all endpoints attainable from at exactly by admissible control inputs. If arrival any time up to is allowed, use , with . These definitions differ: a general dynamical system may drift away after early arrival, so waiting need not preserve the target. The reachable set is always relative to a declared input class and any constraints on the entire path.
For the double integrator starting from , now require measurable functions as control inputs with almost everywhere. Write for its endpoint at . Two integrals determine the endpoint:Our mathematical example has the exact reachable setTo see the upper boundary, fix : put first and last, switching at . This maximizes the weighted integral for position because early commands have the largest weight ; the required net velocity fixes . Formally, has the same sign as this maximizing command, so changing to any other admissible command with the same integral cannot increase . Reversing the order gives the lower boundary. Pointwise convex combinations of these two commands preserve and attain every intermediate , so the formula describes the whole region, not merely a bound. The extreme commands are bang-bang control.
In particular, the bounded double integrator can move from rest to position and rest again exactly when . Its minimum duration is therefore in these normalized units. With freely chosen time every rest-to-rest distance is attainable; with a fixed deadline many are excluded. Changing the amplitude bound to with scales this condition to . This shows why specifying the controls matters even when the Kalman rank criterion gives full rank of a matrix.
In closed quantum control, a density operator reachable set lies inside its unitary orbit of a density operator, since coherent evolution preserves the spectrum. That orbit need not be fully reachable under the available control inputs.
Reference signal 2026-10-14
A reference signal specifies the desired physical plant output as a function of time. A fixed reference signal is often called a setpoint; a changing reference signal describes a trajectory to follow. A reference signal is a goal, whereas the control input is the command chosen to achieve that goal. [ref]
https://jckantor.github.io/cbe30338-book/notebooks/03.06-Proportional-Integral-Control.html. Jeffrey Kantor, Practical Proportional and Proportional-Integral Control, nomenclature and sign conventions
Asking for a temperature of does not specify a heater command of : dimensional analysis distinguishes the units of these quantities. The reference signal and the measured output must describe the same quantity in the same coordinates before their difference can define a tracking error. An unconverted sensor readout cannot be subtracted directly from a desired temperature.
For example, let be temperature rise above a fixed ambient baseline , and write the desired temperature as . A Heaviside step function gives for , with before the change: the target rise becomes at once, although a physical controlled plant generally cannot jump at once. A ramp reference signal instead asks the temperature rise to increase at a fixed rate . If and , the first reference signal asks for a lasting one-degree rise; the second asks for a one-degree rise at and a two-degree rise at . Here degree Celsius differences are also kelvin differences. A target that grows forever is useful for analytical tests but eventually exceeds a real heater's range.
To make the distinction between a goal and a command concrete, the examples in steady-state tracking error use the first-order low-pass filter as a new controlled plant, rather than the accumulating controlled plant used in the earlier feedback demonstration:The time constant has units of time, has units of plant output per control input, and the additive control disturbance has the units of . This is an equivalent output offset, not the rate-like in . A heater interpretation uses in degree Celsius differences and in percentage points of heater command, with in degrees per percentage point; the control input is a command, not a direct measurement of delivered power. With exact measurement, holding requires . Thus even a constant reference signal can require a persistent nonzero control input. The numerical model below is deliberately synthetic and has no fitted laboratory parameters.
Steady-state tracking error 2026-10-14
The steady-state tracking error iswhen this finite limit exists. A finite steady-state tracking error does not require the reference signal, the plant output, or the control input to become constant: all can grow while their difference settles. If the tracking error grows without bound or keeps oscillating, report that behavior rather than assigning a finite steady-state tracking error. Eventual accuracy and asymptotic stability are different questions.
For the first-order low-pass filter introduced in reference signal, assume exact measurement, constant control disturbance , and no actuator saturation or feedback delay. Under proportional control with , a constant reference signal givesThe decaying homogeneous solution has rate , so this equilibrium point is approached from any finite initial condition. A nonzero tracking error is needed to maintain the control input that balances the model's tendency to relax toward . This differs from the accumulating controlled plant , for which proportional control already tracks a constant reference signal exactly when . The presence or absence of a step offset depends on both the controlled plant and the controller.
For a ramp reference signal , the same proportional control givesIts long-time particular solution grows with slope when . Thus the controlled plant and homogeneous closed-loop response are stable, but the tracking error has no finite steady-state tracking error. A changing goal requires a different performance test from a fixed destination.
Now use proportional-integral control , , with . For the same controlled plant, differentiate the error equation on intervals where the inputs are smooth:The characteristic polynomial has both roots of a polynomial in the open left half-plane: real roots have negative sum and positive product, and a nonreal complex conjugate pair has negative real part. This proves decay of the homogeneous error for this model. It does not prove stability of an arbitrary controlled plant controlled by positive gains. At a reference jump, use the original ordinary differential equations to set the new initial conditions, rather than treating the reference as smooth at that jump.
With a constant reference signal and constant control disturbance, proportional-integral control therefore gives . At its equilibrium point, , , and . The stored integral maintains the required command while the current tracking error vanishes. For a ramp reference signal, however, the forcing above is , andThe tracking error settles even though the accumulated integral and the required control input grow. This finite offset is the error needed to keep increasing that command. For with , the forcing is and even this proportional-integral control leaves a tracking error growing with slope . Integral action is therefore a precise mechanism for selected input classes, not a promise of perfect tracking for every reference signal. [ref]
https://www.fbswiki.org/wiki/index.php/PID_Control. Åström and Murray, Feedback Systems, Chapter 11: integral action and actuator limits
Here are completely explicit synthetic examples with , , and no sensor bias. Choose , per percentage point, percentage point per degree, and percentage points per degree-second. Thus is dimensionless, and . In the following formulas, denotes the numerical time in seconds and denote numerical temperature rises in degrees. For the unit-step reference signal , proportional control and proportional-integral control respectively giveFor the ramp reference signal , the corresponding solutions areThe control inputs here are numerical heater-command percentage points. Substitution into and into the controller equations checks these solutions without invoking an unverified limiting rule. The proportional control step offset is degrees; the proportional-integral control step offset is zero. The proportional control ramp error grows; the proportional-integral control ramp offset is degrees, exactly .
Synthetic step and ramp tracking of one stable first-order low-pass filter
. Original analytical model curves, not measurements or fits to the temperature laboratory. Columns compare plant output with reference signal, signed tracking error, and control input; rows use a unit step and a ramp of degrees per second. Both designs have decaying homogeneous responses. Proportional-integral control removes the step offset but leaves the ramp offset degrees; proportional control has an increasing ramp error. Heater-command percentage points and output degrees use separate axes. Details.The conclusions have specific limits. With constant sensor bias , stable proportional-integral control for a feasible constant reference signal drives the measured tracking error to zero but leaves the physical discrepancy . Under proportional control, the measured offset instead becomes . If actuator saturation prevents the required control input, zero step offset is not achievable by these formulas. A changing control disturbance contributes to the error equation, while feedback delay can change stability; neither is covered by the constant-disturbance result. These restrictions are what make steady-state tracking error useful: it identifies the input, measurement convention, and model for which an accuracy claim is actually justified.
Stochastic control Created 2026-10-07 Updated 2026-10-14
A stochastic control problem chooses an admissible control input using information available in a filtration to optimize an expected objective for a random dynamical system. Dynamic programming often characterizes its value function through a Hamilton-Jacobi-Bellman equation.
Tracking error 2026-10-14
The tracking error used by the controller is the signed differencebetween the reference signal and the measured output. A positive tracking error means the readout is below the desired value; a negative tracking error means it is above. With exact measurement , and give . For a positive-response controlled plant, positive feedback gain in proportional control then reduces the plant output. The sign of the controller must also account for the sign of the controlled plant's response: a positive command that reduces the plant output requires a different sign choice. Kantor uses the opposite tracking error convention, , together with a minus sign in his controller; translating both signs gives the convention here. [ref]
Distinguish the controller's tracking error from the physical plant output discrepancy . If the readout has constant sensor bias , thenAll four quantities have the same units under dimensional analysis; a sensor bias is expressed in those units too. A readout that is too high by can make when the physical temperature is below the goal. Integral action integrates the tracking error it receives; it cannot infer this missing calibration information from that tracking error alone. Thermometer calibration against an independent reference addresses a different problem from tuning a feedback gain.
A motivating apparatus/model comparison is Park, Martin, Kelly and Hedengren's temperature-control laboratory: two TIP31C heaters with attached TMP36GZ sensors and heat sinks, an Arduino, a power supply, and a USB-connected computer. The readout converts sensor voltage to temperature; software records that measured output while specifying heater commands from to . For the single-heater test, one command changes in steps and the other heater stays off. Parameters are fitted to one run, then a different command sequence tests predictions without feeding measured temperatures into the simulation. The authors observe that their richer thermal model predicts the response better than the approximation with a single time constant and a delayed control input, especially after command changes. The real sensor has its own thermal lag. They also repeat the same command profile at different ambient temperatures and find changes in the response, motivating ambient-condition reporting. This experiment measures a command-to-readout response, not independently the exact heater temperature or delivered power. [ref]
https://www.researchgate.net/publication/338614896_Benchmark_Temperature_Microcontroller_for_Process_Dynamics_and_Control. Park, Martin, Kelly and Hedengren, Benchmark Temperature Microcontroller for Process Dynamics and Control, sections 2 and 3, Figures 3, 6 and 7: author-uploaded full text
The lesson for tracking error is to record three traces during a tracking test: the reference signal, the measured output, and the applied control input. Their first difference is the tracking error; a model prediction minus a readout is instead a model discrepancy. In a proposed comparison of proportional control and proportional-integral control, keep the initial temperature, ambient conditions, heater limits, and target changes fixed; run the second heater separately as a known control disturbance. Independent thermometer calibration is needed to assess physical accuracy. These are suggested controls, not additional experiments claimed for the paper. A sensor's lag, measurement noise, actuator saturation, and changed ambient conditions can all invalidate conclusions drawn from the ideal first-order model.



