This document lists what should be installed on a clean macOS for the best software development experience.
Chrome:
https://www.google.com/chrome/
Vimium:
This document lists what should be installed on a clean macOS for the best software development experience.
Chrome:
https://www.google.com/chrome/
Vimium:
# Make an annotated, GPG-signed tag | |
git tag -s 0.1.0 -m "Version 0.1.0" -m "Another message line" | |
# List the tags (up to 10 lines) | |
git tag -n10 | |
# https://git-scm.com/docs/git-tag |
# Configure default name and email | |
git config --global user.name "<Firstname> <Surname>" | |
git config --global user.email <email> | |
# Sign commits by default | |
git config --global commit.gpgSign true | |
# Sign tags by default | |
git config --global tag.gpgSign true |
using System; | |
using System.Threading.Tasks; | |
using System.Collections.Generic; | |
using Microsoft.Quantum.Simulation.Simulators.QCTraceSimulators; | |
using TestTraceSimulator; | |
namespace host | |
{ | |
static class Program | |
{ |
namespace TestExp { | |
open Microsoft.Quantum.Intrinsic; | |
open Microsoft.Quantum.Math; | |
open Microsoft.Quantum.Arrays; | |
open Microsoft.Quantum.Diagnostics; | |
// A shortened version of the `Exp` operation when all the Paulis are | |
// `PauliZ`: | |
// https://github.com/microsoft/qsharp-runtime/blob/70c881d8b93f290bca6145fb5fda28e5dbc57827/src/Simulation/TargetDefinitions/Decompositions/ExpFromExpUtil.qs#L25-L40 | |
operation MyExpZ(theta : Double, qubits : Qubit[]) : Unit is Adj + Ctl { |
Note - the latest version of the post is available on:
https://jond01.github.io/blog/expressing-quantum-programs-in-qsharp-and-openqasm
Jonathan Daniel, 5 December 2021.
With the rising popularity of quantum computing over the past years, open-source frameworks for developing quantum programs mature and form substantial ecosystems around them. Microsoft's Quantum Development Kit (QDK) and Qiskit by IBM are two major open-source frameworks. They present different approaches and tools for developing quantum algorithms and executing them on simulators or quantum hardware. However, since their goal and audience overlap, the two frameworks share many similarities. This blog post focuses on the main quantum programming languages of the two frameworks: Q# (QDK) and OpenQASM (Qiskit).
import os | |
import itk | |
import numpy as np | |
import pandas as pd | |
from orientations_utils import ornt_list, ornt_direction_dict, is_right_handed_ornt, direction2ornt | |
from itk_utils import set_image_direction, get_image_direction | |
''' | |
python 3 script for adding day in week and hours data from shnaton | |
to each of avnei pina (ap) courses (HUJI) | |
The script output is both html table and xlsx file | |
author: Jonathan Daniel | |
Oct-2017 | |
''' | |
import requests | |
from bs4 import BeautifulSoup | |
import pandas as pd |