QuantC: language and compiler for quantum computing