A method for operating a heat pump, in which a compressor, a condenser, a throttle valve, an evaporator, a jet pump and a separator are arranged in a heat-pump circuit of a working medium, wherein gaseous working medium is compressed in the compressor of the heat-pump circuit, wherein the compressor outlet is connected to the inlet of the condenser, in which the working medium condenses with a release of heat, wherein the heat is supplied as useful heat directly or indirectly to a vehicle interior, wherein the condenser is followed by the jet pump, to which the liquid working medium coming from the condenser is supplied as driving medium, on the one hand, and to which the gaseous working medium flowing out from the evaporator is supplied as suction medium, on the other hand, in such a way that the driving medium and the suction medium are compressed in the jet pump to form a two-phase mixture, in particular the driving medium and the suction medium are compressed in a diffusor of the jet pump to form a two-phase mixture, wherein the jet-pump outlet is connected to the inlet of the separator, to which the two-phase mixture is supplied and in which the gaseous working medium is separated from the liquid working medium, wherein the gas outlet of the separator is connected to the compressor inlet and the liquid outlet of the separator is connected to the inlet of the throttle valve, and wherein the liquid working medium is throttled in the throttle valve and the outlet of the throttle valve is connected to the inlet of the evaporator, in which there occurs, with a supply of heat, a phase transition to gaseous working medium which is supplied as suction medium to the suction-medium inlet of the jet pump. in which a compressor, a condenser, a throttle valve, an evaporator, a jet pump and a separator are arranged in a heat-pump circuit of a working medium, wherein gaseous working medium is compressed in the compressor of the heat-pump circuit, wherein the compressor outlet is connected to the inlet of the condenser, in which the working medium condenses with a release of heat, wherein the heat is supplied as useful heat directly or indirectly to a vehicle interior, wherein the condenser is followed by the jet pump, to which the liquid working medium coming from the condenser is supplied as driving medium, on the one hand, and to which the gaseous working medium flowing out from the evaporator is supplied as suction medium, on the other hand, in such a way that the driving medium and the suction medium are compressed in the jet pump to form a two-phase mixture, in particular the driving medium and the suction medium are compressed in a diffusor of the jet pump to form a two-phase mixture, wherein the jet-pump outlet is connected to the inlet of the separator, to which the two-phase mixture is supplied and in which the gaseous working medium is separated from the liquid working medium, wherein the gas outlet of the separator is connected to the compressor inlet and the liquid outlet of the separator is connected to the inlet of the throttle valve, and wherein the liquid working medium is throttled in the throttle valve and the outlet of the throttle valve is connected to the inlet of the evaporator, in which there occurs, with a supply of heat, a phase transition to gaseous working medium which is supplied as suction medium to the suction-medium inlet of the jet pump.