|q⟩ Bad Qubits

← Question Bank

Multiple choice
A variational cost is E(θ)=cos(θ)E(\theta) = \cos(\theta), so its gradient is dE/dθ=sin(θ)dE/d\theta = -\sin(\theta). At θ=π/3\theta = \pi/3, what are (E,dE/dθ)(E, dE/d\theta)?