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
Click For Summary

Discussion Overview

The discussion centers around the distinction between loss and cost functions in the context of variational quantum algorithms within quantum computing. Participants explore the definitions, contexts, and potential overlaps of these terms.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant questions the difference between loss and cost functions, suggesting they may be presented in a similar landscape.
  • Another participant notes the lack of responses and encourages providing more context, examples, or references to clarify the inquiry.
  • A different participant references external sources, indicating that loss and cost functions are often treated as synonymous but may have subtle contextual differences that are difficult to define.
  • One participant expresses a personal approach of treating loss, cost, and objective functions as synonyms unless a specific reference distinguishes them clearly.

Areas of Agreement / Disagreement

There is no consensus on the distinction between loss and cost functions, with multiple views presented regarding their usage and definitions.

Contextual Notes

Participants mention the need for clearer definitions and examples, indicating that the discussion may be limited by the lack of specific context or references.

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.
 
  • 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.
 
  • Informative
Likes   Reactions: BvU

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 46 ·
2
Replies
46
Views
10K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K