Francesco Petruccione http://www.francescopetruccione.com Personal page, blog and more (or less) Fri, 11 Jun 2021 16:08:13 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.2 43176688 A comparison of various classical optimizers for a variational quantum linear solver http://www.francescopetruccione.com/research Fri, 11 Jun 2021 13:25:24 +0000 http://www.francescopetruccione.com/?p=174 A historic paper: the first collaboration with Computer Science at UKZN. Thank you Anban Pillay, Aidan Pellow-Jarman, and Ilya Sinayskiy.

Abstract: Variational hybrid quantum-classical algorithms are a class of quantum algorithms intended to run on noisy intermediate-scale quantum (NISQ) devices. These algorithms employ a parameterized quantum circuit (ansatz) and a quantum-classical feedback loop. A classical device is used to optimize the parameters in order to minimize a cost function that can be computed far more efficiently on a quantum device. The cost function is constructed such that finding the ansatz parameters that minimize its value, solves some problem of interest. We focus specifically on the variational quantum linear solver, and examine the effect of several gradient-free and gradient-based classical optimizers on performance. We focus on both the average rate of convergence of the classical optimizers studied, as well as the distribution of their average termination cost values, and how these are affected by noise. Our work demonstrates that realistic noise levels on NISQ devices present a challenge to the optimization process. All classical optimizers appear to be very negatively affected by the presence of realistic noise. If noise levels are significantly improved, there may be a good reason for preferring gradient-based methods in the future, which performed better than the gradient-free methods with only shot-noise present. The gradient-free optimizers, simultaneous perturbation stochastic approximation (SPSA) and Powell’s method, and the gradient-based optimizers, AMSGrad and BFGS performed the best in the noisy simulation, and appear to be less affected by noise than the rest of the methods. SPSA appears to be the best performing method. COBYLA, Nelder–Mead and Conjugate- Gradient methods appear to be the most heavily affected by noise, with even slight noise levels significantly impacting their performance.

https://link.springer.com/article/10.1007/s11128-021-03140-x

]]>
174
After more then 5 years, it is time to update this website! http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Sat, 22 May 2021 16:27:47 +0000 http://www.francescopetruccione.com/?p=130

Please, visit again soon.

]]>
http://www.francescopetruccione.com/research/feed 0 130
Open Quantum Walks Bibliography http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Sat, 11 Apr 2015 09:23:36 +0000 http://www.francescopetruccione.com/?p=80 I have compiled a bibliography on Open Quantum Walks. You can find it here. Should I have missed your paper on Open Quantum Walks please send me an email with the reference and I will add it to the bibliography.

]]>
http://www.francescopetruccione.com/research/feed 0 80
LCHF Wholegrain biscuit http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Sun, 20 Jul 2014 15:50:57 +0000 http://www.francescopetruccione.com/?p=63 My colleague and friend Ilya shared this very simple and tasty recipe from the Russian website lchf.ru. Google translate did the rest!

I adapted the recipe slightly for the ingredients that we had at home. The recipe is very “stable”: it can be easily modified to accommodate whatever seeds and nuts you have in the pantry!

What you need is the following:

  • 2 eggs
  • 65g flax seeds
  • 40g sunflower seeds
  • 65g sesame seeds
  • 50g almond flour
  • 30g chia seeds

The ingredients for the wholegrain biscuit recipe.
]4The ingredients for the wholegrain biscuit recipe.

The procedure is very simple. Put the eggs in a glass Pyrex bowl and whip them with the electric beater. Gently add the other ingredients and keep mixing. Flatten the dough on a Silpat mat until it has the thickness of a biscuit, sprinkle it with sea salt. Gently cut the dough into squares. 4 times 5 should do the trick.

Wholegrain biscuit before putting it in the oven.

Bake for 10 minutes at 220 C degrees. Switch off the oven.

Wholegrain biscuit as it comes out of the oven.

Leave in the still warm oven for another 10-15 minutes until dry. Monitor the biscuit as you do not want it to get very dark. Take then out of the oven again and let it cool.

Soon it will be ready to enjoy.

Ready to be eaten!

]]>
http://www.francescopetruccione.com/research/feed 0 63
Tim’s Bittman Chinese Chicken with Bok Choy http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Sun, 05 May 2013 13:04:57 +0000 http://www.francescopetruccione.com/?p=40 It has been a while, since I updated the blog. This does not mean that we have not been eating! On the contrary, Tim’s steaming chicken is now a classic in our household.

A quick review of the ingredients: 2 T Tamari, 1T Ginger, 1/2 c grapeseed oil, 1/4 c chopped scallion, 2 chicken breasts and pak choi (Tim uses bok choi).

Ingredients for the dish
Ingredients for the Bittman chinese chicken with bok choi.

The preparation is straightforward. Preferably, you start with the sauce the night before, but a last minute job does the trick. Just combine tamari, the grated ginger, the chopped scallions and the oil and let it sit until the chicken is ready.

The tamari, ginger and scallion sauce.
The tamari, ginger and scallion sauce.

Now, cut the chicken breasts in halves (lengthwise) and place them in the steamer.

The chicken in the bamboo steamer.
The chicken in the bamboo steamer.

On the second level of the steamer you place the pak choi.

The pak choi in the second level l of the steamer.
The pak choi in the second level l of the steamer.

The chicken should cook in 15 minutes  (check before serving) and dinner is ready.

The Bittman chinese chicken with pak choi.
The Bittman chinese chicken with pak choi.

 

]]>
http://www.francescopetruccione.com/research/feed 0 40
Tim Ferriss 2: Middle Eastern Scrambled Eggs http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Sat, 24 Nov 2012 13:04:17 +0000 http://www.francescopetruccione.com/?p=27 Every good morning should start with an egg dish, Tim says! A Saturday morning seems perfect to create recipe No. 2: Scrambled eggs. After a brief consultation the Middle eastern variation was the only technically possible option. All you need is eggs (I used 5, instead of the recommended 4), dried parsley, 1 lemon, salt and pepper.

Ingredients for scrambled eggs (to serve 2)

The whisk is not necessary and was not used, as the eggs can be scrambled in the pan with a spatula. One confession and one admission: Instead of grapeseed oil I used butter; Tim’s trick with the lemon juice works like a charm (not even Darina knows!).

The lemon juice hack: roll the lemon on a surface, cut a small slid on the side, and squeeze!

The procedure is simple and straightforward: temper the eggs (bring them to room temperature), low heat, give the eggs a stir once a minute, add salt, pepper and the parsley. Just before they are ready add the lemon juice and stir once more. Monique could not resist the temptation of preparing  a few slices of bacon in parallel. And this is the final product.

Middle Eastern Scrambled Eggs with Bacon (Monique’s creative contribution!).

A hint of citrus and scattered parsley are a perfect combination for soft creamy scrambled eggs.

]]>
http://www.francescopetruccione.com/research/feed 0 27
The Tim Ferriss Challenge http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Fri, 23 Nov 2012 18:20:55 +0000 http://www.francescopetruccione.com/?p=19 Tim Ferriss has just published his latest book “The Four Hour Chef” and the challenge is on: Cook all the recipes!

And here is the report on the first experiment: Osso Buko (yes with k). All you need is here

All you need for Osso Buko: Lamb shanks, carrots, can of peeled tomatoes, a bottle of white wine, garlic cloves, olive oil, salt and pepper.

The procedure is very simple. Tim recommends to use a Dutch Oven. As we do not have one at home, we put everything in our Le Creseut Casserole: first the carrots, then the lamb shank. You cover it all with the tomato and the wine, add the garlic and a splash of olive oil, a good grinding of black peppercorns, sprinkle the salt and into the oven at 180C.

First the carrots

… then the lamb … 

… add the canned tomatoes, the wine, the garlic, the salt and freshly ground black pepper and ready to go in the oven.

And here it is 2 hours later!

Just out of the oven.

and ready to be served

The Osso Buko is ready for dinner.

and eaten. Considering that it is a very simple recipe it turned out to be a great dish. It could have spent some more time in the oven. Probably, not using the proper cookware needs some more time. It was delicious and we are looking forward to eating the leftovers!

]]>
http://www.francescopetruccione.com/research/feed 0 19
Recent lion kill in the Hluhluwe Game Reserve http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Mon, 06 Feb 2012 19:00:00 +0000 http://www.francescopetruccione.com/?p=10

]]>
http://www.francescopetruccione.com/research/feed 0 10
Here we are again http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Wed, 13 Apr 2011 19:46:01 +0000 http://www.francescopetruccione.com/?p=3 managed to upgrade, eventually

]]>
http://www.francescopetruccione.com/research/feed 0 3
Hello world! http://www.francescopetruccione.com/research http://www.francescopetruccione.com/research#respond Mon, 07 Feb 2011 23:46:51 +0000 http://www.francescopetruccione.com/?p=1 Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

]]>
http://www.francescopetruccione.com/research/feed 0 1