<p>An actuator (101) is provided with a moving part (120), a support part (110) for supporting the moving part, a torsion bar (130) connecting the moving part and the support part such that the moving part can swing, and a processing circuit (140) formed in the moving part and used for performing processing related to the swinging of the moving part. The torsion bar includes (i) a first bar portion (131) in which wiring (15) connected to the processing circuit is formed, and (ii) a second bar portion (132) in which no wiring is formed. The maximum stress applied to the first bar portion when the moving part swings is smaller than the maximum stress applied to the second bar portion when the moving part swings. The first bar portion and the second bar portion are coplanar.</p>