# Upper and lower bounds of trace

**URL:** <https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153>\
**Category:** PennyLane Help\
**Created:** [June 5, 2019, 7:32pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153 "2019-06-05T19:32:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kareem\_essafty](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/kareem_essafty/32/401_2.png) [@kareem\_essafty](https://discuss.pennylane.ai/u/kareem_essafty)\
**Post date:** [June 5, 2019, 7:32pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/1 "2019-06-05T19:32:14Z")

</div>

hi,  
I’d like to know if my understanding is sound and reasonable.  
if i have a system of one mode with 10 dims “fock space”  
so the upper bound of the trace is always equal to 1  
but the lower bound will be = 1 - (1/10) = 0.9  
so if the trace is within 1 or 0.9 then the quantum system is still healthy?  
[ref 1](https://en.wikipedia.org/wiki/Purity_(quantum_mechanics)#Physical_meaning)  
[ref 2](https://arxiv.org/pdf/1504.05270.pdf)  
[ref 3](https://arxiv.org/pdf/1110.3234.pdf)

---

<div class="post-metadata">

**Author:** ![kareem\_essafty](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/kareem_essafty/32/401_2.png) [@kareem\_essafty](https://discuss.pennylane.ai/u/kareem_essafty)\
**Post date:** [June 8, 2019, 12:27am UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/2 "2019-06-08T00:27:34Z")

</div>

@josh can you please help me?

---

<div class="post-metadata">

**Author:** ![nathan](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/nathan/32/85_2.png) [@nathan](https://discuss.pennylane.ai/u/nathan)\
**Post date:** [June 8, 2019, 3:57pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/3 "2019-06-08T15:57:12Z")

</div>

HI @kareem_essafty,

The cutoff of the fock space tells you how much “breathing room” your state has.The trace of the state tells you how much your state has support inside vs outside the cutoff.

A valid general lower bound for the trace is 0.

It is quite possible that a state could have zero support on the subspace defined by your cutoff (e.g., the Fock state |11\>), leading to trace of zero.

On the other hand, some states will safely have full support inside the 10-dimensional cutoff subspace (e.g., the Fock state |5\>).

Put another way, there is no general connection between the cutoff dimension and the trace (it all depends on which state you have).

Separately, usually a trace around 0.98~0.99 is a good sign that you are not missing any strong info by using a cutoff.

---

<div class="post-metadata">

**Author:** ![kareem\_essafty](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/kareem_essafty/32/401_2.png) [@kareem\_essafty](https://discuss.pennylane.ai/u/kareem_essafty)\
**Post date:** [June 10, 2019, 7:24pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/4 "2019-06-10T19:24:19Z")

</div>

thank you so much @nathan

---

<div class="post-metadata">

**Author:** ![kareem\_essafty](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/kareem_essafty/32/401_2.png) [@kareem\_essafty](https://discuss.pennylane.ai/u/kareem_essafty)\
**Post date:** [June 10, 2019, 9:13pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/5 "2019-06-10T21:13:04Z")

</div>

what about this equation

 ![image](https://canada1.discourse-cdn.com/flex012/uploads/pennylane/original/1X/c13f25f2f241a4ff365faac075ab3214d893f03c.png)

does the cutoff have anything with the hilbert space dimension?

---

<div class="post-metadata">

**Author:** ![nathan](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/nathan/32/85_2.png) [@nathan](https://discuss.pennylane.ai/u/nathan)\
**Post date:** [June 10, 2019, 9:44pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/6 "2019-06-10T21:44:06Z")

</div>

Unfortunately, the identity operator is not normalizable in the infinite-dimensional case, so the formula above (about completely mixed states) does not hold for the photonics case.

You could picture making a completely mixed state on a finite-dim subspace, e.g., up to the cutoff dimension, but it wouldn’t exactly be the restriction of some larger state to a subspace.

---

<div class="post-metadata">

**Author:** ![kareem\_essafty](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/kareem_essafty/32/401_2.png) [@kareem\_essafty](https://discuss.pennylane.ai/u/kareem_essafty)\
**Post date:** [June 10, 2019, 9:46pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/7 "2019-06-10T21:46:39Z")

</div>

then how can we formulate it?  
or is there any reference i can use to deepen my understanding?  
thanks \<3 again

---

<div class="post-metadata">

**Author:** ![nathan](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/nathan/32/85_2.png) [@nathan](https://discuss.pennylane.ai/u/nathan)\
**Post date:** [June 10, 2019, 9:58pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/8 "2019-06-10T21:58:29Z")

</div>

> [@kareem\_essafty](#):
>
> then how can we formulate it?

What would you like to formulate?

---

<div class="post-metadata">

**Author:** ![kareem\_essafty](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/kareem_essafty/32/401_2.png) [@kareem\_essafty](https://discuss.pennylane.ai/u/kareem_essafty)\
**Post date:** [June 10, 2019, 10:00pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/9 "2019-06-10T22:00:09Z")

</div>

the identity operator in infinite-dimensional space  
and please pardon me if i’m wrong i’m trying study this area of CV model on my own right now

---

<div class="post-metadata">

**Author:** ![nathan](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/nathan/32/85_2.png) [@nathan](https://discuss.pennylane.ai/u/nathan)\
**Post date:** [June 12, 2019, 1:52pm UTC](https://discuss.pennylane.ai/t/upper-and-lower-bounds-of-trace/153/10 "2019-06-12T13:52:36Z")

</div>

The natural way the identity operator appears in CV model is via the commutation relation [x,p]=i \*hbar \* Identity.

If you want to represent that operator in the Fock basis, it is exactly what you would expect: a matrix with all ones on the diagonal (n=0 to infinity). The projection of this operator onto a finite-dimensional subspace is also what you’d expect: a matrix with all ones on the diagonal (n=0 to D).

The main stopping point is if you want to make the “completely mixed state” in the Fock basis. Since the Identity operator is not normalizable (it’s trace is infinite), the usual route to making the maximally mixed state falls apart.

It is much more common in practice to encounter CV states with non-uniform distributions over the Fock basis
