Patent attributes
A search device, a search method, and a search program for causing a quantum computer to search for angles of joints of a robot such as a robot arm at which the posture of the robot satisfies a predetermined condition by using a quantum algorithm are provided. The search device includes a specifying unit that specifies a function for identifying whether or not a posture of a robot satisfies a predetermined condition, a setting unit that applies a unitary transformation formed based on the function to a plurality of qubits corresponding to an angle of a joint of the robot a number of times according to the number of the plurality of qubits and sets a quantum computer so as to search for a state of the plurality of qubits corresponding to the angle satisfying the predetermined condition according to a quantum algorithm, and a calculation unit that calculates the angle corresponding to a measurement value of the plurality of qubits.