Skip to content

Instantly share code, notes, and snippets.

@BHazel
BHazel / QuantumComputingConcepts.qs
Created April 6, 2021 22:19
Demonstrates core concepts of quantum computing using the Microsoft QDK and Q#.
namespace BWHazel.HelloQuantum.Concepts {
open Microsoft.Quantum.Arrays;
open Microsoft.Quantum.Canon;
open Microsoft.Quantum.Convert;
open Microsoft.Quantum.Intrinsic;
open Microsoft.Quantum.Measurement;
/// # Summary
/// This is a quick taster of the concepts of quantum computing
@BHazel
BHazel / RotatingRectangles.as
Last active December 27, 2015 19:49
Simple Flash animation demonstrating how to draw and rotate randomly positioned, shaped and coloured rectangles on a randomly coloured background.
package uk.co.bwhazel.applets.rotatingrectangles
{
import flash.display.Shape;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.events.TimerEvent;
import flash.utils.Timer;
/**