What Is the Difference Between Loss and Cost Functions in Quantum Computing?

  • Context: Undergrad 
  • Thread starter Thread starter SaschaSIGI
  • Start date Start date
  • Tags Tags
    Cost function Loss
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
SaschaSIGI
Messages
3
Reaction score
0
Hello,
Im currently hearing a module about quantum computing and Im wondering what is the difference of a loss and cost function for variational quantum algortihms? Both functions also can be presented into a loss/cost landscape? Are they the same ?

Already a big thank you for all the upcoming answers!
 
Physics news on Phys.org
Hello, and :welcome: !

No answers in three weeks, so there must be something missing in this post.
Perhaps you can provide some context, examples, references ? Be more specific ?

Would be good to read the guidelines even though this isn't homework.

##\ ##
 
BvU said:
No answers in three weeks, so there must be something missing in this post.
Perhaps you can provide some context, examples, references ? Be more specific ?
I don't think so, the problem is rather that https://en.wikipedia.org/wiki/Loss_function and other sources write
a loss function or cost function (sometimes also called an error function)
And even so there is the feeling that they really are used for the same thing but in slightly different contexts, it is hard to pin this down.
 
Reply
  • Informative
Likes   Reactions: BvU
I always treat loss/cost/objective function as synonyms until a reference uses both and gives a definition of both that clarifies the distinction.
 
Reply
  • Informative
Likes   Reactions: BvU