Skip to Content.
Sympa Menu

ssreflect - Re: [ssreflect] Mathematical Components for Quantum Computing

Subject: Ssreflect Users Discussion List

List archive

Re: [ssreflect] Mathematical Components for Quantum Computing


Chronological Thread 
  • From: Robert Rand <>
  • To: Emilio Jesús Gallego Arias <>, Ssreflect-mailinglist <>
  • Subject: Re: [ssreflect] Mathematical Components for Quantum Computing
  • Date: Wed, 13 Sep 2017 14:24:56 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:3DAQaRWPxk5VVnzEN66HBEFks2zV8LGtZVwlr6E/grcLSJyIuqrYZhGFt8tkgFKBZ4jH8fUM07OQ6P+wHzFYqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aMlzFOAF0PuX4HJLJx4Tyjrjqus6bXwIdqT+8ZbJ1Gze7tpfKgeYfhY9vJaEG4wHIq2AAL+l+1TMwY1WJkEC4rvyr5pNt9ylbp7ck/s9EUKP1e6UjUfQMFy88Pm4x6cb3nRzYV06O4GEdWyMXlABJCk7L9kepcI32t37AseBwwjXSB8TwQfhgQy6r6atDUxLhk2EaLzM/9ifahtEm3/ETmw6ouxEqm92cW4qSLvcrO/qFJd4=

Hi Emilio,

I think your postscript is misunderstanding something. I'm not looking to instantiate matrices as a field (which they aren't), I'm looking to define the conjugate transpose on `'M[C]`s where C is a numClosedFieldType. It sounds from  Cyril as though this is possible in the development version of MathComp. 

As for the rest, I completely agree.

On Wed, Sep 13, 2017 at 11:03 AM, Emilio Jesús Gallego Arias <> wrote:
Hi,

Cyril <> writes:

> There is an upcomming generalization of numClosedFieldTypes (available
> only in the development version until now, but soon to be released)
> that contains conjugation.

Maybe I see Robert's question more as in

"would it make sense to add `conj_mx` and friend to math-comp, and if
 so, how to proceed?"

Indeed, I can count now 4 separate definitions of matrix conjugate /
unitary matrices, etc... all of the out of math-comp, so that looks bad
in terms of code/theory reuse.

Also, there are many other important blocks [such as the one
implementing the ssralg instances for Coq's R] of which several versions
are randomly floating around. I think this is pretty bad too.

I dunno how to proceed, but certainly math-comp seems to have become
quite static, with people preferring to carry around many extra files
instead of integrating them in the library.

Maybe this is what the maintainers want, maybe not, but even if the
effort to maintain code quality is understandable, I think the downside
today is pretty significant.

Maybe there should be another repository for all such "common",
non-mature theories? Something such as math-comp-extra or
math-comp-staging?

Best,
E.

p.s: Robert, unfortunately, I think you cannot instantiate the
numClosedFieldType machinery with the matrix transpose unless you have a
pretty specific matrix structure.

In particular, your matrices would need to form a field for a start, and
have a norm compatible with the current theories.

You can however made your development agnostic to the concrete
"complex-like" type, which is desirable I think.




Archive powered by MHonArc 2.6.18.

Top of Page