∞

  • Home

  • Archives

  • Categories

  • Tags

  • Search

Notes for QUANTUM COMPUTING: Chp #2 Single-Qubit Quantum Systems

Posted on 2019-10-07 | Edited on 2019-10-17 | Comments: | Views:

This is my notes for a highly recommended book “QUANTUM COMPUTING: A Gentle Introduction” by Eleanor Rieffel and Wolfgang Polak. The colored blocks in this notes are my interpretations, questions and answers to the exercises.

All theory is gray, my friend. But forever green is the tree of life.
Grau, teurer Freund, ist alle Theorie und grün des Lebens goldner Baum.

Johann Wolfgang von GoetheFaust: First Part
Read more »

ECDSA and Bitcoin III: Private Key, Public Key and Address

Posted on 2019-02-28 | Edited on 2019-03-06 | In ECDSA and Bitcoin | Comments: | Views:

If we have an elliptic curve(defined by aaa and bbb), a prime(PPP), an basepoint G(x1,y1)G(x1,y1)G(x1,y1) and an order of this basepoint(NNN), then we can choose a number(say nnn) and calculate n∗Gn*Gn∗G.
nnn is sometimes called private key and n∗Gn*Gn∗G is sometimes called public key.

An example

Parameters

a = 1; b = 1; P = 23;
x1 = 3; y1 = 10; G = [x1,y1];
N = 28;

The above example has only 27 possible private keys(N−1=27N-1=27N−1=27). It’s not safe. We need a large NNN, say

N=115792089237316195423570985008687907852837564279074904382605163141518161494337N = 115792089237316195423570985008687907852837564279074904382605163141518161494337 N=115792089237316195423570985008687907852837564279074904382605163141518161494337

That’s the order of Bitcoin.

Read more »

Hexo Cool Staffs II

Posted on 2019-02-25 | Edited on 2019-02-28 | In Hexo | Comments: | Views:

Other cool stuffs from Theme NexT Tag doc, Hexo Tag Plugins doc and GitHub Markdown doc.

Gist

{% gist gist_id [filename] %}
{% gist b4eb2aaa59af3fbdf1ae1f7ab979b6ae modular_inverse %}
Read more »

Hexo Cool Stuffs I

Posted on 2019-02-22 | Edited on 2019-10-13 | In Hexo | Comments: | Views:

Some cool stuffs from Theme NexT Tag doc, Hexo Tag Plugins doc and GitHub Markdown doc.

Note

{% note %}
#### Header
(without define class style)
{% endnote %}

Header

(without define class style)

{% note default %}
#### Default Header
Welcome to [Hexo!](https://hexo.io)
{% endnote %}

Default Header

Welcome to Hexo!

Read more »

Hexo Adjustment

Posted on 2019-02-21 | Edited on 2019-02-26 | In Hexo | Comments: | Views:

Some adjustment I’ve made.

Migrate files from Jekyll

Move all files in the Jekyll _posts folder to the source/_posts folder.
Modify the new_post_name setting in _config.yml:

1
new_post_name: :year-:month-:day-:title.md

Image align center

themes\next\source\css_schemes\Mist_posts-expanded.styl

1
.post-body img { margin: auto; }

More info: ref

Read more »

Chinese 中文

Posted on 2019-02-20 | Edited on 2019-03-06 | In 中文 | Comments: | Views:

This is a test file 😃
这是一个测试文件 😃

Hexo and KaTeX

Posted on 2019-02-14 | Edited on 2019-09-01 | In Hexo | Comments: | Views:

Now we’ve build our Hexo site on GitHub and seen Hexo’s “Hello World” post, it’s time to embed KaTeX.

Read more »

Hexo Hello World

Posted on 2019-02-13 | Edited on 2019-02-24 | In Hexo | Comments: | Views:

Welcome to Hexo! This is Hexo’s default post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or ask questions on GitHub.

Read more »

Hexo and GitHub

Posted on 2019-02-12 | Edited on 2019-02-26 | In Hexo | Comments: | Views:

KaTeX is the fastest math typesetting library for the web. Hexo is a fast, simple & powerful blog framework. KaTeX, Hexo and GitHub together is a good choice for those who want to build a Blog and write some equations on his/her posts. Before embed KaTeX, let’s build Hexo on GitHub.

Read more »

From Jekyll To Hexo

Posted on 2019-02-11 | Edited on 2019-02-25 | In Hexo | Comments: | Views:

Why Hexo?

At first I used Jekyll 3.8.5 and built a blog on GitHub. There are a lot of equations in my post, so I also used Jekyll-Katex 0.3.0, a Jekyll plugin for easy server-side math rendering via KaTeX. Everything works fine on my local machine. But when I pushed it to GitHub, I got this: “Your site is having problems building: The tag Katexmm on line 11 in _posts/2019-01-22-ECDSA-and-Bitcoin-I.md is not a recognized Liquid tag.”
I tried Netlify and Cloudcannon, as suggested by ashmaroli on StackOverflow, and failed again. Did I Choose the Right Static Generator? I asked myself. So I decided to try Hexo.

Read more »
12
Jun Wang

Jun Wang

How the world works?

12 posts
3 categories
12 tags
RSS
GitHub E-Mail Skype
Links
  • Google
  • Coursera
0%
© 2019 Jun Wang | 127k | 1:56
Powered by Hexo v3.8.0
|
Theme – NexT.Mist v7.0.0
|